Hi
You don't even need a customer exit. You just create two netsales definitions in your BEx query and use a calendaryear variable. Use the same in the second net sales and do an offset of -1. this way you get both 2013 and 2012.
hope that helps
Martin