Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Add the days to a particular date

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

Tags:
replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question