Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM to determine date of fiscal month end as defined by accounting calender

Former Member
0 Kudos
99

Hi

can you tell me any function module to determine date of fiscal month end as defined by accounting calender.

Regards

Muhammad Ansari

1 REPLY 1

anversha_s
Active Contributor
0 Kudos
70

hi,

use GM_GET_FISCAL_YEAR

or.

CALL FUNCTION 'GET_CURRENT_YEAR'

EXPORTING

BUKRS = '1000' " Company Code

DATE = SY-DATUM " Date to find fiscal year for

IMPORTING

CURRM = w_currm " Current Fiscal Month

CURRY = w_curry " Current Fiscal Year

PREVM = w_prevm " Previous Fiscal Month

PREVY = w_prevy. " Previous Fiscal Year

rgds

Anver