Computing for Previous Dates

Question: Hi guys,

I was just wondering if anybody knows a function module to compute for dates. For example I would want to know what date it is 32 days ago or what date is it 21 months ago.

Thanks,
Whiz

Answer:
try this site:

http://www.geocities.com/victorav15/sapr3/abapfun.html#date
_________________
My ABAP Program does what I tell it to do... not what I want it to do...

Answer:
Salamat.
Thanks.

Answer:
Or the book 'Common SAP R/3 Functions Manual' recommended in /forums/viewtopic.php?t=121982
Chapter 3 is just for Time and Date calculations.

I think the FM you are looking for anyway is RP_CALC_DATE_IN_INTERVAL which allows you to Add or subtract years/months/days to\from a date.

Answer:
Hi,

Have a look at FM SD_DEL_WAVE_SUBTRACT_TIME... it allows subtracting days, minutes and seconds (not months) from a date and time...

Hope it helps,
mr.
Copyright ?2007 - 2008 www.jt77.com