Problem solve Get help with specific problems with your technologies, process and projects.

Get the first date of a fiscal period

We can find the first and last dates of the current Fiscal Period by using two funtional modules.

We can find the first and last dates of the current Fiscal Period by using two funtional modules.

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
		
		

Dig Deeper on SAP finance and accounting software

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchContentManagement

SearchHRSoftware

Close