Post Goods Receipt from Inbound Delivery

Hi,
I need to find a customer enhancement or a BADI that is modifyed a field when a Post Goods Receipt is created for an inbound delivery, in transaction VL32N.
I have tried to use the Business Add-In LE_SHP_GOODSMOVEMENT, but the field I modified after is overwritten. It is a field of the mseg structure.
Can anybody please advise on the available exits or BADIs?
Thanks

Hi,
Please clarify whether you want to modify th efield at item or header. Please check the Badi names Starting with LE_SHP* .These BADI' are for Delivery.find the Suitable BADI and Apply it. For custom tab at header BADI is  LE_SHP_TAB_CUST_ITEM
LE_SHP_TAB_CUST_OVER
The BADI does not allow the update of data. There is a common trick used to perform the job ...
- in the BADI, export the data to memory (e.g. in TRANSFER_DATA_FROM_SUBSCREEN)
- in the old-fashion exit like USEREXIT_MOVE_FIELDS_TO_LIPS, import the data and map it.
I hope this will resolve your issue. Thanking you.

Similar Messages

  • Inbound IDOC to post goods receipt with inbound delivery as reference

    Kindly let me know the message and IDOC type for
    Inbound IDOC to POST GOODS RECEIPT  with inbound delivery as reference
    I tried using WMMBXY but it didn;t work.
    Pls let me know asap.Your help is appreciated.
    Thanks and Regards
    Priti
    Edited by: Priti Adukia on Feb 11, 2008 4:48 AM

    Hi Nicole,
    What I've to do is quite the same as the case. Outbound and Inbound are in the same SAP system. If I've good understanding, I must set partner profile as follows :
    INBOUND - Parter LI with
                            Message DESADV
                            Operation code DELS
    OUTBOUND - Partner KU
                            Message DESADV
                            Operation code ???
    Please advise
    Suchart

  • Batch needs to be created 1st then post goods receipt with inbound delivery

    Hi,
    We are having split valuated materials with batch managed, we need to post goods receipt with inbound delivery.
    When we create inbound delivery with PO batch is blank which is correct.
    Now when we try to post GR with IBD in VL32N we need to put batch, but we are getting error message as batch is not available in receiving plant.
    In this case we have to create batch 1st with MSC1N and then we can put batch number in Vl32N and can post GR.
    If material is not split valuated we can put batch manualy(Without creation in MSC1N) in VL32N and it is allowing to post GR with batch.
    Can you please let me know this behaviour, is there any SAP note available about this behaviour.
    Thanks
    Sudhir

    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 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

  • Fields mapping IDOC WMMBXY to post Goods Receipt against Inbound Delivery

    Hi Friends
    I am testing Goods Reciept against Inbound Delivery using Inbound IDOC.
    IDOC Type used WMMBXY  and Function Module :
    System is giving erorr message as "Document does not contain any items".
    Kindly let me know segment data mapping for above IDOC type
    Following data are passed to segments,
    E1MBXYH-BLDAT  Document date
    E1MBXYH-BUDAT Posting date
    E1MBXYH- XBLNR  .. in this field i am passing Inbound Delivery number
    E1MBXYH- TCODE  ...  MIGO
    E1MBXYI-BEAKZ   ...  B Goods Receipt against Purchase Order
    E1MBXYI-MATNR     material number
    E1MBXYI-WERKS     Plant
    E1MBXYI-BWART    Movement Type
    E1MBXYI-LIFNR         Vendor code
    E1MBXYI-KZBEW      B
    E1MBXYI-POSNR      Item number in delivery
    E1MBXYI-VBELN       Inbound Delivery number
        E1MBXYJ-VLIEF_AVIS            Inbound Delivery number
        E1MBXYJ-VBELP_AVIS           Item number in Inbound Delivery
        E1MBXYJ-WM_KZBEW            Movement indicator
    Raj

    Hello,
    Did you recieve any answer or find a solution? I encounter a similar issue.
    Thanks in advance,
    Génia.

  • Post Goods Receipt for Inbound Delivery with BAPI_GOODSMVT_CREATE

    Hello,
    I try to post GR for an Inbound Delivey with BAPI_GOODSMVT_CREATE and it is not working.
    I know delivery number and PO number and give both to the bapi.
    I am not sure how to set the movement indicator in the item.
    When I set it to B.
    I do get a shortdump from MB_POST_GOODS_MOVEMENT numer 143, stating that this type of movement is not allowed with this transaction
    when setting to L I do get an error stating
    "Update control of movement type is incorrect (entry 101 X X _ L)"  from message class M7.
    Below is the coding for it.
    Thank you very much for your help
    Michael
    * Füllen der Kopfdaten
      ls_gm_header-pstng_date = sy-datum.
      ls_gm_header-doc_date = sy-datum.
      ls_gm_header-ref_doc_no = delivery_header-lifex.
      ls_gm_header-bill_of_lading = delivery_header-bolnr.
      ls_gm_header-gr_gi_slip_no = delivery_header-xabln.
      ls_gm_header-pr_uname = sy-uname.
      ls_gm_header-ref_doc_no_long = delivery_header-lifex.
      ls_gm_header-bill_of_lading_long = delivery_header-bolnr.
      lv_gm_code = '01'.
    * Füllen der Positionsdaten
      LOOP AT selected_delivery_items INTO ls_delivery_item.
        ls_gm_items-material          =  ls_delivery_item-matnr.
        ls_gm_items-plant             = ls_delivery_item-werks. "             0001
        ls_gm_items-stge_loc = ls_delivery_item-lgort.
        ls_gm_items-move_type ='101'. "101
        ls_gm_items-entry_qnt                      = ls_delivery_item-lfimg. "          10,000
        ls_gm_items-entry_uom                      = ls_delivery_item-vrkme.
        ls_gm_items-po_number                      = ls_delivery_item-vgbel. "55001582
        ls_gm_items-po_item                        = ls_delivery_item-vgpos. "00010
        ls_gm_items-mvt_ind = 'B'.
        ls_gm_items-expirydate = sy-datum + 30 .
        ls_gm_items-deliv_numb = ls_delivery_item-vbeln.
        ls_gm_items-deliv_item = ls_delivery_item-posnr.
        APPEND ls_gm_items TO lt_gm_items.
      ENDLOOP.
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header               = ls_gm_header
          goodsmvt_code                 =  lv_gm_code
    *     testrun                       = 'X'
    *   GOODSMVT_REF_EWM              =
       IMPORTING
         goodsmvt_headret              =  ls_gm_header_ret
         materialdocument              = lv_mat_docno
         matdocumentyear               = lv_mat_year
        TABLES
          goodsmvt_item                 = lt_gm_items
         goodsmvt_serialnumber         = lt_gm_serial_numbers
          return                        = lt_return
      if lt_return is INITIAL.
      endif.

    Hello Pranav,
    the input for the business data is correct.
    When performing the goods receipt with Migo it works.
    I think the B in the movement indicator is correct, but there might be something wrong with the other data.
    Best regards
    Michael

  • Goods receipt from Inbound Delivery

    My requirement is to get the Goods receipt no that got generated for a particular Inbound Delivery!
    Please do give me table used to get the same..

    Hi Sravanthi,
      Whenever a GR is made a <b>Material Document number</b> is created.
    U can view the MaterialDocuments from <b>MB03</b> transaction
    and it's values are stored in tables are <b>MKPF</b> and <b>MSEG</b>.
    cheers,
    Kalyan

  • Posting goods receipt against Inbound Delivery

    Hi,
    Our process is creating Purchase order with Confirmation control for Inbound delivery. Then we create a Inbound delivery.
    1) After inbound delivery is done we do PGR through VL32N, the system updates the PO history with GR along with the Inbound delivery no. as a reference document against the GR & also the Inbound delivery document flow is updated.
    2) But our problem is if we try to do Goods receipt through T-code MIGO against Puchase order or inbound delivery we are not getting reference no. updated in the PO history & also there is no update in the document flow. Also the inbound delivery remais open.
    Can you explain why this is happening?
    Regards,
    Sagar

    Hi Sagar,
    It is very much possible to do GR using MIGO and document flow will also be updated, you have to do certain config settings for this which is as follows:
    in SPRO go to Logistics execution - Shipping - Basic shipping functions - Configure global shipping data - tick document flow update.
    Now when you check in Table VBFA you will get the Material Document No. in field VBELN and the status shall aso be updated and inbound delivery will be closed after complete GR.
    Hope it solves your problem

  • 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

  • Inspection Lot created before Post Goods Recept of Inbound Delivery

    Does anyone have experience of an inspection lot being created before a Post Goods Receipt is performed for an Inbound Delivery. This is preventing me from receipting the stock as
    1. When you try to post goods receipt, I receive a warning that the stock can only be moved in QM only
    2. When I try to apply a UD in the inspection lot and post the stock, the stock cannot post as the Handling Units are linked to the Inbound delivery
    Any help would be welcome

    Hi,
    Please clarify whether you want to modify th efield at item or header. Please check the Badi names Starting with LE_SHP* .These BADI' are for Delivery.find the Suitable BADI and Apply it. For custom tab at header BADI is  LE_SHP_TAB_CUST_ITEM
    LE_SHP_TAB_CUST_OVER
    The BADI does not allow the update of data. There is a common trick used to perform the job ...
    - in the BADI, export the data to memory (e.g. in TRANSFER_DATA_FROM_SUBSCREEN)
    - in the old-fashion exit like USEREXIT_MOVE_FIELDS_TO_LIPS, import the data and map it.
    I hope this will resolve your issue. Thanking you.

  • Deficit of stock in Posto Goods Receipt of inbound delivery

    Hi folks. I´m trying to post goods receipt of an inbound delivery (return order), but for one material we get this message:
    Deficit of BA Unrestricted-use 21 CRT : 697-0 0001 3002 DEVOLUÇÕES
    I don´t get it, since it seems to me that its calling a deficit of 21 crates of the material 697-0, but this is an inboud delivery! I don't have any stock of this material at this plant.
    Any suggestions?

    The message looks it is checking for batch. Go to t.code 0VLP (Zero V L P), select the item category of the inbound delivery and go to the details. In the warehouse control and packing data you can find a field No batch check. Check this field and test again. Also make sure, the AutoBatchDetermination box is UNCHECKED.
    Regards,

  • Goods Receipt using Inbound Delivery with reference to Outbound Delivery

    Here is our scenario that we need help finding a solution:
    1.  Multiple Intracompany POs created
    2.  On the confirmations tab of the POs, we have u201CInbound Deliveryu201D Selected because the items need to be received in with Handling Unit management.
    3.  We have the Order Combination box checked on the shipping tab to allow 1 delivery to be created for multiple purchase orders.
    4.  We create only 1 Outbound Delivery for only available items on various purchase orders.
    5.  Due to being handling unit managed, we need to receive the items using an inbound delivery.
    Problem:  We need to find a solution to easily enter an outbound delivery number which will allow us to receive only the parts that were shipped (issued), via the inbound delivery process. 
    If we remove the confirmation control key, we can complete a Goods Receipt for Outbound Delivery in MIGO u2013 but is there a way to complete a goods receipt using an inbound delivery with reference to an Outbound Delivery?
    Thank you for the help.

    Hi,
    You can work with Inbound delivery created via IDOC Triggered from Outbound Delivery, this will carry the HU Data as well. Please refer this wonderful note, which will explain you a lot of things,  Note 1119073 - FAQ: Automatic inbound delivery creation for stock transfers
    There are other notes also available for Inbound delivery creation with HU in STO, please browse the notes, if you find any difficulty.
    Regards
    Chandra Shekhar

  • 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?

  • How to post goods receipts from intra company two step scenario.

    Hi Guys,
    Intra company scenario between two plants of same company code.
    My process is as follow
    1. Created STO
    2. Created delivery doc through VL10B
    3. Did the PGI
    Once I post the PGI doc material status is goods in transit, from this stage I want to create goods receipts at receiving plant.
    Can any one suggest how to create goods receipts from material in transit position....
    Thanks and Regards
    Chandra Sekhar Alokam

    Dear Chandra Sekhar Alokam,
             You can follow std process to do GR using MIGO wrt: Outbound delivery document created in VL10B.
    in Intracompany STO-
    Go through the SAP Help, -
    [Cross-Company STO|http://help.sap.com/saphelp_47x200/helpdata/en/4d/2b90dc43ad11d189410000e829fbbd/frameset.htm]
                                              Movement Type - 645 ( one step) & 643(two step)
    Regards,
    Reazuddin MD

Maybe you are looking for