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

function module reqd for fiscal period using current date

Former Member
0 Likes
1,850

Hi,

Is there any function module which gives fiscal period using current date.

Thnaks,

Maheedhar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,011

Hi Maheedhar,

Try the code below.

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,

Amit.

6 REPLIES 6
Read only

Former Member
0 Likes
1,011

hi

GM_GET_FISCAL_YEAR

regards

jana

Read only

JozsefSzikszai
Active Contributor
0 Likes
1,011

FM: DATE_TO_PERIOD_CONVERT

(you'll need company code as well)

Read only

Former Member
0 Likes
1,011

You can use

GET_CURRENT_YEAR

Esle

GM_GET_FISCAL_YEAR pass I_FYV = IN for India

Read only

Former Member
0 Likes
1,011

Hi

You can go for function module GM_GET_FISCAL_YEAR

but this will help you for a particular company code ACE_CHECK_FISCAL_YEAR

Arunima

Read only

0 Likes
1,011

Hi All,

I need small help. Is there any function module exist which gives fiscal period when i am passing current date.

Thanks,

Maheedhar

Read only

Former Member
0 Likes
1,012

Hi Maheedhar,

Try the code below.

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,

Amit.