10-16-2008 4:12 PM
Are there any global classes for date calculations. i.e. date in future, date in past, etc.
I'm looking for something that would be similar to function modules RP_CALC_DATE_IN_INTERVAL and others.
Thanks
10-16-2008 4:50 PM
10-16-2008 6:10 PM
I browsed around and found this beauty.
CL_HRPAD_DATE_COMPUTATIONS
It has 19 versatile static methods.
Tip to other Forum members:
Try using table SEOCLASSTX to search for possible classes.
I've considered it a shame that SAP doesn't provide a better way to help new users find appropriate classes. There's 67,000 global classes and hardly any documentation about them. Amazing.
The other thing I find amazing is that when I try the "where used" tool, I get a 'not found' 99% of the time. Amazing.
Oh well, that's enough of my minor rant.
10-17-2008 7:12 PM
Hello Ed
Thanks for your suggestion. Perhaps the following two classes (if available on your system) might be useful as well:
CL_RECA_DATE
CL_RECA_DATE_SLICES
Regards
Uwe