‎2007 Aug 21 1:12 PM
Hi all,
How can I add 3 days to a specific date? Like adding 3 days to SY-DATUM? THanks in advance.
‎2007 Aug 21 1:13 PM
Just do + 3
it will give u next date after three days.
Regards
Azad.
Reward if helpful.
‎2007 Aug 21 1:13 PM
Hi,
You can do that like this.
DATA: dat type sy-datum.
dat = sy-datum + 3.
write: dat.
Regards,
Sesh
‎2007 Aug 21 1:15 PM
Hi,
If you just want to add calendar days, then all you need to do is add the days to the date. Assuming that GS_DATE is type as a date field, the system will handle adding and subtracting in this way.
gs_date = gs_date + 03.
Or use this..
call function 'RP_CALC_DATE_IN_INTERVAL'
exporting
date = sy-datum
days = 3
months = 0
signum = '+'
years = 0
importing
calc_date = wa_date.
reward if it helps..
regards,
Omkar.
Message was edited by:
Omkaram Yanamala
‎2007 Aug 21 1:16 PM
‎2007 Aug 21 1:16 PM
Hi
directly add 3
for ex
data x type sy-datum.
x = sy-datum.
x = x + 3.
x has 24.08.2007
Regards
sandhya
‎2007 Aug 21 1:26 PM
Hi
DATA: date type sy-datum.
date = sy-datum + 3.
reward points to all helpful answers
kiran.M
‎2007 Aug 21 1:26 PM
‎2007 Aug 21 4:22 PM