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 ADD Days

Former Member
0 Likes
1,008

Good Morning.

Is there any Function Module in where can add days to year of 360 days?

I am using the function module 'DATE_IN_FUTURE', but this add the days with year of 365 days,

Can someone help me?

Kind Regards

1 ACCEPTED SOLUTION
Read only

satinder_singh
Participant
0 Likes
896

Can you please elaborate your requirement. If the year is of 360 days, then the second year start from 1 Jan or 26 Dec of the last year ?? Maybe if you explain the requirement n more details we will be able to provide a suitable solution.

5 REPLIES 5
Read only

Former Member
0 Likes
896

Hi,

Check this link..https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/functionModulerelatedonDate+calculations

for the list of FM for Date Calculation.

Read only

0 Likes
896

But , I dont found this module function.

Kind regards

Read only

Former Member
0 Likes
896

You can simply add number of days to any date



data g_date type sy-datum.

g_date = sy-datum + 360.

write g_date.

regards,

Advait

Read only

satinder_singh
Participant
0 Likes
897

Can you please elaborate your requirement. If the year is of 360 days, then the second year start from 1 Jan or 26 Dec of the last year ?? Maybe if you explain the requirement n more details we will be able to provide a suitable solution.

Read only

Former Member
0 Likes
896

Thank You