06-15-2009 5:24 PM
06-15-2009 5:29 PM
Hi,
Use FM RP_CALC_DATE_IN_INTERVAL.
CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
EXPORTING
date = sy-datum
days = '00'
months = '00'
signum = '+'
years = '01'
IMPORTING
calc_date = v_new_date.
Cheers,
Vikram
06-15-2009 5:32 PM
Hi,
'RP_CALC_DATE_IN_INTERVAL' FM is not there in Function builder.
Regards
Srinu
06-15-2009 5:46 PM
Hi,
All this function module (RP_CALC_DATE_IN_INTERVAL) does is take the year part of the date and add (in this example) 1 to it. It then merges that back with the month and day of the current date.
You could do the same in a simple piece of code if the function is not available.
Regards,
Nick
06-15-2009 5:43 PM
DATA : new_date TYPE sy-datum.
CALL FUNCTION 'MONTH_PLUS_DETERMINE'
EXPORTING
months = '12'
olddate = sy-datum
IMPORTING
newdate = new_date.
WRITE 😕 new_date.
06-15-2009 5:46 PM
Hi,
I am working on CRM , 'MONTH_PLUS_DETERMINE' there is no function module in Function builder.
Regards
Srinu
06-15-2009 6:08 PM
Search the SCN ..as there are lot many threads you can find on the Date functionality.
Reported!!!