11-29-2006 3:30 AM
hi experts,
can u tell me the function module for getting last date of the moth(i mean if i enter some date i should get last date of that month) eg: if i enter 12.1.2006 i have to get 31.1.2006
11-29-2006 3:34 AM
hi,
do this.
data: date_beg like sy-datum.
data: date_end like sy-datum.
CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'
EXPORTING
iv_date = sy-datum
IMPORTING
EV_MONTH_BEGIN_DATE = date_beg "start date
EV_MONTH_END_DATE = date_end " end date
.
rgds
Anver
11-29-2006 3:34 AM
11-29-2006 3:36 AM
HI ,
Please Use the Function Module
REAL_ESTATE_CALC_DATE_SLST
Pass the Date Moth Offset as Zero In out put Check the Field E_DATE_MONTH_END
Please Mark useFul Answers
11-29-2006 3:43 AM
Hi naveen,
Use below FM.
"RP_LAST_DAY_OF_MONTHS " .Give any date in that month as input .you will get last day of month.
Pls. reward points if this is useful answer.
11-29-2006 4:00 AM
Hi,
Use the FM:
<b>RP_LAST_DAY_OF_MONTHS</b>
Determine last day of month
Hope this helps.
Reward if helpful.
Regards,
Sipra
11-29-2006 5:27 AM
SG_PS_GET_LAST_DAY_OF_MONTH
RE_LAST_DAY_OF_MONTH
HR_HCP_GET_LAST_DAY_OF_MONTH
HRVE_LAST_DAY_OF_MONTH
RP_LAST_DAY_OF_MONTHS
SLS_MISC_GET_LAST_DAY_OF_MONTH
LAST_DAY_OF_MONTHS
WSAF_GET_LAST_DAY_OF_MONTH
Try with any one of the above.
Hope helpful
BR,
Ravi
11-29-2006 5:30 AM
11-29-2006 5:31 AM
Hi,
Please close the thread if the problem is solved..
Thanks,
Naren