Mfbf Badi RM_BFLUSH_GOODSMVT

Hi;
i'm trying to write a text into documents item text (SGTXT) in method
MODIFY_GOODSMVT_AFTER_DIALOG
    loop at ch_imseg into ls_imseg.
      move vard to ls_imseg-sgtxt.
      ls_imseg-vstat = 'V'.
      modify ch_imseg from ls_imseg.
    endloop.
but it does not write the text on document
but if i change the quantity field it affects document
why ?

Hi, Mustafa!
Did you solve your problem?
I tried to use this BADI to write cost center to 261 movement type (field CH_IMSEG-KOSTL), but it was not changed and I did not get statistical post to the cost center. I think this BADI can change only fields that changeable in MFBF screens.

Similar Messages

  • Error Message in MFBF

    Dear Sirs,
    In MFBF, I am getting warning message no. RM124 - 'backflush qty > planned order qty'. I want to convert this message into Error Mesasge. How to convert this warning message into error message?
    Thanks,
    Sachin

    Dear Sachin..
    use following BaDI for this msg to convert in to error msg.
    BAdI RM_BFLUSH_GOODSMVT
    put a check with the help of ABAPer..
    if ERFMG > PLNUM
    then system gives this error msg.
    plz revert me if it works
    Regards
    Anupam

  • MFBF - issue with Planned quantity graeter than Backflush quantity

    Hi Experts,
    In MFBF, I am getting warning message no. RM124 - 'backflush qty > planned order qty'. I want to convert this message into Error Mesasge. How to convert this warning message into error message?
    The background is the backflush quantity field in MFBF is enabled,so you can make any changes as possible with the quantity.For instance,in MTS,it allows you to post with out warning whereas in MTO it does allow but with warning.I feel this is a generic problem in MFBF transaction.There must be some note on this....
    Am aware of the BADI ' BAdI RM_BFLUSH_GOODSMVT ' am not interested in this BADI....................*is there any SAP note avail on this ?Though i did checked in portal but not successful.
    Any inputs would be highly appreciated.Points assured.
    Best Regards
    Afroz

    HI
    Check SAP notes 527715 and 489898
    Hope it will help u
    Regards
    Anupam  Sharma

  • 'TO BATCH' ENTRY IN MFBF

    Dear Expert,
                We have maintained more than one VALUATION TYPE in our
    production related material masters(SEMI FINISHED & FINISHED ASSEMBLIES). So while doing Production Confirmation in MFBF, system is proposing all the related Valuation Types of that Header Material in 'To Batch' field.
    Our Valuation Types are parrallel with our Plant Codes i.e. if we are confirming production for a material in plant 1100 then Valuation Type will be same 1100. More than one Valuation type is opened in Material Masters because different plants are producing the same products.
    Now the problem is User is confirming the production in MFBF with wrong Valuation Type in 'To Batch' entry. So we want that as default Plant Code will be picked up in 'To Batch' field after mentioning Material & Plant code in MFBF.
    We are waiting for your positive response.
    Thanks & Regards,
    Pradeep Luhach
    SAP-PP

    Hi Pradeep,
    Ask your technical consultant to add logic for this either in user exit or BADI.
    User Exit - XMRM0001
    BADI - RM_BFLUSH_GOODSMVT( applicable to ECC 6.0)
    Let me know if you solve this.
    Thanks & Regards,
    Dhanamjaya

  • Exits in MFBF Screen

    Hi Experts
    I have used one BADI (RM_BFLUSH_GOODSMVT) in MFBF screen and created a new screen in MFBF in which I am capturing some additional data like "Shift", "Die No." etc. and storing it in a Z Table.
    When I reverse my Backflushing entry through MFBF (reversal Push Button) which calls MF41 transaction, my documents are reversing but my customized table entries are not reversing (fine enough because the BADI is not for that purpose).
    Now, I am looking for an exit which for transaction MFBF or MF41which I can use to reverse the data in my Z table.
    I have used "XMRM0001" but it is resetting my screen data and i am not able to go further.
    Can anybody suggest me some EXIT or BADI which I can use in MFBF or MF41 to reverse the entries in Z Table.
    Thanks in Advance.....
    Vineet

    Dear Vineet,
    Assume through the customized MFBF screen you are doing confirmation and you are using a BAPI for confirmation and
    populating the confirmation details in a Z table (including the Z fields like shift,mould No, etc and the confirmation no details).
    Now check using this BAPI  - BAPI_REPMANCONF1_CANCEL by passing the confirmation no in the input screen for this reversal
    (assuming you have developed a screen for reversal) and write the coding logic in such a
    way that if any confirmation number is called for this BAPI (taking from the already existing Z table) then after successful reversal
    this entry should get deleted from the existing Z table(by linking the confirmation no entry alone) and populate it in a newZ table for
    the reversed entries.
    Check and revert back.
    Regards
    Mangalraj.S

  • MFBF exit?

    Hello
    experts
    I have ba requirement that in tcode mfbf the user cannot post in previous day comparing with current date
    .If posting date is less than 3 days from current date posting wil not happen i have wriiten the code in the folowing exit XMRM0001 in FM  EXIT_SAPLBARM_001.
    But the problem happening that it is being restricted but when the correct date is given all the data from the screen is going.and no material ifs found.
    Please help.
    I have to deliver the project soon.

    BADi:RM_BFLUSH_GOODSMVT
    Method:MODIFY_GOODSMVT_BEFORE_DIALOG
    MODIFY_GOODSMVT_AFTER_DIALOG

  • Goods Receipt in future Date

    Hi,
    Please tell me if i can restrict the production order for doing GR for a future date???
    If today is 22/10/2009, and i am trying to give the posting date in MIGO as 25/10/2009 then system should restrict it.
    Thanks

    HI
    Check this Badi   WORKORDER_GOODSMVT
    In REM  i have achieved the same with the help of BAdi RM_BFLUSH_GOODSMVT.
    Check the first one with the help of ABAPer
    Regards
    Anupam Sharma

  • OpenSourceProject XLINK needs helps!

    Hello,
    in the forum Codeexchange we are discussing how a new holistic SOBJ-based XML subversion infracstruce could look like.
    Re: ... XLINK :: new foundation for CodeExchange ...
    We can generate a XML from a transport request, but we are stuck we I comes to XML to transport binaries format.
    Any help are greatly appreciated for US and the rest.
    All the best,
    Guido
    Edited by: Guido Brune on Jan 7, 2011 5:32 AM

    HI
    For any wrong goods movement you can do in OPK4 for your order type and under the general indiv entry select both goods mvt and termination for incorrect goods mvt under Error handling/logs.
    also check this thread
    Confirmation
    also check the BAdi
    RM_BFLUSH_GOODSMVT
    WORKORDER_GOODSMVT
    check and implement with the help of your ABAPer
    Check and revert
    Regards
    Anupam Sharma
    Edited by: anupam sharma on Jan 23, 2010 4:06 PM

  • Default Valuation type in REM backflush.

    Hi,
    In the configuration for split valuation (OMWC), for valuation category H (HALB), a batch HM has been defined as - Default: valuation type "in-house production" (DVT InhPr).
    This means, for inhouse manufacture, system proposes this valuation type as default.
    When, I create a production order for a material with this valuation type, system proposes valuation type HM for the given plant.
    Where as, while doing REM backflushing for a material with this valuation type, system does not propose valuataion type automatically.
    Why is it so?
    Is there any other setting?
    Is there any note for this?
    Thank You,
    -Madhavi.

    Hi,
    Apply following  BADI
    Goods Movements in Backflushing (Repetitive Manufacturing) BAdI RM_BFLUSH_GOODSMVT
    Regards,
    Sanjay

  • BADI or Exit for MFBF Tcode

    Hi Experts,
    I need to do difference calculation in posting date and document date. I have made the code but not able to find exact BADI or exit for MFBF tcode.
    BADI i searched - RM_BFLUSH_GOODSMVT
    EXIT ???
    Please suggest, where I have to put below code so that when user put dates into this, then it will not allow him to get more than 7 days.
    data:  d_days like po347-scrdd,
         budat like mkpf-budat,
         bldat like mkpf-bldat.
    budat = rm61b-budat.
    bldat = rm61b-bldat.
    CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
      EXPORTING
        I_DATUM_BIS                   = budat
        I_DATUM_VON                   = bldat
       I_STGMETH                     = '2'
    IMPORTING
       E_TAGE                        = d_days
    if d_days > 7 .
      message 'date exceeds' type 'E'.
      elseif d_days < 0.
      message 'document date should be greater than posting date' type 'I'.
    endif.
    Please suggest experts,
    Thanks.
    Deepanshu

    Hi,
    Include - LBARMFS1
    FORM - FORM get_hr_data .
    Create a implicit enhancement in the beginning of above mentioned form FORM get_hr_data and put below code inside that.
    FORM get_hr_data.
    ENHANCEMENT 1 ZTEST_TEST.
    data:  d_days like po347-scrdd,
         budat like mkpf-budat,
         bldat like mkpf-bldat.
    budat = rm61b-budat.
    bldat = rm61b-bldat.
    CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
      EXPORTING
        I_DATUM_BIS                   = budat
        I_DATUM_VON                   = bldat
       I_STGMETH                     = '2'
    IMPORTING
       E_TAGE                        = d_days
    if d_days > 7 .
      message 'date exceeds' type 'E'.
      elseif d_days < 0.
      message 'document date should be greater than posting date' type 'I'.
    endif.
    ENDENHANCEMENT.
    BR,
    Vijay

  • User Exit or BAdI available for transaction MFBF

    Hi all,
         Is there any BAdI or User Exit available for Trasaction MFBF to change the workcentre type? if possible could anyone help me out in figuring out the the Exit.
    Answers will be rewarded
    Cheers,
    Prashanth

    check...
                                                                                    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    PTRM0001                                User Exit for Lead Column in REM Planning Table                
    SAPLRMPU                                Customer Exits for Material Staging                            
    XMRM0001                                User exits: Backflushing in Repetitive Manufacturing                                                                               
    Business Add-in                                                                               
    CIF_RM_PPR_DISTRIB                      Distribution of Postprocessing Records in APO                  
    FCO_CO_FUNCTIONS                        CO Functions for Failure Costs                                 
    FCO_CUSTOMER_SPECIF                     Failure Costs: Customer-Specific Enhancements                  
    FCO_RM_FUNCTIONS                        Failure Costs: Enhancements in Repetitive Manufacturing Area   
    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 Dependent Reqmts

  • Adding field in MFBF

    Hi,
    I have to add one field under tab Make-To-Stock   in MFBF transaction
    Pls suggest me.
    Thanks in advance

    hi,
    check according to ur requirement
    Enhancement
    PTRM0001                                User Exit for Lead Column in REM Planning Table
    SAPLRMPU                                Customer Exits for Material Staging
    XMRM0001                                User exits: Backflushing in Repetitive Manufacturing
    Business Add-in
    RM_PERFORMANCE_DREQ                     Performance Improvement in New Distrib. of Dependent Reqmts
    RM_MF50_ROWS                            BAdI for Hiding Lines in the Planning Table
    RM_LIST_PRODUCTION                      BAdI for Printing Production Settings
    RM_HR_INTEGRATION                       HR Integration of REM Backflush
    RM_BFLUSH_GOODSMVT                      BAdI: Goods Movements in Backflush -Repetitive Manufacturing
    FCO_RM_FUNCTIONS                        Failure Costs: Enhancements in Repetitive Manufacturing Area
    FCO_CUSTOMER_SPECIF                     Failure Costs: Customer-Specific Enhancements
    FCO_CO_FUNCTIONS                        CO Functions for Failure Costs
    CIF_RM_PPR_DISTRIB                      Distribution of Postprocessing Records in APO
    Yogesh N

  • How to add custom fields in BADI  Subscreen.

    Hi Friends,
    I have to include some custom fields in MFBF tcode.(In make-to-order tab page).
    To do that I have used RM_HR_INTEGRATION  BADI definition  and created implementation for this. In the provided subscreen I tried to add custom fields but it asks access key . I donu2019t know , how to proceed further. Your help is needed.
    Or kindly provide me solution to achieve my requirement.
    Thanks in Advance,
    senthil.

    Hi Venky,
    We can see the documentation in
    se18 -> badi -> LE_SHP_TAB_CUST_HEAD -> display -> documentation button above the definition name
    in the first pop-up of documentation..go to the end which says 'Further notes'
    Further notes
    Documentation on BAdI Interface LE_SHP_TAB_CUST_HEAD
    click on this and we have a detailed description of each method defined in the badi
    Hope it helps
    Regards
    Byju

  • MFBF transaction help required for variant creation

    Dear experts,
    We have a requirment in using MFBF transaction.
    In assembly backflush tab after entering everything and pressing 'Post with correction button'
    a grid opens.Here we want quantity to be disabled.
    Second we click component backflush tab and after entering data and press
    'process component list' button.Here we want the same grid that we get should have quantity
    enabled.
    I tried using transaction variant and find it responding one way either enabled in both or diabled in both.
    That doesnot meet my purpose.
    Plz tell me some way. Can i use badi to do such stuff ?

    Dear experts,
    I dont know whether its a bug with sap or not,they may conclude themselves.For the time being
    i tried userexits
    EXIT_SAPLBARM_001
    EXIT_SAPLBARM_002
    EXIT_SAPLBARM_003
    EXIT_SAPLBARM_004 IN enhancement XMRM0001
    I activate my projects without any coding on these exits but only breakpoints statement.
    I find them stucking at breakpoints on activation which is what i want .
    But what happens at last is despite without any single piece of code on these exits
    i get information message dialog
    No components Found.Continue without components  ?
    If i say 'yes',i see a blank grid and otherwise material posted without document.
    Why such a behaviour ??

  • Error when posting date in future in MFBF of REM

    Good day,
    System should give an error when the posting date is in future while doing Backflush thru MFBF in REM(repetitive mfg)
    Suggest...............

    HI
    Also check this BAdi. WORKORDER_GOODSMVT
    i have implemented the  same with one of these two BAdi but sorry not remember which one i have used. but sure with one of these two can solve your issue both in MFBF and MF42N.
    code goes some thing  like sys-date>posting date BUDAT system gives error posting in future is not possible
    Regards
    Anuapam Sharma

Maybe you are looking for

  • Soap response with envelope

    Hi My PI server is able to make a soap call to the SFDC ( webservice ) ...however the response that is received within PI has a SOAP envelope...and hence the response mapping is going in error....because the source data type in response mapping doesn

  • Differences between legend in png and pdf output

    Hello, i noticed that there is a difference in the legend output of a transparent color style between a png and a pdf output in MapViewer version Ver11_B071001. Lets say i have a sytle with 50% opacity like this: <?xml version="1.0" standalone="yes"?

  • ORA-29279: SMTP permanent error: 554 5.5.1 Error: no valid recipients

    Hi , Following error msg coming when notification was sending to mail . ORA-29279: SMTP permanent error: 554 5.5.1 Error: no valid recipients Please advise how to clear this error. Thanks&Regards Ranganath Konikineni

  • My problems with Oracle Schema Processor for C++ :(

    Dear ;) Oracle XML team and others, the followings are really inconvenient with the C++ schema processor: -it doesn't even support the Candidate Recommendation (OK, the Java version does support it, and you can use XSU and upgrade your schemas later

  • Need "slendro style reporter" plugin downlond link

    Hi All, If you any one knows the download link for the plugin "Slendro style reporter". Please give it to me. I am trying to download the Demo version, but this site http://www.slendro.com/ gives access to only buy the product. The direct download li