Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Date Calculation

Former Member
0 Likes
894

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

8 REPLIES 8
Read only

Former Member
0 Likes
859

try this

RP_CALC_DATE_IN_INTERVAL

Read only

Former Member
0 Likes
859

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

Read only

0 Likes
859

RP_CALC_DATE_IN_INTERVAL is available in 4.7n

Read only

Former Member
0 Likes
859

hi priya,

tel me ur actual requiremnt..

With Regadrs,

S.Barani

Read only

Former Member
0 Likes
859

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.

Read only

Former Member
0 Likes
859

Hi.

Function module

FIMA_DATE_CREATE_WITH_KEY_DAY

should fulfill your requirement.

Regards,

Timo.

Read only

Former Member
0 Likes
859

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

Read only

0 Likes
859

Did you try CCM_GO_BACK_MONTHS ?

~Suresh