‎2007 Jul 05 3:48 PM
hi
i want the print the date field. that should be calulate like this( sy-datum + 13 ).
how i do this using thing. i want the name of the function module which deal with this kind of scenerio.
plz, reply me..
‎2007 Jul 05 4:04 PM
Hi,
If you want to use FM, then try FM RP_CALC_DATE_IN_INTERVAL.
data: wa_date like sy-datum.
call function 'RP_CALC_DATE_IN_INTERVAL'
exporting
date = sy-datum
days = 13
months = 0
signum = '+'
years = 0
importing
calc_date = wa_date.
write: / wa_date.
Regards,
Ferry Lianto
‎2007 Jul 05 3:53 PM
Hi,
To add 13 days to sy-datum , just add 13 days
data : V_date like sy-datum.
v_date = sy-datum + 13.
write : v_date.
‎2007 Jul 05 4:04 PM
Hi,
If you want to use FM, then try FM RP_CALC_DATE_IN_INTERVAL.
data: wa_date like sy-datum.
call function 'RP_CALC_DATE_IN_INTERVAL'
exporting
date = sy-datum
days = 13
months = 0
signum = '+'
years = 0
importing
calc_date = wa_date.
write: / wa_date.
Regards,
Ferry Lianto
‎2007 Jul 05 4:22 PM