‎2007 Jun 12 4:06 AM
Hi all,
i have to add 2 for the given date..
for example if i give the input as 01/02/2007
i need the outout as 03/02/2007
if i give the input as 31/01/2007
i need the output as 01/02/2007
please help me regarding this...
Thanks,
Navaneeth.
‎2007 Jun 12 4:26 AM
Hi ,
Use the standard function module.
DATE_IN_FUTURE
Regards,
IFF
Note: Reward Suitable points.
‎2007 Jun 12 4:08 AM
‎2007 Jun 12 4:11 AM
HI,
try this code
data: a type sy-datum,
b type sy-datum.
a = sy-datum.
b = a + 20.
write: / a , b.
regards,
venkatesh
‎2007 Jun 12 4:13 AM
try in date in write statement
write 😕 date as mm/dd/yyyy. check the syntax
‎2007 Jun 12 4:26 AM
Hi ,
Use the standard function module.
DATE_IN_FUTURE
Regards,
IFF
Note: Reward Suitable points.
‎2007 Jun 12 4:31 AM
‎2007 Jun 12 4:33 AM
Hi navaneethan,
Just declare the date as sy-datum and add or delete numbers system will take care.
Example :
data : w_date type sy-datum,
w_rdate type sy-datum.
w_rdate = w_date + 2.
This will do.