FM to get previous fiscal month/year and calendar month/year for a date.
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,