‎2007 Oct 15 7:23 AM
Hi friends,
i want to calculate next 2 months dates from current date.
Is there any function module for that?
Thanks,
Prashant
‎2007 Oct 15 7:26 AM
‎2007 Oct 15 7:30 AM
‎2007 Oct 15 7:27 AM
Hi,
Use FM CALCULATE_DATE.
But the START_DATE needs to be passed as YYYYMMDD
Regards,
Himanshu
‎2007 Oct 15 7:28 AM
<b>CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
EXPORTING
date = DATE
days = 0
months = 01
signum = '+'
years = 0
IMPORTING
calc_date = DATE.
It will add 1 month to your date,
Hope this helps!!</b>
‎2007 Oct 15 7:31 AM
hi prashant,
you can use the following function modules.
CALCULATE_DATE : Calculates the future date based on the input .
RP_CALC_DATE_IN_INTERVAL : Add days / months to a date.
reward if useful..
‎2007 Oct 15 7:31 AM
Hi Prashant,
You can try FM, RE_ADD_MONTH_TO_DATE or RP_CALC_DATE_IN_INTERVAL
Reward if Useful.
Regards,
Chitra