Application Development and Automation 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: 
Read only

Fiscal year

Former Member
0 Likes
371

Hi Experts,

<b>

Is there any funtion module to obtain the present fiscal year.</b>

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
351

Hi,

Here is the function module which returns the Current Fiscal year

GET_CURRENT_YEAR

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

Regards

Mukesh Kumar

2 REPLIES 2
Read only

Former Member
0 Likes
352

Hi,

Here is the function module which returns the Current Fiscal year

GET_CURRENT_YEAR

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

Regards

Mukesh Kumar

Read only

Former Member
0 Likes
351

Hi,

Check this

<b>FI_PERIOD_DETERMINE</b> and

<b> FTI_FISCAL_YEAR_MONTH_GET</b>

Regards,

Padmam.