Skip to Content
Former Member
Oct 03, 2011 at 11:28 PM

Function Module to calculate period


Hi all,

I am looking for a function module to which I can send the current Period and Fiscal Year (I already have this information) and a number or petriods that I want to deduct as parameters.

Then I need to get back the result of the calculation:

Current Period and Fiscal Year minus(-) Number of Periods

I mean, the rest.

Suppose we are in period 3 of 2011, and I send 4 to the function module.

Then I need to get back Period 11 of 2010, since Period 3 of 2011 minus 4 periods is equal to Period 11 of 2010.

I hope I was clear enough.

Thanks in advance and king regards,