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: 

financial year

Former Member
0 Kudos

hi i have to derive beginning of financial year from system date.

e.g. if my system date is 21.04.2008 , my beginning of financial year will be 01.04.2008.

how to derive this ?? is there any function ??

5 REPLIES 5

Former Member
0 Kudos

Try this method

take the month let it be M.

take the year let it be Y

new date = ND

IF M GE 10.

ND+4(2) = M- 9.

ND0(4) = Y 1.

ELSE.

ND+4(2) = M + 3.

ND+0(4) = Y.

ENDIF.

Former Member
0 Kudos

hi the financial years for a given client will be stored in table T7PM9 get the data from this table ..

regards,

venkat.

Former Member
0 Kudos

try to use this function module to get the beginning of the fiscal year : RS_VARI_V_1_ACTUAL_MONTH

Reward if it useful.

Dara.

Former Member
0 Kudos

You can use the Function Module

ZPSN_GET_PERD_YEAR_FROM_DATE

to get the financial year from calender year.

The FM returns the Financial Period and Financial year based on the

Calender date given as the input.

Former Member
0 Kudos

Hi,

Use the below code.

DATA: V_DATE TYPE SY-DATUM.

V_DATE = SY-DATUM.

IF V_DATE+4(2) > '03'.

CONCATENATE V_DATE+0(4) '04' '01' INTO V_DATE.

ELSE.

V_DATE0(4) = V_DATE0(4) - 1.

CONCATENATE V_DATE+0(4) '04' '01' INTO V_DATE.

ENDIF.

WRITE:/ V_DATE.