‎2007 Feb 13 1:30 PM
Hi all,
Based on the current date i have to arrive at the 18 months before date.
Please can you guide me how to do it.
Thanks
Suresh
‎2007 Feb 13 1:36 PM
Hi,
See this FM
Data: v_date LIKE sy-datum.
CALL FUNCTION 'CCM_GO_BACK_MONTHS'
EXPORTING
currdate = sy-datum
backmonths = '18'
IMPORTING
NEWDATE = v_date
.
write v_date.
‎2007 Feb 13 1:32 PM
do this way
call function 'RP_CALC_DATE_IN_INTERVAL'
exporting
date = sy-datum
*days = 3
months = 18
signum = '-'
years = 0
importing
calc_date = wa_date.
‎2007 Feb 13 1:36 PM
Hi,
See this FM
Data: v_date LIKE sy-datum.
CALL FUNCTION 'CCM_GO_BACK_MONTHS'
EXPORTING
currdate = sy-datum
backmonths = '18'
IMPORTING
NEWDATE = v_date
.
write v_date.
‎2007 Feb 13 2:02 PM