Badi in MiGO

Hello All,
After Goods receipt is issued, is there any BADI/user exit  to write a custom logic to perform a goods issue.

check any MB_MIGO_BADI equivalent screen exit in 4.6C

Similar Messages

  • User Exit or BADI for MIGO on entry of inbound delivery number

    Hi all,
    I want a user exit or BADI for MIGO, my requirement is that whenever a user enters an inbound delivery number and presses enter in MIGO the exit should get fired.
    Please help, if someone knows.
    Thanks and Regards,
    Mohammed.

    hi
    you can try out various BADI'S-
    MB_MIGO_BADI
    MB_MIGO_ITEM_BADI
    Helpful function modules:-
    MIGO_BADI_EXAMPLE
    MIGO_BADI_EXAMPLE_GET_DATA
    MIGO_BADI_EXAMPLE_GET_HEADER
    MIGO_BADI_EXAMPLE_PUT_DATA
    MIGO_BADI_EXAMPLE_PUT_HEADER
    MIGO_BADI_EXAMPLE_UPATE_DATA
    MIGO_BADI_EXAMPLE_UPDATE_HEAD
    I hope at least one of these helps.
    regards
    Aakash

  • USER EXIT or BADI for MIGO

    Hi friends,
    The Issue is:
    User tries to execute Migo with 103 or 101 movement.
    I want to throw an error if the posting date of the item is Before its original Delivery date in PO.
    I tried exit MBCF0005 and applied 'break-point' but its not going to debugger..
    Is there any other way i can overcome this issue ? BADI or any other Exit ?
    I just don't want user to save the document by throwing Error MSG.
    Regards
    Snehal

    Hi..
    Enhancement/ Business Add-in            Description
    Enhancement
    MB_CF001                                Customer Function Exit in the Case of Updating a Mat. Doc.
    MBCF0011                                Read from RESB and RKPF for print list in  MB26
    MBCF0010                                Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0009                                Filling the storage location field
    MBCF0007                                Customer function exit: Updating a reservation
    MBCF0006                                Customer function for WBS element
    MBCF0005                                Material document item for goods receipt/issue slip
    MBCF0002                                Customer function exit: Segment text in material doc. item
    Business Add-in
    MB_DOCUMENT_UPDATE                      BADI when updating material document: MSEG and MKPF
    MB_DOC_BADI_INTERNAL                    BAdIs During Creation of a Material Document (SAP Internal)
    MB_ME_CSGMT_BADI_SAP                    BAdI: Consignment Processing - Stock Transfer
    MB_MIGO_ITEM_BADI                       BAdI in MIGO for Changing Item Data
    MB_PHYSINV_INTERNAL                     Connection: Core Inventory and Retail AddOn
    MB_QUAN_CHECK_BADI                      BAdI: Item Data at Time of Quantity Check
    MB_RESERVATION_BADI                     MB21/MB22: Check and Complete Dialog Data
    MB_RESERVATION_SCR                      Screen BAdI for Retrofit DFPS
    MB_RESERVATION_UPCHD                    BAdI for Creation and Changing of Manual Reservations
    MB_RES_BAPI_CHANGE                      BAdI: Execution of Changes to Reservation Fields
    MB_RES_BAPI_CREATE1                     BAdI: Adoption of Customer's Own Fields as Reserv. Fields
    MB_RES_BAPI_DETAIL1                     BAdI: Display of Customer's Own Fields in Reservations
    MB_STOR_LOC_BADI_GTS                    BADI to Check and Change Storage Location (GTS Fct. Only)
    MB_MIGO_BADI                            BAdI in MIGO for External Detail Subscreens
    MB_DOCUMENT_BADI_SAP                    BADI for Creation and Changing of a Material Document
    ARC_MM_EBAN_CHECK                       BAdI: Enhancement of Archivability Check (MM_EBAN)
    ARC_MM_EBAN_PRECHECK                    BAdI: Enhancement of Archivability Check (MM_EBAN)
    ARC_MM_EBAN_WRITE                       BAdI: Enhancement of Scope of Archiving (MM_EBAN)
    ARC_MM_EINA_CHECK                       BAdI: Enhancement of Archivability Check (MM_EINA)
    ARC_MM_EINA_WRITE                       BAdI: Enhancement of Scope of Archiving (MM_EINA)
    ARC_MM_INVBEL_CHECK                     BAdI: Enhancement of Archivability Check (MM_INVBEL)
    ARC_MM_INVBEL_WRITE                     BAdI: Enhancement of Scope of Archiving (MM_INVBEL)
    ARC_MM_MATBEL_CHECK                     Prüfung ADD-ON-spezifischer Kriterien für MM_MATBEL
    ARC_MM_MATBEL_WRITE                     Check Add-On-Specific Data for MM_MATBEL
    MB_CHECK_LINE_BADI                      BAdI: Check Line Before Copying to the Blocking Tables
    MB_CIN_LMBMBU04                         posting of gr
    MB_CIN_MM07MFB7                         BAdI for India Version exit in include MM07MFB7
    MB_CIN_MM07MFB7_QTY                     Proposal of quantity from Excise invoice in GR
    MB_DOCUMENT_BADI                        BAdIs During Creation of a Material Document
    No.of Exits:          8
    No.of BADis:         29
    Arunima

  • EXIT OR BADI - TCODE MIGO

    Hello people..
    I need to fill the field of structure GOITEM-J_1BEXBASE before to save document.
    Somebody kwon exit or badi for this case??
    Thank´s...
    Marcus.

    Hi
    Welcome to SDN forum
    check the following exits and Badi's for MIGO
    Enhancement                                                                               
    MB_CF001                                Customer Function Exit in the Case of Updating a Mat. Doc.     
    MBCF0011                                Read from RESB and RKPF for print list in  MB26                
    MBCF0010                                Customer exit: Create reservation BAPI_RESERVATION_CREATE1     
    MBCF0009                                Filling the storage location field                             
    MBCF0007                                Customer function exit: Updating a reservation                 
    MBCF0006                                Customer function for WBS element                              
    MBCF0005                                Material document item for goods receipt/issue slip            
    MBCF0002                                Customer function exit: Segment text in material doc. item                                                                               
    Business Add-in                                                                               
    MB_RESERVATION_BADI                     MB21/MB22: Check and Complete Dialog Data                      
    MB_QUAN_CHECK_BADI                      BAdI: Item Data at Time of Quantity Check                      
    MB_PHYSINV_INTERNAL                     Connection: Core Inventory and Retail AddOn                    
    MB_MIGO_ITEM_BADI                       BAdI in MIGO for Changing Item Data                            
    MB_MIGO_BADI                            BAdI in MIGO for External Detail Subscreens                    
    MB_DOC_BADI_INTERNAL                    BAdIs when Creating a Material Document (SAP Internal)         
    MB_DOCUMENT_UPDATE                      BADI when updating material document: MSEG and MKPF            
    MB_DOCUMENT_BADI                        BAdIs when Creating a Material Document                        
    MB_CIN_MM07MFB7_QTY                     Proposal of quantity from Excise invoice in GR                 
    MB_CIN_MM07MFB7                         BAdI for India Version exit in include MM07MFB7                
    MB_CIN_LMBMBU04                         posting of gr                                                  
    MB_CHECK_LINE_BADI                      BAdI: Check Line Before Copying to the Blocking Tables         
    ARC_MM_MATBEL_WRITE                     Check Add-On-Specific Data for MM_MATBEL                       
    ARC_MM_MATBEL_CHECK                     Check Add-On-Specific Criteria for MM_MATBEL                                                                               
    Regards
    Anji

  • BADI for MIGO problem

    Hello everybody!
    I found badi of MIGO.   -> "MB_MIGO_BADI".
    but this within exit have a method, namely PBO_DETAIL.
    when use this method i found have a problem! 
    as follows!
    DATA: GF_CLASS_ID TYPE MIGO_CLASS_ID.
    GF_CLASS_ID = 'MIGO_BADI_IMPLEMENTATION_CIN'
    please help me! (I don't know how find this ID)
    thanks advanced!

    Hi,
    You can try with MB_DOCUMENT_BADI.
    Regards,
    Renjith

  • Exit or Badi for Migo transaction for given condition

    Hi,
    I need exit or Badi for MIGO transaction for the following condition ( When the goods receipt for the PO is initiated, prior to posting the accounting document).
    Please let me know
    Regards
    Ramesh

    Hi
    In rel 4.6C you can find these BADIs:
    - MB_DOCUMENT_BADI or MB_DOCUMENT_UPDATE
    and these exits: MBCF0002, MB_CF001
    Max

  • I need to know a Badi of MIGO

    HI,
    I have a program that uses BAPI_GOODMVT_GETDET...., I need to know a Badi of Migo where i can implement my logic.
    Pls dont specify list of BADIS and userexits.
    Tnx
    Relevant replies will be rewarded.

    MB_RESERVATION_BADI                     MB21/MB22: Check and Complete Dialog Data
    MB_QUAN_CHECK_BADI                      BAdI: Item Data at Time of Quantity Check
    MB_PHYSINV_INTERNAL                     Connection: Core Inventory and Retail AddOn
    MB_MIGO_ITEM_BADI                       BAdI in MIGO for Changing Item Data
    MB_MIGO_BADI                            BAdI in MIGO for External Detail Subscreens
    MB_DOC_BADI_INTERNAL                    BAdIs when Creating a Material Document (SAP Internal)
    MB_DOCUMENT_UPDATE                      BADI when updating material document: MSEG and MKPF
    MB_DOCUMENT_BADI                        BAdIs when Creating a Material Document
    MB_CIN_MM07MFB7_QTY                     Proposal of quantity from Excise invoice in GR
    MB_CIN_MM07MFB7                         BAdI for India Version exit in include MM07MFB7
    MB_CIN_LMBMBU04                         posting of gr
    MB_CHECK_LINE_BADI                      BAdI: Check Line Before Copying to the Blocking Tables
    ARC_MM_MATBEL_WRITE                     Archive AddOn-Specific Data for MM_MATBEL
    ARC_MM_MATBEL_CHECK                     Check AddOn-Specific Criteria for MM_MATBEL
    Regards,
    madan

  • BADI for MIGO for restricting User to entered other MVT types?

    Hi All,
    BADI for MIGO for restricting User to entered other MVT types?
    I want to restrict some of user not to use 501 Movement type ..I already created a Ztable for checking User for 501 type.
    Please let me know any Enhancement to be used to restrict user ?
    Thanks and Regards
    Steve

    Hi Steave,
    You can use this enhancement exit MB_CF001, this exit will be called every time before posting, you can use your logic in this exit. see its documentation first before implementing.
    Regards
    Ahsan

  • UE or BADI within MIGO Posting

    Hi all.
    I need to call Z transaction within the posting action of MIGO process. I had tried to use MB_MIGO_BADI and MB_DOCUMENT_BADI but when I tried to write set up a break point it didn't stop there.
    Does anyone has an idea about a specific user-exit or BADI ?
    Thanks,
    Rebeka

    Try these steps to search for a BADI->
    http://abap-explorer.blogspot.com/2008/07/how-to-search-for-badis-click-here.html
    http://abap-explorer.blogspot.com/

  • BADI for MIGO ( Material document change for Production Order goods Receipt

    Hey experts,
    I am actually stuck up with MIGO BADI.
    There are many BADI's available but i dont think any one would suit my requirement.
    here goes my requirement.
    When a Production Order is created in transaction CO01 , the system picks the value of the moving  material and multiplies it with the quantity .
    But when the production order is being confirmed thru CO11N , again the system picks the present moving price of the material and multiplies it with the quantity. This goods receipt is done through MIGO transaction by selecting goods receipt for order that is 101 movement type. I have been asked to get the value of the material at the time of production order create and then change the dmbtr value of MSEG table, this can be done in the badi at the time of creation of material document number but the BADI's MB_DOCUMENT_BEFORE_UPDATE,  MB_DOCUMENT_UPDATE do not allow me to change the values .
      The BADI MB_DOCUMENT_BEFORE_UPDATE does not allow any changes to be made for XMSEG table
    and MB_DOCUMENT_UPDATE is passed by value and hence the changes are not affected after it comes out of the method.
    Guys please help me as this creating a hell lot of problem here and i would surely reward the max points if answered.
    here is the example to be more precise.
    Material : Pen
    Quantity : 10.
    date : 01.06.2008.
    TYransaction co01.
    lets say at the time of creation the value of the material was 5 rs
    a material document would be created with the value  : 50 rs.
    Now for this prod. order goods receipt is being done on 01.07.2008.
    Let the value be 4 rs now.
    so the Material document would be created with a value of 40 rs.
    I need to make this 50 rs.
    I have got all the data to do it but i am not gettin the coreect BADI, i just want the BADI name to change the DMBTR value at the time of creation of material Document.
    Thanks in Advance.

    User-exit /BADI to change mseg during migo
    https://forums.sdn.sap.com/click.jspa?searchID=-1&messageID=5435559
    try this links

  • User exit/Badi in MIGO after save

    hi all
    I am trying to find a user-exit/BAdi in tcode MIGO.
    This one should be called after saving the MIGO document.
    Using this i want to put control over auto TO creation for some specific plants and storage locations.
    Important thing is I am using version 4.6C.

    Hi,
    Please try the last one. This may suit.
    For "Automatic TO creation (background processing)", the following user exits are available:
    MWMTOAU1 Selection of requirements for automatic creation of orders.
    MWMTOAU2 Reference number assignment.
    MWMTOAU3 Selection of posting change notices for automatic creation of transfer orders.
    Thanks and Regards
    Guru

  • User exit/BADI for MIGO Batch numbers

    Hi All,
    I want to find a user exit which will give the oldest batch number (MCHA-LWDET) of semi-finished product during the goods receipts of the finished prodocut in MIGO.
    Could you please give me any hints to find out the user exit for this.
    Regards,
    Sekhar D

    Hi,
    Check these User exits... for MIGO
    Exit Name           Description
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    Check thse BADI's.. for MIGO
    Badi Name          
    ARC_MM_EBAN_CHECK   
    ARC_MM_EBAN_WRITE   
    ARC_MM_EINA_WRITE   
    ARC_MM_INVBEL_WRITE 
    ARC_MM_MATBEL_CHECK 
    ARC_MM_MATBEL_WRITE 
    MB_CHECK_LINE_BADI  
    MB_CIN_MM07MFB7     
    MB_CIN_MM07MFB7_QTY 
    MB_DOCUMENT_BADI    
    MB_DOCUMENT_BADI_SAP
    MB_DOCUMENT_BADI_SAP
    MB_DOC_BADI_INTERNAL
    MB_DOC_BADI_INTERNAL
    MB_ME_CSGMT_BADI_SAP RTFASH:
    MB_MIGO_BADI        
    MB_MIGO_ITEM_BADI   
    MB_PHYSINV_INTERNAL  MB_PHYSINV_INTERNAL BAdI Implementation
    MB_RESERVATION_SCR   DFPS: Field in the Reservation
    MB_RESERVATION_UPCHD DFPS: Reservation
    Regards,
    Raghu
    Edited by: Raghavendra  Rao G on Aug 27, 2009 5:50 PM

  • USER EXIT or BADI BY MIGO

    Hi to all
    I need do it a validation in the transaction code MIGO, by the serial numbers.
    For example: When I put 5 in amount, appear 5 serial numbers, and I need validate that all de 5 fields of the serial numbers.
    Which user exit, or badi I have to use by do it this task ?
    Tnak you very much
    regards
    Dario

    Hi Dario,
    sorry, reviewing this, I think the MB_MIGO_BADI might not be what you need because that might only work if you introduce a new tab which you don't want to do (I think). Nevertheless, it is worth to check whether the method CHECK_ITEM is executed with a new implementation that does not define a new tab.
    If that's a no-go, then you may look into MB_CHECK_LINE_BADI... or even the SMOD enhancement MBCF0005 looks promising.
    Follow Nilesh's advice to find the BAdIs during transaction processing - there should be one you can use.
    Should all that fail (and if you're in ECC 6.0), then you still could use the new Enhancement Framework and utilize one of the implicit enhancement points in the standard item check logic to add your own checks.

  • BADI for MIGO update - Data not getting saved in table sometimes

    Hi,
    This is regarding automatic update of material document number to our Z Table for Gate entry in MM.
    Steps for Generating  GR throu2019 MIGO:-
    1) the user has to key in the gate entry number and plant,
    2) then after giving i/p values the user has to click the save button,
    3) MIGO number is generated by the system which is updated in gate entry header table.
    For updating the MIGO number BADI is used . But some time the system is not updating the GR number in gate entry header table.
    Can we use COMMIT WORK statement in BADI? Hope its not advisable to use it.
    What else can we do if data is not getting stored in table while updating throu2019 BADI?
    Inside the Method : IF_EX_MB_MIGO_BADI~POST_DOCUMENT the below code is written,
    Instead Of Updating The Gate Entry Item Table Now
    Update The Gate Entry Header Table. Update The
    Value Of The Field MBLNR With Current Document Number
    Generated Updating the header table ZMM_GATE_ENTRY
        SELECT SINGLE *
          FROM ZMM_GATE_ENTRY
          INTO WA_ZMM_GATE_ENTRY
         WHERE GATEENTRYNO EQ GS_EXDATA_HEADER-GATEENTRYNO
           AND WERKS       EQ GS_EXDATA_HEADER-WERKS
           AND GYEAR       EQ GS_EXDATA_HEADER-ENTRY_DATE+0(4).
    Check To Ensure That Once A Gate Entry Number
    Is Associated With A GR It Cannot Be Reused
        IF WA_ZMM_GATE_ENTRY-GR_NUMBER IS INITIAL.
          WA_ZMM_GATE_ENTRY-REFERENCE = GS_EXDATA_HEADER-REFERENCE.
          WA_ZMM_GATE_ENTRY-REFWERKS  = GS_EXDATA_HEADER-WERKS.
          WA_ZMM_GATE_ENTRY-GR_NUMBER = IS_MKPF-MBLNR.
          WA_ZMM_GATE_ENTRY-GR_YEAR   = IS_MKPF-MJAHR.
    MODIFY ZMM_GATE_ENTRY FROM WA_ZMM_GATE_ENTRY .u201Dupdating the workarea
    u201CThe above modify stmt updates data sometimes and does not updates the data sometimes
        ELSE.
          MESSAGE E901(ZMM) WITH GS_EXDATA_HEADER-GATEENTRYNO WA_ZMM_GATE_ENTRY-GR_NUMBER.
        ENDIF.
    Plz suggest some soln?
    Regards,
    P.S.Chitra

    Hi,
    This is regarding automatic update of material document number to our Z Table for Gate entry in MM.
    Steps for Generating  GR throu2019 MIGO:-
    1) the user has to key in the gate entry number and plant,
    2) then after giving i/p values the user has to click the save button,
    3) MIGO number is generated by the system which is updated in gate entry header table.
    For updating the MIGO number BADI is used . But some time the system is not updating the GR number in gate entry header table.
    Can we use COMMIT WORK statement in BADI? Hope its not advisable to use it.
    What else can we do if data is not getting stored in table while updating throu2019 BADI?
    Inside the Method : IF_EX_MB_MIGO_BADI~POST_DOCUMENT the below code is written,
    MODIFY ZMM_GATE_ENTRY FROM WA_ZMM_GATE_ENTRY .u201Dupdating the workarea
    u201CThe above modify stmt in code updates data sometimes and does not updates the data sometimes
    Moderator message: duplicate post locked.
    Edited by: Thomas Zloch on Aug 10, 2010 11:33 AM

  • Help in BAdi for MIGO

    hi friends,
    i have a requirement in which, when i post goods in migo, a pop up should come where i have to enter a form(form-31) details and this should get reflected in an ztable along with the vendor details. i have found that a BAdi(MB_DOCUMENT_BADI- i am using SAP R/3 5.0 ) exists with two methods
    1.'MB_DOCUMENT_BEFORE_UPDATE'
    2.'MB_DOCUMENT_UPDATE'.
    which one should i use? becos in the documentation it says that 'MB_DOCUMENT_BEFORE_UPDATE' is called before any accounting documents are generated and if i write any database commit in this method then if some error occurs after the business add-ins are processed we cannot carry out a complete ROLL BACK,as the data up to the COMMIT has already been written in the database(ztable),it will lead to data inconsistency.
    again in 'MB_DOCUMENT_UPDATE' it says is processed after the FI document numbers are called and for For performance reasons, you should not re-read the tables or write to any tables or carry out any time-consuming routines in this method..
    pls advice if there is any other BAdi or any work around...waiting for your replies...and pls be descriptive...
    also if the user cancels or exits the popup then processing should not proceed..it should come back to the migo initial screen without posting the goods...how to go about it?
    regards
    kiran
    pls ...help is urgent...every effort is appreciated
    Message was edited by: kiran k

    Hi
    If you call a popup I don't think you can use the method 'MB_DOCUMENT_UPDATE', as here you can update your Z-TABLE without the COMMIT. So I suppose this method works in background and in this step any popup can be shown.
    So you should use 'MB_DOCUMENT_BEFORE_UPDATE', but I don't know I you can stop the saving, try to use an error message.
    Max

  • BADI for MIGO Goods receipt

    Hi,
    I want to update profit center while doing goods receipt in MIGO transaction.
    I tried using method LINE_MODIFY from BADI, MB_MIGO_BADI but profit center field is not getting updated because it is not inputable field.
    Also, I checked BADI, MB_MIGO_ITEM_BADI. It updates storage location & item text.
    Can anyone suggest me any user exit or BADI which will be useful for my requirement?
    Thanks & Regards,
    Supriya

    Hi,
         I am stuck up with the problem of changing Cost center in MIGO. Very similar to the above problem.
    Is there any solution for this.
    Thanks in advance,
    Vishnu Priya

Maybe you are looking for

  • How to exclude Sales Orders from a planning run

    Hi, I run MD02 and i discover that planned orders are being created as procurement proposals for sales orders and the planned independent requirement. I want planned order to be created only for the Planned independent requirements ONLY. Is there a w

  • Windows and itunes not recognising my ipod video

    I bought my ipod video 30gb last thursday and i managed to get it working and downloade my songs to it. Now it is not recommended by windows, itunes or the device manager what can i do?

  • Help me choose what processor to order my Macbook Pro with?

    Hello, apple forums! I need a new computer, and the Macbook Pro Retina has really caught my eye. It's super-portalble, but also powerful, and looks beautiful. I'm from a Windows world, but I've used Macs countless times and it seems Windows 7 can be

  • Replace what?

    I am working on (well likely screwing up) a PowerBook G4 15" which I sent into Apple awhile back. Their response to me was there was water damage... well they could have told me an elephant stepped on it and I would have believed that over the water.

  • Very basic questions about a db in windows

    I have a db (9.2.0) in a W-XP machine and I have started it up via windows services. (The db was created when installing the software). My questions are: 1. When I connect to the db with the system user it connects to the only db that is created in m