Skip to Content
author's profile photo Former Member
Former Member

Posting date in Tcode - MFBF

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 ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 18, 2009 at 10: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2009 at 09: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.