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

Similar Messages

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

  • 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

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

  • Posting Goods Receipt with ASN number in ECC with Message type: MBGMCR

    We are using Basic Idoc Type :MBGMCR02 to Post Auto Goods Receipt in ECC.
    This happens when external system ( 3rd Party System) sends this message which in turn posts the GR in ECC.
    Thru Goods Movement BAPI
    My Question is CAN WE POST auto goods receipt thru MBGMCR02 with Inbound delivery as reference document - Instead use ASN ( Advanced shipping notification ) which is Reference document in inbound delivery to Post Goods receipt in ECC.
    This is required for our integration peice with 3rd party system.
    And also pl let me if we can use Basic types MBGMCR01 or MBGMCR03 to post auto goods receipt in ECC with reference to PO which has confirmation control key set and instead of passing inbound delivery number can we pass ASN number which is external delivery ( Reference ) number and post goods receipt successfully in ECC.
    Would appreciate your immediate help in this regard.
    Regards,
    Mahesh

    Thank you Vinod.
    We are using MBGMCR02 to post Auto GR by using BAPI - Inbound into ECC.
    We have a 3PL scenario where third Party system will push this message to us ( ECC) which in turn post Auto Goods receipt.
    Here is the process:
    Systems involved : SNC / ECC / 3rd Party
    ASN gets published in SNC  which in turn posts inbound delivery in ECC and a copy of Inbound delivery with SNC ASN number is sent to third party system.
    Third party system is the Carrier ( shipper) they in turn send us the shipment confirmation when they send the goods.
    When they send it to our ECC we have MBGMCR02 to post Auto GR in ECC thru BAPI calling MB_GOODS_MOVEMENT
    This will post the GR with respect to inbound delivery- That works fine..
    Now we are testing an scenario where instead of sendindg ASN to 3rd part system from ECC after Inbound delivery is created.
    We want to send the ASN information ( Which will have PO number as well ) without  ECC 's inbound delivery number directly to 3rd party system  after ASN gets published in SNC thru PI - This is before inbound delivery is created in ECC.
    And the requirement is when 3rd Party system sends the shipment confirmation to ECC  - They will send ASN ( SNC ASN) and ECC  PO number with quantity , vendor , movement type :101 , movement indicator etc -  CAN in ECC when you send these information without inbound delivery posts Auto Goods receipt.
    Based on SNC ASN which is external delivery number in ECC as per PO / Reference number in Inbound delivery document.
    Can MBGMCR01/ 02 / 03  posts GR in ECC with these information ( Mean without the ECC inbound delivery number )
    Which will allow us to avoid the step of sending ASN information along with inbound delivery to 3rd party system after inbound delivery is created - Instead will send directly from SNC / PI / 3rd party
    Point to be noted is - These are SNC PO's which will always have confirmation control key.
    When 3rd part send the shipemnt confirmation with SNC ASN number and PO number while posting Idoc in ECC any of MBGMCR idoc types should check / search for inbound delivery associated and post the GR in ECC
    Can you pl let me know your thoughts pl
    Thanks,
    Mahesh

  • Post Goods Receipt with HU

    Hi,
    I need to do Post Goods receipt for HU ( inbound delivery).
    I'm using the fn module WS_DELIVERY_UPDATE_2.
    For that,i've updated the vbkok_wa structure with the below data
      i_vbkok-vbeln    = delivery number
      i_vbkok-lgnum    = warehouse
      i_vbkok-SPE_AUTO_GR = 'X'.
    Please let me know what all parameters are required to be updated for the fn module WS_DELIVERY_UPDATE_2 to do post goods receipt for hu.
    Thanks and regards,
    Poornima
    Edited by: poornima v on Jun 17, 2009 4:45 PM

    Hi,
    I need to do Post Goods receipt for HU ( inbound delivery).
    I'm using the fn module WS_DELIVERY_UPDATE_2.
    For that,i've updated the vbkok_wa structure with the below data
      i_vbkok-vbeln    = delivery number
      i_vbkok-lgnum    = warehouse
      i_vbkok-SPE_AUTO_GR = 'X'.
    Please let me know what all parameters are required to be updated for the fn module WS_DELIVERY_UPDATE_2 to do post goods receipt for hu.
    Thanks and regards,
    Poornima
    Edited by: poornima v on Jun 17, 2009 4:45 PM

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

  • Inbound idoc for posting Goods movements

    hi,
      iam using Transaction WE19 and posting some test data to post goods movement into same system for testing . i have used the message type MBGMCR and process code BAPI for the inbound processing.
    Iam posting test data for movement types 101,102,641 and 642 .and iam processing with the unbound FM BAPI_IDOC_INPUT1,  but iam getting a status 51 (application dod not posted ) with error as ' Update control of movement type is incorrect (entry 101 X X )'.
    what does this mean? please suggest why this error could come?
    if i get a status of 54 - EDI: Partner profile inbound not available .what may be the error? my partner profile setting were correct.
    thanks,
    soha

    Hi !
    The error means that there is an inconsistency between the "given" data and the date that BWA 101 is needing.
    The Table that is beeing checked is the T156.
    Check the data you are giving to the idoc. You may check it with the IDOC-docu or with the Docu of the FM BAPI_GOODSMVT_CREATE to see what fields
    have to be filled in what way to create an 101 .
    Regards
    Rainer
    Some points would be nice if that helped...

  • Goods receipt with inbound delivery

    Hi,
    I need to make a goods receipt in reference to an inbound delivery using Idocs.
    But I don't find the idoc allowing to do that. I tried DELVRY03 but apparently It can't be used for this.
    Does some one know which Idoc type I should use.
    Thanks in advance.

    Hi Omar,
    You can use IDoc type <b>MBGMCR01/MBGMCR02/MBGMCR03</b> with message type <b>MBGMCR</b>.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • 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

  • Posting Goods Receipt PO partial delivery

    Hi SAP gurus,
    For example:
    PO # 1
    Item Code = Item001
    Quantity = 5
    Then for partial delivery , I received first 3 pcs of item001, then the last remaining 2 quantities will be delivered and received on the next day and thats the time the PO # 1 status will be closed. how can I do it on my c# program? I try to use the baseEntry and baseType for partial delivery but didn't work. using the baseEntry and baseType will automatically received all the items on the PO and closed it's status.
    Please help me.
    Thanks and best regards,
    Regual

    Hi Regual,
    Please don't double post.
    Regards,
    Johan

  • Post Goods Receipt(PGI) with custom condition types on purchase order(PO)

    Hi all,
    I am trying to post goods receipt with custom conditions on the PO. One of the custom conditions is freight (delivery cost). The value on this condition will post to a different G/L account (freight provision account, rather than GR/IR).
    My problem is, when posting this GR, the cost center assigned in the PO under 'account assignment' is not used for posting the custom condition, which I really need it to happen.
    Simply put, I want all postings from this PO inherit values in 'account assignment'.
    I have been looking into configurations in automatic posting and condition types, but I still have no clue where I can make it happen. Do I have to use BADI?
    Thanks.

    Delivey cost condition will be posted to accrual accounts not to the cost center.

  • Goods Receipt with respect to Handling Unit (Transaction u0096 MIGO)

    Hi All,
    A delivery is created for stock transport order for goods movement from Plant XXXX (Storage Location – YYYY) to Plant XXXX (Storage Location – ZZZZ).
    Handling Units are packed on delivery and delivery is post goods issued from Plant XXXX (Storage Location – ZZZZ).
    While posting goods receipt (Transaction – MIGO) without selecting “Via Handling Units” system populates the “packaging material” line item whereas when “Via Handling Units” is selected (in other words – when tried to post Goods Receipt with respect to Handling Units) system doesn’t populate the associated “packaging material”.
    Requirement is to populate “packaging material” line item while posting Goods Receipt with respect to Handling Unit.
    Plz guide me.
    Satish

    Hi Vatcan,
    Chek the Inbound Delivery 1st weather you refer the right PO in it
    You can also chek in  PO i
    1 Me23n Go to confirmation tab here you can see the  Inbound delivery  quantity
    2 Chek  which reference document you recived the goods,  (i.e You recived the goods with reference to PO or  Inbound delivery)
    2 Coz if you refer the inbound delivery then syestem will deafult show the inbound quanity
    And yes the actual quanity will update in inbound delivery if you refer the inbound deivery while reciveing the goods

Maybe you are looking for

  • Trying to email file from adobe reader 11.0 email addresses will not longer auto complete after moving to office 365

    trying to email file from adobe reader 11.0 email addresses will not longer auto complete after moving to office 365. It did work with older versions of outlook. Tried changing to global address book. It will only access global address book offline

  • Backup failed through DB13

    Can anybody tell me how to overcome the below issue. advance thanks. Job started Step 001 started (program RSDBAJOB, variant &0000000000011, user ID WILBASIS) Execute logical command BRCONNECT On host SAPIDES Parameters: -u / -jid CHECK20091116185555

  • IOT index corruption

    Hi all, We have this problem on production, one of the partitioned index organized table throws " invalid rowid" while doing full table scan. After running DBVerify, the corrupted block has been identified and it is related to an index corruption. So

  • Grid Control access issue after ip change

    Hi The ip address of the server was changed. In this server there was repisotory database and OMS. After that, I couldnt manage to start oms. When I try: opmnctl start all , I notice that it is hanging. I also cannot display Grid Control url, however

  • Merging two raid arrays together

    Hello, I'm not sure if this is posted in the right area. Please move this for advise me where to post if it isn't, thanks! I currently have 2 MD1000's connected to my Server2012r2 system and all 30 drives are in one massive Raid 6. I want to reformat