‎2007 May 21 3:28 PM
Hello everybody,
I need some help on finding a replacement function module for the previous one i.e.
'TP_CALC_DATE_IN_INTERVAL'.
I understand from ver 4.7 SAP has stopped supporting this, can any of you please let me know what is the equivalent of this in 4.7 and further versions.
Thanks
Priya
‎2007 May 21 3:30 PM
‎2007 May 21 3:34 PM
Hi,
I am not able to find RP_CALC_DATE_IN_INTERVAL in the function module list, are u sure it is there in 4.7
‎2007 May 21 5:22 PM
‎2007 May 21 3:35 PM
‎2007 May 21 5:16 PM
Hi,
One of reqs. i have is : if i have an input of 'no of months' and if i have to calculate back/forward the date from the system date/base date using the 'no of months' as input. how can i do that.
like i mentioned above the older function module would let us deduct or add months/days/years depending on the requirement. from a given date.
‎2007 May 21 5:24 PM
Hi.
Function module
FIMA_DATE_CREATE_WITH_KEY_DAY
should fulfill your requirement.
Regards,
Timo.
‎2007 May 21 6:20 PM
Raj,
i am still not able to find the FM ''TP_CALC_DATE_IN_INTERVAL' in the system i have 4.7.
Timo,
with ref. to the FM u have mentioned i.e. FIMA_DATE_CREATE_WITH_KEY_DAY
can you pls give me an explantion of the fields being used. i could make out some of it .
I_DATE --- this is the base date for calculation
I_KEY_DAY - ???
I_MONTHS - this is the no of months we have to go forward.
E_DATE - This is the result date
but what if i have to go backwards based on the months.
Thanks
‎2007 May 21 6:27 PM