09-18-2009 10:21 AM
Hi friends,
In the transaction MFBF - posting date by default showing system date. Now my issue is it has to be changed only after 6..AM of next day.
EX : if posting date is - 17.09.2009 (ie, sy-datum) , this will change to 18.09.2009 only after 6.am of 18"th .
How can I handle this one ?
09-18-2009 10:28 AM
Hi GDNAYAK,
Try User exits for you requirement.
Exits
PTRM0001 User Exit for Lead Column in REM Planning Table
SAPLRMPU Customer Exits for Material Staging
XMRM0001 User exits: Backflushing in Repetitive Manufacturing
and BADIs
CIF_RM_PPR_DISTRIB Distribution of Postprocessing Records in APO
FCO_CUSTOMER_SPECIF Failure Costs: Customer-Specific Enhancements
FCO_RM_FUNCTIONS Failure Costs: Enhancements in Repetitive Manu
RM_BFLUSH_GOODSMVT BAdI: Goods Movements in Backflush -Repetitive
RM_HR_INTEGRATION HR Integration of REM Backflush
RM_LIST_PRODUCTION BAdI for Printing Production Settings
RM_MF50_ROWS BAdI for Hiding Lines in the Planning Table
RM_PERFORMANCE_DREQ Performance Improvement in New Distrib. of Dep
Regards,
Vijay
Edited by: vijay chavan on Sep 18, 2009 2:59 PM
09-18-2009 11:22 AM
Follow these steps.
1.Goto se80
2.Choose function Group BARM
3.Select screen 800 ( Initial screen in MFBF ). In PBO there are module(set_dynpro).
In module set_dynpro you can see the date passed by default.
IF rm61b-budat IS INITIAL.
MOVE sy-datlo TO rm61b-budat.
ENDIF.
IF rm61b-bldat IS INITIAL.
MOVE sy-datlo TO rm61b-bldat.
ENDIF.
4.Below that you can see this routine set_icon_and_frametitle. select that routine.
5.now the control moves to the form set_icon_and_frametitle of include LBARMFPN.
6.In the begining of the routine create an implicit enhancement and just add this code.
if sy-tcode = 'MFBF'.
if sy-uzeit < *060000*.
rm61b-budat = sy-datum - 1.
endif.
endif.
7.Save and activate.
please note the time considered here is the server time.The shift timing may vary.
Edited by: Keshu Thekkillam on Sep 18, 2009 3:53 PM