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: 

Add the days to a particular date

Former Member
0 Kudos

Hi all ,

I got a date in my internal table .

I got a integer which holds certain no. of days .

I need to add that integer to the date .

like i got 10.10.08

integer is 5.

i have to get 15.10.08

pls let ,me know

regards

Raj

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Just add the integer to the date field..

Ex..

DATA: V_DATE TYPE SYDATUM.

V_DATE = SY-DATUM + 5.

Write: / 'Five days later the date will be, ', v_date.

Thanks

Naren

2 REPLIES 2

Former Member
0 Kudos

Hi,

Just add the integer to the date field..

Ex..

DATA: V_DATE TYPE SYDATUM.

V_DATE = SY-DATUM + 5.

Write: / 'Five days later the date will be, ', v_date.

Thanks

Naren

Former Member
0 Kudos

Hi,

This FM works.

RP_CALC_DATE_IN_INTERVAL.

Thanks,

Sree.