Exit or Badi to prevent MIGO Goods Receipt on PO with Inbound Delivery

Hi,
I am hoping that someone can provide me with some direction on how to prevent the use of MIGO for GR when the PO being received is (or should be) linked to an inbound delivery.
For purchase orders with a confirmation control key an inbound delivery is to be created and the goods receipt needs to be done from the inbound delivery. This scenario also includes the case of stock transport orders whereby an inbound delivery is created form the outbound delivery. On the other hand for purchase orders without a confirmation control key no inbound delivery is created and the MIGO transaction is to be used to post the goods receipt.
Since both processes are possible, I would like to prevent people from posting the GR using MIGO if certain conditions pre-exist.
Can anyone suggest a means to accomplish this goal? Is there an exit or badi in MIGO that you would suggest using?
Thanks,
Paul

Hi,
The following user eixts and badis available for migo transaction:
Enhancement/ Business Add-in            Description                                                                               
Enhancement                                                                               
MB_CF001                               
Customer Function Exit in the Case of Updating a Art. 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                              
Article document item for goods receipt/issue slip             
MBCF0002                               
Customer function exit: Segment text in article 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 an Article Document (SAP Internal)         
MB_DOCUMENT_UPDATE                    
BADI when updating article document: MSEG and MKPF             
MB_DOCUMENT_BADI                       
BAdIs when Creating an Article 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     
If it is helpful rewards points
Regards
Pratap.M

Similar Messages

  • User exit for post good receipt for tcode VL32n(inbound delivery)

    HI,
    I need a user exit which should get triggered when the user hit the button "post good receipt" under tcode VL32N. I appreciate your help.
    Thanks,
    Sanjay

    Hi,
    Here is the list
    Enhancement                                                                               
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)       
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)       
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)      
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc           
    V53W0001                                User exits for creating picking waves                       
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot     
    V53C0001                                Rough workload calculation in time per item                 
    V50S0001                                User Exits for Delivery Processing                          
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List     
    V50R0002                                Collective processing for delivery creation                 
    V50R0001                                Collective processing for delivery creation                 
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields     
    V50PSTAT                                Delivery: Item Status Calculation                           
    V02V0004                                User Exit for Staging Area Determination (Item)             
    V02V0003                                User exit for gate + matl staging area determination (headr)
    V02V0002                                User exit for storage location determination                
    V02V0001                                Sales area determination for stock transport order                                                                               
    Business Add-in                                                                               
    DELIVERY_ADDR_SAP                       Address Change in Delivery Processing                       
    DELIVERY_PUBLISH                        Announcement of delivery data during database update        
    Shib

  • Goods Receipt w/ref. to inbound delivery can not be reversed....

    Hello Gurus,
    My clients wants to reverse Goods Receipt document which it was created with reference to an inbound delivery. Previously the inbound delivery was created with reference to a PO, the ID generated several HU and TOs that were confirmed.
    Now he wants to cancel the Goods Receipt posting but the problem is that the quants created in the TOs have changed the storage bin destination, so I really dont know how coudl he handle this process.....indeed he also wants to cancel de ID.....
    What do you think that could be the correct procedure???
    Thanks!!!

    Hi Pablo,
    Yes you are right you can use MIGO to cancel the individual line item however you can do the same in VL09 also by selecting the individual material document
    Please have a look on the below post which was provided by me in one of the earlier thread
    Delivery with multiple line item, reversal required for one line item
    Now you can have a scenario where you are having 4 line item in the delivery and you want to reverse only one, in this scenario you can use the VL09 with material document option, system will display all the possible material document for the IBD reverse the respective Material document as per your requirement and then use the TO view of LT0G to reverse the particular line item

  • Goods Receipt reversal posing for Inbound delivery

    Hi Gurus,
    There is an interface running which create, IDOC, Inbound delivery, HU and material received (material document created - 521mvt type) to stock.
    Now there is some problem in the HU weight and I need to reverse the Material docuement with 522 mvt type.
    As the GR is created through VL32n, I can not reverse the GR using MBST or MIGO cancellation. I am also not allowed to reverse through VL09. I am getting error This is not possible with movement type 522.
    Kindly inform me if you have any suggestion to reverse this material document.
    Best Regards,
    Mohan

    Hi,
    VL09 is the correct transaction.
    I doubt if this will work but try looking at theconfig of the 521 and 522 movement types and check the "allowed transactions" see if VL09 is linked to it, if not then link it and try VL09 again.
    It is a longshot but VL09 shouldwork (although my HU knowledge is not good).
    Steve B

  • User exit or any other enhancements during good receipt

    Hi
    i am lookin for user exit or other enhancements during MIGO / goods receipt
    actually i want to generate internal serial no. with my own logic
    the system should take serial number with my own logic at the time of goods receipt .

    Hi,
    Plz find the below exits,
    Enhancement
    MBCFC004                                Maintenance of batch specifications for goods movements
    MBCFC003                                Maintenance of batch master data for goods movements
    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
    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
    Business Add-in
    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
    Regards
    Ravi Ganji

  • MIGO to receive by PO or Inbound delivery number?

    HI,
    I've created a Inbound delivery with 2 line item for a PO. Then do MIGO receipt by Inbound delivery number.
    In MIGO screen, only 1 line item display. It supposed 2 line item (inbound contain 2 line item).
    So far, I havn't receipt any for this PO. Please advice.
    1. Why MIGO only display 1 line?
    2. If I receive by using PO number, is any impact on my Inbound delivery?
    Thanks

    Hi,
    If 2 line item are same material then in MIGO consider only one line item of the Goods receipt. Because the Inbound delivery of 2 line items u are receiving on the same posting date.
    MIGO only look wether you are recing parcial or full order qty. If account assignemnt category or Multiple storage location then you can divide that in the same multiple line items.
    SAM

  • MIRO(Invoice Verification) posting date is lesser than MIGO(Goods Receipt)

    MIRO(Invoice Verification) posting date is lesser than MIGO(Goods Receipt) posting date.
    Explanation:
    Miro sholud be posted after the GRN has posted. It means that the Posting date of Miro should be greater than or equal to the Posting date of Migo. But I am facing the issue that I can able to post the Miro before the Migo date..
    For example:  I have posted the Migo(Goods receipt) document with the posting date u2013 10.8.09 and at the same time I can also able to post the Miro(Invoice Verification) posting date as u2013 5.08.09. This is should not be allowed . Kindly give me the solution. Is there any options in SAP standards to restrict this type of Postings(without using user exit).
    regards
    Varadharaj

    Hi
    you  need to use BADi for this INVOICE_UPDATE
    you can give logic as whil;e MIRO system will compare posting date with MIGO doc , then create a Z error msg in se91 nad assign it in that badi
    take help of ABAPer, check following link
    [LINK |GR date lesser than the PO date, the system should show an error message.;

  • MIGO( (good receipt,Transfer pos how to  to get serial number  at run time

    Hi Experrts:-
    I need to change the status of serial number (equipment number ) during Migo (good receipt,Transfer posting).
    I have checked all the user exits and number of badis but i am not getting serial number at run time if i get serial numbar
    in exit od badi i will change the status
    I have used  following badi:-
    MB_DOCUMENT_BADI
    MB_MIGO_ITEM_BAdI
    Thanks

    Hi Dilip,
    If I am correct you are taking about changing user Status at device level (serial number)
    you can set the user status through status profile (Tcode OIBS for particular status profile).
    within this, you can also set/ change the status, if particular business transaction is executed (for e.g. good receipt, Stock transfer)
    Please check if you are using status profile in your case, if not create one, by this way i think you can able to map the requirement.
    Regards,
    Chetan

  • MIGO (Goods Receipt) Executed...No Idoc

    One of our sites must manually run MIGO, Goods Receipt transaction. All of our other sites use scanners for barcoding that does the MIGO during thre scan. The issue is when our one site runs MIGO manually, unless they exit MIGO and re-enter MIGO, they won't get an idoc. Or, no idoc is created when the user stays in the transaction.
    Has anyone a suggestion or experienced this before?
          Thank-You.

    Hi,
    what do you have in field Further Data -> Dispatch time for output type which represents that IDoc? Do you have there "Send immediately"?
    Cheers

  • How can i add message in "migo"  ( good receipt ) ?

    how can i add message in transction "migo"  ( good receipt ) ?
    i tried userexit MBCF0002
    but i can't see more then one
    line of the order and the user
    get 3 messages ( in case of order with 3 lines )
    the badi's
    MB_DOCUMENT_BADI
    MB_MIGO_ITEM_BADI
    don't give me the option
    to add message .
    i tried to add message in the check or befor the save .
    this is the message  :
      CALL FUNCTION 'POPUP_TO_DIS
    PLAY_TEXT'
          EXPORTING
            titel              = text-001
           textline1          = text-001
          TEXTLINE2          = ' '
           start_column       = 25
           start_row          = 6.
       message s000 with text-002.
    ENDIF.

    OK, I'm on ECC6.0 system that's why you can't find it in 4.7 version.
    I'll copy and paste the sample code for you below.
    Sample Method IF_EX_MB_MIGO_BADI~CHECK_HEADER
    method if_ex_mb_migo_badi~check_header .
      data: ls_bapiret type bapiret2.
    * Refresh return table
      refresh: et_bapiret2.
    * Check header data (W-/E-Messages are useful)
      if gs_exdata_header-badi_nummer is initial.
        ls_bapiret-type       = 'W'.
        ls_bapiret-id         = 'M7'.
        ls_bapiret-number     = '895'.
        ls_bapiret-message_v1 = 'Enter number on external screen'(001).
        append ls_bapiret to et_bapiret2.
      endif.
    endmethod.                    "IF_EX_MB_MIGO_BADI~CHECK_HEADER
    Sample Method IF_EX_MB_MIGO_BADI~CHECK_ITEM
    method if_ex_mb_migo_badi~check_item .
      data: ls_extdata type migo_badi_example_screen_field,
            ls_bapiret type bapiret2.
    * Refresh return table
      refresh: et_bapiret2.
    * Read external data
      read table gt_extdata into ls_extdata
           with table key line_id = i_line_id.
    * Check if all entries are done (W-/E-Messages are useful)
      if ls_extdata-badi_erfmg is initial.
        ls_bapiret-type       = 'E'.
        ls_bapiret-id         = 'M7'.
        ls_bapiret-number     = '895'.
        ls_bapiret-message_v1 = 'Enter quantity on external screen'(002).
        append ls_bapiret to et_bapiret2.
      endif.
      if ls_extdata-badi_erfme is initial.
        ls_bapiret-type       = 'E'.
        ls_bapiret-id         = 'M7'.
        ls_bapiret-number     = '895'.
        ls_bapiret-message_v1 =
           'Enter unit of measure on external screen'(003).
        append ls_bapiret to et_bapiret2.
      endif.
    endmethod.                    "IF_EX_MB_MIGO_BADI~CHECK_ITEM
    Implement your according to the examples above.
    Hope this solves your problem.
    Cheers,
    Sougata.
    P.S. You need to create a brand new Z implementation via SE19 using the BADI definition MB_MIGO_BADI
    Edited by: Sougata Chatterjee on Dec 31, 2007 1:05 AM

  • MIGO - Goods Receipt against Purchase order. PO rate dispaly.

    Is it possible to display purchase order line item rate in MIGO - Goods Receipt against purchase order - Quantity tab.
    In Quantity tab - System is showing Qty in Unit of Entry, Qty in SKU, Qty in Delivery Note, Quantity Ordered, alongwith these fields we also want display of Purchase order rate/each of that line item.
    Please guide.

    BTW you are getting PO number at MIGO and clicking over that you will get entire PO then why you want PO rate display here??

  • Pricing determination of MIGO (goods receipt)

    How is 'Amount in LC' field in the tab 'Quantity' of MIGO (goods receipt) determined by SAP?
    To my understanding,  'Amount in LC' is determined by the conditions, but I don't have a clear understanding on this process.
    Appreciate if anyone can shrow me some idea on this.
    Points will be assigned! Thank you.

    thank you very much for your answer, srinivas kona,
    However this answer does not help much on our situation below.
    Much appreciate your help in advance.
    In the PO history of 1st line item, we posted the following material documents.
    1. wrongly post MIGO as follows.
    Movement Type = 101
    quantity = 400;
    'amount in LC' = $ 400
    2. Now we reversed material doc in step 1 using MIGO cancellation, and we seccessfully cancel the wrong material document.
    However we are driven crazy by SAP because the system post a new material doc with wrong 'amount in LC' again!
    Movement Type = 102
    quantity = - 400;
    'amount in LC' = $ - 500
    'amount in LC' should be $ - 400 to reverse the material doc in Step 1.....how come system posted a wrong 'amount in LC' in cancellation document....

  • Migo- goods receipt report

    Dear MM experts,
    Pl let me is there any standard report available to know the status of MIGO-Goods Receipt of Goods Issue done for the Materials (Stock Item or Non stocks items) against the Purchase Orders.
    Pl help
    thanks in advance
    regards
    srihari

    Hi,
    You can also refer following reports;
    MB51/MB59 - List of material documents (In Selection Screen, enter Movement Type - 101)
    ME2N - List of PO Documents (In seelction Screen use Scope of List - ALLES)
    ME80FN - General Analysis (Here in Output, select option "PO History")

  • MIGO Goods Receipt multiple Movement Types?

    Hi,
    Is it possible with MIGO Goods Receipt using Inbound Deliveries to have multiple movement types? the reason I ask is I am getting the following error 'BORGR622 Movement Type XXX not allowed; only 101 is allowed' when trying to receipt a Line no. with different Movement Type to the earlier lines.
    We do have the same problem if we receipt in MIGO Goods Receipt directly to the Purchase Order, we can happily post a document which has the normal '101' movement type and another Custom movement type.
    The reason for the requirement is to do with Account Determination, we have free bonus goods lines which are zero price on the purchase order - the price difference gets posted to a bonus stock account instead of the usual price difference account, by using a Custom Movement Type - the bonus stock agreement (kind of like BOGOFs Buy One get one free) is passed to the Customer with similar account determination updating the same bonus stock account.
    This works fine for MIGO receipt directly with the Purchase Order but we get the error message above with Inbound Deliveries.
    I cannot see anywhere obvious in config which might sort this issue, but am unsure why multiple movement types on a Goods Receipt would be allowed against a Purchase Order but not an Inbound Delivery.

    Hi,
    Try with the below mentioned settings,
    goto SPRO -> Materials Management -> Inventory Management & Physical Invetory -> Settings for enjoy transactions -> Settings for good movements(MIGO) -> Settings for transactions & reference documents -> select MIGO_GR -> Click on transaction/event -> select goods receipt -> click on reference documents -> remove the tick mark on active.
    Regards,
    Prabu

  • Two accounting documnets to be generated at time of MIGO (Goods Receipt)?

    Hi SAP Gurus,
    Could you please give the solution to the below scenario.
    Two accounting documnets to be generated at time of MIGO (Goods Receipt) with two different documnet types ?
    1) 1st Accounting Document:-----
         Inventory a/c DR                               
              To GR/IR Clearing a/c            
    2) 2nd Accounting Document :----
         Cost of Goods Sold a/c DR       
               To Inventory a/c                   
    NOTE: G/L Account assigned in the Purchase Order.
    Many Thanks
    Kiran Konujula.

    >
    Two accounting documnets to be generated at time of MIGO (Goods Receipt)
    with two different documnet types ?
    1) 1st Accounting Document:-----
         Inventory a/c DR                               
         To GR/IR Clearing a/c
    This one is normal GR entry done against PO with movmeent 101     
    > 2) 2nd Accounting Document :----
         Cost of Goods Sold a/c DR       
               To Inventory a/c
    This entry comes in play when you do good issue against sales order. Nothing to do with GR.
    Edited by: Afshad Irani on May 4, 2010 2:46 PM

Maybe you are looking for

  • Item Category Determination- Usage

    Hi All,          I am looking into my system configuration for item category determination. I know that Item category is determined based on 1. Sales document type 2. Item category group 3. Usage and 4. Higher level item cat group Here, I came to kno

  • How do I install Adobe CC on my new iMac?

    How do I install Adobe CC on my new iMac? It was on my old iMac (still is).

  • MAKING AN IFRAME IN DREAMWEAVER TO IMPORT INTO MUSE FOR CUSTOMER LOGIN

    Okay So i am making a client there website in muse and they're wanting a customer login and customer sign up into there webpage but muse does not have that option. I called adobe and they said to make an iframe in dreamweaver and then put it into mus

  • Making Projects/Photos avail. on-line: Best Practices?

    Hi. I am ready to move some of my work on-line, and am looking for both general and specific suggestions on services to use and guidelines to follow. My photos are all in Aperture Libraries, fairly well organized. I realize this is a big topic. The t

  • Adobe Acrobat 8/CS3 Combo

    alright so i just purshased a alluminum macbook 2.4, and have a legit DVD set of the CS3 Full package, and havent had any problems as far as the Graphics app goes...but I use Acrobat Pro more than anything...I have no problem with the program except