Inbound IDoc MBGMCR02 Goods receipt for delivery status 51 Reference Docume

Hello IDoc experts,
I try to do a goods receipt for an inbound delivery using inbound IDOC MBGMCR02.
The inbound delivery is linked to only one PO, and the bill of lading number in the delivery is unique.
Still I get the following error message:
Reference Document Number is existing at more then one Purchase Order!
The inbound delivery is linked to only one PO, and the bill of lading number is unique
These are the fields I fill:
E1EBP2017_GM_HEAD01
        PSTNG_DATE:  '20100421
        DOC_DATE:   '20100421'
        REF_DOC_NO: 180000008 (number of the inbound delivery)
        BILL_OF_LADING: 4500001992 (I have put the PO number in the bill of lading number in the delivery)
E1EBP2017_GM_ITEM_CREATE
        MATERIAL: CH0463COEUR\1 (material number of the first item of the delivery)
        PLANT: ST01
        STGE_LOC: 0001
        MOVE_TYPE: 101
        VENDOR: 100080
        ENTRY_QNT: 100
        ENTRY_UOM: PCE
        ENTRY_UOM_ISO: PCE
        PO_PR_QNT: 100
        ORDERPR_UN: PCE
        ORDERPR_UN_ISO: PCE
        PO_NUMBER: 4500001992
E1EBP2017_GM_ITEM_CREATE1
        DELIV_NUMB: 180000008
        DELIV_ITEM: 10
Do you guys have any idea where I go wrong?
Kind regards,
Rudy Zijp

I hope you filled the moment typ indicatior E1BP2017_GM_ITEM_CREATE.MVT_IND to 'B'.
and E1BP2017_GM_CODE-GM_CODE  to '01 and for Bill of lading field also pass delivery nymber.
please try with these inputs.
Regrds,
Suresh
Edited by: Suresh Reddy Avutu on Apr 29, 2010 4:40 PM

Similar Messages

  • BAPI needed for goods receipt for delivery created from sales order

    Hi experts,
    I need help.
    I want to post goods receipt for the delivery created from sales order. I have tried out BAPI BAPI_GOODSMVT_CREATE but I am not able to post it.
    Is there any way to post this? I need BAPI and not FM MB_*....
    Thanks & REgards,
    Bhavin A. Shah

    Hi,
    Please refer to link,
    https://wiki.sdn.sap.com/wiki/display/Snippets/BAPI_GOODSMVT_CREATE-ABAP
    Regards
    Shree

  • Goods receipt for Delivery completed PO

    Hi,
    I have issue with a user(Only one user having this issue),who is able to receive the goods for Fully delivered PO.User can receive up to over delivery tolerance given in the PO.How to restrict this.
    Issue is this,
    Purchase Order qty=30 EA
    Over Dely Tolerance=20%
    Received through MIGO=30 EA
    After this also system allowing to receive goods for 20% of the order qty.
    Only one user having this problem.
    By Standard if i receive goods for delivery completed PO, the system will throw a message No selectable items found.
    With regards
    Ram

    Please check Material tolerence limits.If tolerence limit exist change the tolerance limit of material.

  • Good receipt in delivery without reference

    Hi, we make an intensive use of deliveries without reference to move materials between plants. We have noted that when you use deliveries without reference checks are pretty bad. For example, if you cancel good posting (VL09) only checks if there is enough transfer stock, so if your delivery had been received and there is another delivery without reference in transfer with the same material and the same ship-to party, you can cancel good posting for the delivery.
    We also noted that SAP checks everything if you use deliveries for transfer orders.
    Do I have to customize something in order to get this checks made for deliveries without reference?
    Thanks in advance.
    Federico

    SAP can do many checks, if it has data to check on.
    In a delivery with reference, SAP can use this referenced data to perform checks, but in a delivery without reference .......you made the experience yourself --> less  checks.
    You can customize your system to not allow deliveries without reference, then you enable SAP to do more checks. But I guess you dont want this way.
    Why dont you create STOs?
    With proper data for planning, MRP can create requisitions for stock transfers automatically, the requisitions can be converted automatically to a PO using ME59N (which can be scheduled for periodic runs)   So a user has not to do much for this process, and you can always create your deliveries in reference to a STO.

  • Goods Receipt by delivery - RF LM71

    Hi,
    Hopefully a very simple question.
    Within the RF transaction Lm71 (Goods receipt for delivery) I only want to generate transfer orders for those materials that have been selected. At present transfer orders are generated whether the select flag has been set or not.
    Is this select flag just an indication to the user that they have checked this material? Can we enforce that the check has been flagged to only generate transfer orders for those materials which have been checked?
    Any guidence appreciated,
    Thanks
    Adam.

    Hello,
    Havent used LM71 as-is and hence cant comment on the select functionality. However, the other part should be achievable with the help of a developer. You could probably modify the code and put in a logic where in the TO item is only created for the "select " flagged items only. The developer should be able to help you here.
    Im sure someone on the forum having experience with LM71 can share.
    Thanks,

  • Post Goods Receipt for Inbound Delivery using WHSCON IDoc

    Dear All
    Currently I am working on a big project dealing with EDI connections to our logistics partner for the Export business. The entire message flow between Lindt and our partner should be via EDI. Our SAP release is (still) 4.6c.
    We will create two kinds of despatch advice messages, one for inbound deliveries and one for outbound deliveries for customers.
    I would appreciate your support in the following problem that I am facing with the inbound delivery scenario:
    We create stock transport orders (purchase orders, POs) for the goods intended to be delivered into the plant at our partner
    We create a delivery (type NL = replenishment delivery) for this POs
    As soon as we post the goods issue we send the despatch advice (as EANCOM D96A DESADV message) to our partner.
    At this point the delivery is basically completed, i.e. packing status (PS) and goods movement status (GM / GS) are equal to 'C' (= completed).
    Our logistics partner uses the same EDI message to send us the goods receipts data, e.g.:
    We dispatched 50 units of a product => QTY:50:12
    The partner received indeed 50 units => QVR:50:66
    Please note that we do not use the QVR segment for the quantity difference (between despatched and received quantity) but it contains the received units. This way we avoid negative values in the QVR segment.
    When the logistics partner sends back the DESADV message containing the received quantities (QVR segment) we want to make
    the goods receipts for the products in the original stock transport order and
    upate the message flow in the delivery
    My idea was to transform the incoming DESADV message into a WHSCON.DELVRY03 IDoc based on the documentation in: [Delivery Interface|http://help.sap.com/saphelp_crm40/helpdata/en/e2/654b15a9f411d184ec0000e81ddea0/content.htm]
    In the delivery header control E1EDL18 I used QUALF = 'PGI' (Post goods issue).
    I prepared an inbound WHSCON IDoc according to the documentation mentioned below. I managed to get some feedback from the Idoc processing implying that the system tried to do the goods receipt in the PO but failed.
    To make a long story short here are my questions:
    Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
    Does anybody have an example on how to fill the WHSCON IDoc?
    Or is my approach a cul-de-sac ?
    Kind Regards
       Uwe
    PS: A related question can be found here: Goods Receipt in PO AND Message Flow Update in Inb. Delivery using WMMBXY

    Hi Uwe,
    Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
    The binary answer would be no. You should use WMMBXY or MBGMCR instead.
    But if we are doing goods receipt against Inbound delivery then answer is YES with additionally E1EDL18-QUALF = 'PIC' populated. But please remember no partial receipt is possible against Inbound Delivery.
    We should populate E1EDL20-VBELN with our Inbound delivery number and line item info should go to E1EDL24.
    I have done a similar interface recently where we are doing receipt against Inbound delivery. But our case was a bit complex because we had to support against Inbound delivery. So we had to go for a custom solution on top of IDOC_INPUT_DELVRY.
    Hope this helps. Let me know if you have more questions.
    Regards,
    Rudra

  • Post Goods Receipt for Inbound Delivery via IDoc SHPCON (DELVRY03)

    hi all,
    I'm using IDoc SHPCON (Delvry03) for posing goods receipt for inbound delivry.
    Can anyone give a sample IDoc or tell which segments must be filled.
    Thanks!
    Regards,
    Hui

    Hi Uwe,
    Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
    The binary answer would be no. You should use WMMBXY or MBGMCR instead.
    But if we are doing goods receipt against Inbound delivery then answer is YES with additionally E1EDL18-QUALF = 'PIC' populated. But please remember no partial receipt is possible against Inbound Delivery.
    We should populate E1EDL20-VBELN with our Inbound delivery number and line item info should go to E1EDL24.
    I have done a similar interface recently where we are doing receipt against Inbound delivery. But our case was a bit complex because we had to support against Inbound delivery. So we had to go for a custom solution on top of IDOC_INPUT_DELVRY.
    Hope this helps. Let me know if you have more questions.
    Regards,
    Rudra

  • Goods receipt for inbound delivery

    Hi,
    I'm using idoc  DELVRY03 in order to post a goods issue. And It's working very well.
    I want to make a goods receipt for an inbound delivery using idoc DELVRY03. When I use this idoc for this (To make a goods receipt), my delivery can't be updated any more (Just like if the goods issue was done) and Its status are updated. And I can't to make the goods receipt manually. But the stock isn't updated, No item document is generated, and the quantity received is still equal to 0.
    Can any one please tell me if there is a special thing I need to do in order It works. And If It's not possible, to make the goods receipt using delvry03, what's the idoc type allowing to do this.
    Thanks in advance

    Hi
    Please try using idoc type DESADV01.
    Please award points if  you find this helpful
    rgds

  • 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

  • Partial Goods Receipt for Inbound Delivery

    Hello Frends,
    We have a requirement to generate partial goods receipt against Inbound delivery created in Intercompany scenarios, however when we analzed there two alternative ways possible -
    1.  Goods Receipt in Inbound Delivery - Transaction VL32N : In this transaction,ssytem allows goods receipt for complete quantity but not for partial quantity
    2.  Goods Receipt reference to Inbound Delivery - Transaction MIGO : In thsi transaction, there is a provision to generate partial goods receipt however system not updating the status in inbound delivery document.
    In this regard, requesting your support on what is possibility to fulfill our requirement, is there any standard SAP approach for this.
    Appreciate your support.  Thanks
    Best Regards,
    Goutham

    Hi,
    Thanks for your quick reply..
    I have a outbound delivery with 100 EA, now system automaticallly generates a Inbound delivery for 100EA using output message.  Now we need to generate partial goods receipt for the inbound delivery, mean first 20, then 40 and the remaing.
    What are the best practices available since when I check from the Inbound delivery,we cannot make partial goods receipt.
    Best Regards,
    Goutham

  • How to post good receipt for an inbound delivery with HU in the stock?

    Hello,
    We have an inbound delivery of a purchase order with 10 Handling Units inside on.
    The HU's has been put in a storage bin (by transport order + confirmation) before a good receipt has been posted for the whole delivery.
    Due to this it's not possible to post good receipt for the inbound delivery, and the available stock quantity is in minus on zone: '902-GR Area External Rcpts' since  the handling units are already in a storage bin.
    Can anyone help me on this matter?
    Thanks

    Hi,
    my situation is:
    - a WM managed warehouse, society A;
    - a HU managed warehouse (without WM), society B;
    - a purchasing process of HU from society A towards society B.
    Society B have a scheduling agreement; when a delivery schedule appears, in society A born a sales order and a delivery. After the registration of the delivery good issue, an idoc transfer information for inbound delivery creation.
    This process is ok without WM, but with a WM managed warehouse the idoc has the following problem:
    "V51VP - item was not found - process cancelled".
    Can you help me to transfer these HU?

  • Goods Receipt for Inbound Delivery before Transfer Order

    Hello Experts,
    Below is the normal process in case of GR via inbound delivery.
    PO -> Inbound Delivery -> TO -> Confirm TO -> Post Goods Receipt in Delivery.
    My client wants as per the normal Purchase Order cycle as below.
    PO -> Inbound Delivery -> Post goods receipt in Delivery -> TO - > Confirm TO.
    I have found some config for this as per below path.
    Logistics - General -> Handling Unit Management -> Basics -> Delivery -> Define Sequence of Transfer Order - Goods Receipt.
    I have done these settings but still it is not working.
    I have couple of questions here.
    1. Are there some more settings required?
    2. Why SAP has designed this process in such a way for inbound delivery.
    Thanks in advance for your help.
    Navin

    Hi,
    I am working with non HU managed storage location. Can I still use this settings & process for inbound delivery?
    I am stuck with one more question. SAP is not allowing me to create Inbound delivery for QM active materials.
    The message it is saying is ....
    Material CH-1440 1000 cannot be used in inbound delivery because QM is active
    Message no. L9528
    Diagnosis
    QM is active for material CH-1440 in plant 1000. As a result, the material cannot be used in an inbound delivery item because the item is relevant for picking and because WM is active for the item.
    This process is not supported in the current release.
    Procedure
    Execute the putaway using a goods receipt posting with subsequent
    putaway in the Warehouse Management system.
    Can you please help me with this one also?

  • Doing a goods receipt for a customer material that is ASEQ status

    We are needing to find a way to be able to do a goods receipt for a child part in ASEQ status.  Most of our customers will send in their part after disassembling it themselves.  Since we can not receive the part our present process is to dismantle so the system status changes to ESTO and we can receive.  The problem with this is that the end user forgets to assemble the part back and we end up breaking the linkage.
    We have looked into using User Status in the equipment master and have configured that.  However the user status button, nor name shows up in the equipment master.  I have looked at the field selection in IMG and it is not hidden.  I am assuming it is being supressed by a user exit we have.
    Can anyone give me any suggestions on how we can improve the process using SAP for material that is ASEQ status and being able to create an inbound delivery so we can receive in our warehouse for this status without dismatling the unit? 
    We are on ECC

    Hello Kimberly
    You lost me while describing your current process, so  please provide more details as to how you dismantle and reinstall etc.  Also how the part goes back to the customer.
    However I can provide you  clarifications to some questions you raised..
    You see both system and user statuses in the field 'Status' itself. This is the 3rd row in the Equipment display screen under Equipment number and Description. If you see carefully you will see 2 sections, the one on left is system status and the one on right is User status. If you click on the i (info) icon, you will be taken to a screen where you see more info like status and business processes etc.
    ASEQ is a system status and it is determined by what you did ( example dismantling) and can't be changed by you (user). If you see the 'Business Processes' tab, you will also see the this won't allow assignment to a Delivery and so on. So my point is having a user status will not help you. Based on the combination of system and user statuses, some processes are permitted, some not. For example if Goods Receipts are allowed, may be you can receive without an Inbound delivery.  I am mentioning this as a thought initiator, I know you will have a Return/Repair order process including a return delivery.
    I guess you have to systematically prevent the user from  doing whatever they are doing out of turn, e.g., forgetting to reassemble (install?) and for this User statuses can help.
    Let us know your process more in detail and I am sure SAP will have a standard way to receive a child part of a big assembly. Other members will share their practices also.
    Take care.

  • Bapi for Goods Receipt - Outbound Delivery

    Hello all,
    I am looking for a Bapi for <b>Goods Receipt for Outbound Delivery</b>.
    I have searched the forum but found BAPIs only for GR for Inbound Delivery, GR for purchase order etc. But not for GR for Outbound Delivery.
    Can someone guide?
    Thanks and Regards,
    Reena

    Hi Reena,
    use this code....
    *& Report  ZSAN_BAPI_GOODSMVT_CREATE                                   *
    REPORT  ZSAN_BAPI_GOODSMVT_CREATE .
    DATA: GOODSMVT_HEADER LIKE BAPI2017_GM_HEAD_01,
          " Material Document Header Data
          GOODSMVT_CODE LIKE BAPI2017_GM_CODE,
          " Assign code to transaction for BAPI goods movement
          MATERIALDOCUMENT LIKE BAPI2017_GM_HEAD_RET-MAT_DOC,
          " Number of Material Document
          GOODSMVT_ITEM LIKE BAPI2017_GM_ITEM_CREATE OCCURS 0 WITH HEADER LINE,
          " Create Material Document Item
          RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE
          " Return table for messages
    *Fill values in header
    GOODSMVT_HEADER-PSTNG_DATE = '20030825'.
    GOODSMVT_HEADER-DOC_DATE = '20030802'.
    *Fill GOODSMVT_CODE
    GOODSMVT_CODE-GM_CODE = '05' .
    *Fill Item Table
    GOODSMVT_ITEM-MATERIAL = '100-100'.
    GOODSMVT_ITEM-PLANT = '1000'.
    GOODSMVT_ITEM-STGE_LOC = '0001'.
    GOODSMVT_ITEM-MOVE_TYPE = '501'.
    GOODSMVT_ITEM-ENTRY_QNT = '50'.
    GOODSMVT_ITEM-ITEM_TEXT = 'Test Sanket'.
    *GOODSMVT_ITEM-COSTCENTER = '1000'.
    APPEND GOODSMVT_ITEM.
    *Create Good's movement
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
      EXPORTING
        GOODSMVT_HEADER  = GOODSMVT_HEADER
        GOODSMVT_CODE    = GOODSMVT_CODE
      IMPORTING
        MATERIALDOCUMENT = MATERIALDOCUMENT
      TABLES
        GOODSMVT_ITEM    = GOODSMVT_ITEM
        RETURN           = RETURN.
    *Commit BAPI
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        WAIT = 'X'.
    *Display Goods movement number
    FORMAT COLOR 6 INVERSE ON.
    READ TABLE RETURN WITH KEY TYPE = 'E'.
    IF SY-SUBRC = 0.
      WRITE: /,'ERROR! Goods movement not created'.
    ELSE.
      WRITE: /,'Goods movent number',MATERIALDOCUMENT COLOR 5,
               'posted for material',GOODSMVT_ITEM-MATERIAL.
    ENDIF.
    FORMAT COLOR OFF INVERSE OFF.
    If useful reward me with points.
    Thanks
    Sanket.

  • Error in post goods receipt of delivery for a cross company return STO

    Hi
    I created a cross company return STO in ME21N (with returnd indicator). Vendor V001 (DC) and Site F001.
    I created a delivery in VL10B. Delivery Type NCR.
    I did a Goods Receipt for STO. Movement Type 161. Internally stock in issued from site F001.
    I am trying to do a Post Goods Receipt of the Delivery in VL02N and I am getting this error.
    Delivery quantity is greater than supplying site stock quantity
    Message no. VL900
    Supplying site is F001 which has enough stock.
    DC has no stock and I amtrying to return stock to DC from store.
    How to eradicate this issue?
    Thanks and Regards

    Hi
    http://wiki.sdn.sap.com/wiki/display/B1/SAPBusinessOne...ToGo-3.TheBasicsofFinancial+Accounting
    http://help.sap.com/saphelp_sbo88/helpdata/en/45/06b9997d720487e10000000a155369/content.htm
    kiran

Maybe you are looking for

  • Error in creation of Lead by Channel Manager

    Hi All, I created Channel Manger Portal for creation of Lead using blview=MKT_LEAD_M,BSP Application=CRM_BSP_FRAME and CRM Application=CRMD_BUS2000108. It is working fine for search only.when i click on create button then no process is going and i am

  • Can you connect external HD to time capsule and use it as NAS?

    I have a Time Capsule which I uses to back up my family's mac.  I also have an Airport Extreme to extend the range.  I have no problem reversing the function as to have the Time Capsule extend if need be. My wife's old Power PC display took a crap, a

  • Additional columns in Cross tab

    If I have Project name as the column and project count as the summary in a cross tab for eg ProjectA,ProjectB, ProjectC 3,             4,           5 CaN i add additional columns next to project C having  some condition related to these projects and

  • How do you change the color of the appointments that show up in Calendar?

    How do you change the color of the scheduled appointments in calendar? All of mine seem to show up in red when they are actually in blue on my computer.

  • Business partner replication from CRM to ECC

    Hi everyone,     In case of vendor master data after business partner creation  in CRM  the vendor Master Data should get created in ECC system also at the moment i dont have an idea whether it will get replicated to ecc are not can any one help me h