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 for financial year

Former Member
0 Likes
5,959

Hi Experts,

Can Anyone please tell me any function module which will give the start date and end date of the current financial year.

For examle if i give sy-datum ( 28.01.2008 ) , i should get 01.04.2007 and 31.03.2008 as out put.

heplful answers will be rewarded..

Thanks And Regards

Sanoj

1 ACCEPTED SOLUTION
Read only

Former Member
3,376

You can get the current financial year using FM DATE_TO_PERIOD_CONVERT.

Then call FM FIRST_AND_LAST_DAY_IN_YEAR_GET to get the 1st and last day of the financial year.

4 REPLIES 4
Read only

Former Member
0 Likes
3,376

GM_GET_FISCAL_YEAR

GET_CURRENT_YEAR

Read only

Former Member
3,377

You can get the current financial year using FM DATE_TO_PERIOD_CONVERT.

Then call FM FIRST_AND_LAST_DAY_IN_YEAR_GET to get the 1st and last day of the financial year.

Read only

Former Member
0 Likes
3,376

Hi,

Use function module GET_CURRENT_YEAR to get the starting & ending, month and year for the fiscal year for a particular company code.

Later use the FM RP_LAST_DAY_OF_MONTHS to find the last day in the month.

Try to see the output in se37 for all the fm mentioned above.

First day for any month will always be '1' only

Regards,

Mayank

Please reward points if helpful.

Read only

0 Likes
3,376

Thank you bro