2008 Sep 17 11:24 AM
Is there any method or function module where i can directly add 1 month to existing date.eg if today is feb1 i need the date as march1.adding 30 days does not work out.
2008 Sep 17 11:25 AM
2008 Sep 17 11:27 AM
for example u have ur date in l_date and u want to add 1 month to that, declare
l_1month type dats value '00000100' then perform l_date = l_date + l_1month
Regards
Farzan
2008 Sep 17 11:29 AM
Alternatively you can use SG_PS_ADD_MONTH_TO_DATE funciton module
Regards
Farzan
2008 Sep 17 11:29 AM
2008 Sep 17 11:29 AM
2008 Sep 17 11:29 AM
Hi,
check FM,
call function 'RP_CALC_DATE_IN_INTERVAL'
exporting
date = sy-datum
days = 0
months = 01
signum = '+'
years = 0
importing
calc_date = wa_date.
write: / wa_date.
2008 Sep 17 11:30 AM
Check the Function RP_CALC_DATE_IN_INTERVAL
There are many posts related to this..
2008 Sep 17 11:52 AM
Hi,
Just add 1 to the current month of your date variable like this.
add 1 to v_date+4(2).
regards,
Peter