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
		
		
This was last published in April 2002

Dig Deeper on SAP financial management

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchHRSoftware

Close