Skip to Content
0
Former Member
Feb 23, 2009 at 05:39 AM

FM to get previous fiscal month/year and calendar month/year for a date.

5243 Views

Hi All,

I am having a requirement to extract some data based on either the previous fiscal month/year or the previous calendar month/year. There is no company code input to find the fiscal/calendar month/year.

At selection screen, user can select either fiscal or calendar selection.

Based on the selection, the data will be extracted.

For the system date, we need to calculate previous fiscal month/year or previous calendar month/year and populate the calculated data back to the selection-screen.

Can you one of you please suggest an FM to find previous fiscal month/year and previous calendar month/year.

Thanks in Advance,

Regards

Gowthami