We can find the first and last dates of the current Fiscal Period by using two funtional modules.
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
First, we have to call 'DATE_TO_PERIOD_CONVERT' importing sy-datum and Fiscal year variant.
Then call 'PERIOD_DAY_DETERMINE' importing the outputs from the previous functional module.
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = SY-DATUM I_PERIV = GC_PERIV IMPORTING E_BUPER = LW_BUPER E_GJAHR = LW_GJAHR. LW_MONAT = LW_BUPER. CALL FUNCTION 'PERIOD_DAY_DETERMINE' EXPORTING I_GJAHR = LW_GJAHR I_MONAT = LW_MONAT I_PERIV = GC_PERIV IMPORTING E_FDAY = LW_BEGDAT E_LDAY = LW_ENDDAT