‎2006 Jun 01 11:28 PM
We need to write an ABAP program, which includes getting access to the Dates in a Transaction. These Dates are dynamically computed at run time, based on Date Rules, which are created when configuring Date Management in the IMG. Has anyone does this? Are there Function Modules, which are delivered to assist?
The way it works is that a date is entered, such as Start Date, then a Date Rule is chosen for End Date, adn teh system automatically computes the End Date and displays it in the transaction.
Our specific case is to get to the CRM system Opportunity Milestone dates; however, since IMG Date Management and Configuration is available in all SAP systems, I assume there are also other transactions in other SAP systems (R3, etc) which also dynamically calculate dates based on teh cofigured rules - so that is why I open this question out to anyone who may have been called upon to do similar Date calcluation programming.
‎2006 Jun 14 12:35 PM
hi Collins,
try this kind of FMs <b>RP_LAST_DAY_OF_MONTHS</b>
if i give any date to this FM it will give end date of that month.
if u want more like this search in se37.
Regards
Prabhu
‎2006 Jun 14 12:40 PM
SG_PS_GET_LAST_DAY_OF_MONTH
BKK_GET_MONTH_LASTDAY
SLS_MISC_GET_LAST_DAY_OF_MONTH
RE_LAST_DAY_OF_MONTH
check the above FM's.
Regards
vijay
‎2006 Jun 14 12:46 PM
Can you check below FMs
MM_LAST_DAY_OF_MONTHS
RE_LAST_DAY_OF_MONTH
RP_LAST_DAY_OF_MONTHS
SLS_MISC_GET_LAST_DAY_OF_MONTH
RS_VARI_V_1_LAST_MONTH
RS_VARI_V_LAST_MONTH
RS_VARI_V_L_LAST_MONTH
LAST_DAY_OF_MONTHS
rgds,
TM