Help - BAPI_GOODSMVT_CREATE on an Inbound Delivery - R/3 4.7

Can anyone recommend how to get BAPI_GOODSMVT_CREATE working for an INBOUND delivery? I'm in R/3 4.7 and this BAPI does not update the delivery status or the delivery document flow for INBOUND deliveries. I have BAPI_GOODSMVT_CREATE working partially - it successfully creates the goods receipt and the P.O. doc flow is being updated.
Also, I am executing the COMMIT statement once directly after the FM call.
It seems the BAPI is not intended to do this functionality.  How have you handled this scenario?

Dear all
Bapi BAPI_GOODSMVT_CREATE could be used to post goods receipt against inbound delivery but in consequence no Delivery document flow is updated. This is official SAP explaination.
But there is solution to accomplish it. After posting goods movements you should update Inbound Delivery using fm SD_DELIVERY_UPDATE.
Check following coding:
form process_0112.
  clear post_status.
  post_status-delivery = wa_likp-vbeln.
* posting
  perform post_goodsreceipt     changing post_status.
  perform post_delivery_hist    changing post_status.
  perform post_transferorder    changing post_status.
* reversal posting if necessary
  perform reverse_goodsreceipt  changing post_status.
  perform reverse_delivery_hist changing post_status.
* display message in case of error
  perform issue_message         changing post_status.
* leave transaction
  leave to transaction sy-tcode.
endform.                    " process_0112
form post_goodsreceipt changing post_status structure post_status.
* DATA DECLARATION
* material document header
  data: begin of it_head.
          include structure bapi2017_gm_head_01.
  data: end of it_head.
* T158G special code
  data: begin of it_code.
          include structure bapi2017_gm_code.
  data: end of it_code.
* material document returned data
  data: begin of it_rthead.
          include structure bapi2017_gm_head_ret.
  data: end of it_rthead.
* material document items
  data: begin of it_pos occurs 100.
          include structure bapi2017_gm_item_create.
  data: end of it_pos.
* error table
  data: begin of it_errmsg occurs 10.
          include structure bapiret2.
  data: end of it_errmsg.
* return data
  data: post_mat_doc  type bapi2017_gm_head_ret-mat_doc,
        post_doc_year type bapi2017_gm_head_ret-doc_year.
* FILL DATA
* material document header
  it_head-pstng_date  = sy-datum.           
  it_head-doc_date    = sy-datum.           
  it_head-header_txt  = 'RF'.               
  it_head-pr_uname    = sy-uname.
* T158G code
  it_code-gm_code     = '01'.
* material document items
  loop at it_lips into wa_lips where posnr <> space.
    it_pos-mvt_ind              = 'B'.
    it_pos-deliv_numb_to_search = wa_lips-vbeln.
    it_pos-deliv_item_to_search = wa_lips-posnr.
    it_pos-po_number            = wa_lips-vgbel.
    it_pos-po_item              = wa_lips-vgpos.
    it_pos-move_type            = '985'.
    it_pos-entry_qnt            = wa_lips-rv_lfimg.
    append it_pos.
  endloop.
* CALL BAPI
  refresh: it_errmsg.
  call function 'BAPI_GOODSMVT_CREATE'
    exporting
      goodsmvt_header             = it_head
      goodsmvt_code               = it_code
    importing
      materialdocument            = post_mat_doc
      matdocumentyear             = post_doc_year
    tables
      goodsmvt_item               = it_pos
      return                      = it_errmsg.
* check result
  if post_mat_doc is initial.
    post_status-post_mat_doc  = space.
    post_status-post_doc_year = space.
    rollback work.
  else.
    post_status-post_mat_doc  = post_mat_doc.
    post_status-post_doc_year = post_doc_year.
    commit work and wait.
  endif.
endform.                    " post_goodsreceipt
form post_delivery_hist changing post_status structure post_status.
* DATA DECLARATION
  data: it_vbfa    like vbfa occurs 0,
        wa_vbfa    like vbfa.
* CHECK IF UPDATE DELIVERY IS ESSENTIAL
  check not post_status-post_mat_doc  is initial
  and   not post_status-post_doc_year is initial.
* POPULATE TABLE
  loop at it_lips into wa_lips where posnr <> space.
    clear wa_vbfa.
    wa_vbfa-vbelv = wa_lips-vbeln.
    wa_vbfa-posnv = wa_lips-posnr.
    wa_vbfa-vbeln = post_status-post_mat_doc.
    wa_vbfa-vbtyp_n = 'R'.
    wa_vbfa-vbtyp_v = '7'.
    wa_vbfa-plmin   = '+'.
    select single zeile waers menge dmbtr meins matnr bwart
      from mseg
        into (wa_vbfa-posnn, wa_vbfa-waers,
              wa_vbfa-rfmng, wa_vbfa-rfwrt,
              wa_vbfa-meins, wa_vbfa-matnr,
              wa_vbfa-bwart)
          where mblnr = post_status-post_mat_doc
            and mjahr = post_status-post_doc_year
            and ebeln = wa_lips-vgbel
            and ebelp = wa_lips-vgpos.
    append wa_vbfa to it_vbfa.
  endloop.
* UPDATE DELIVERY
  data:    begin of yvbfa occurs 0.
             include structure vbfavb.
  data:    end of yvbfa.
  data:    begin of xvbfa occurs 0.
             include structure vbfavb.
  data:    end of xvbfa.
  data:    begin of xvttk occurs 0.
             include structure vttkvb.
  data:    end of xvttk.
  sort it_vbfa by mandt vbelv posnv vbeln posnn vbtyp_n.
  loop at it_vbfa into xvbfa.
    xvbfa-rfmng_flt = xvbfa-rfmng.
    xvbfa-updkz = 'I'.
    append xvbfa.
    at end of vbelv.
      call function 'SD_DELIVERY_UPDATE'
           exporting
                i_vbtyp          = '7'
                nicht_sperren    = 'Y'
                no_imseg_refresh = 'X'
           tables
                zxvbfa        = xvbfa
                zyvbfa        = yvbfa
                zxvttk        = xvttk
           exceptions
                others        = 1.
      if sy-subrc <> 0.
        exit.
      endif.
      refresh xvbfa.
    endat.
  endloop.
* check result
  if sy-subrc <> 0.
    post_status-post_deli_hist  = 'R'.
    rollback work.
  else.
    post_status-post_deli_hist  = 'C'.
    commit work and wait.
  endif.
endform.                    " post_delivery_hist

Similar Messages

  • Inbound delivery creation in STO via EDI/Idoc

    Hello experts,
    My requirement is like this:-
    Stock transfer order is created for supplying plant 2000 & receiving plant 2010.
    When the supplying plant 2000 posts an outbound delivery & PGI, at same time an Inbound delivery should be created in receiving plant 2010.
    I know theoretically that this is achieved by making confirmation settings & output types. But don't know exactly how to configure it.
    Can you please mention the process?
    I have referred the scn threads:
    Outbound Delivery to Inbound delivery by using IDOC
    how to configure the message control for DESADV
    SAP note 111903
    Receiving Vendor Confirmations via EDI - Purchasing (MM-PUR) - SAP Library
    But there is lack of clarity from my side.

    You do not need to use EDI messages to get an inbound delivery created when a PGI is done on the outbound delivery.
    Search for the config on the SPED output type. This SPED output message can be triggered during the PGI which results in the creation of an inbound delivery in the receiving plant.
    The receiving plant will have to maintain the confirmation control key 0004 at item level in the purchasing document.
    Link to SAP help Automatic Creation of Inbound Delivery - Transfer and Inventory Management - SAP Library
    Refer SAP note 1119073 point 3 and note 965176
    Regards,

  • Packing material in inbound delivery - intercompagny process with SPED

    Hi,
    I am processing intercompany stock transfer using SPED functionality, with automatic creation of inbound delivery.
    Using HUM and WM storage location managed, I would like to add automatic packing material items in inbound delivery.
    What I did already check:
    1. there is a plant in HU (packing material type in transaction VHAR; plant determination: B).
    2. there is an item category in HU (transaction 0184; following entry: EL / "blank" / PACK / / ELP -> Inbound delivery type EL,  packing material has general item category group "blank" , then I expect item cat ELP in inbound delivery).
    With these settings, automatic creation of inbound delivery does not work anymore: output SPED failed. Error message is VN056:
    "Processing log for program /SPE/STO_ID_PROCESSING routine STO_ID_CREATION". When I check output analysis, it is mentioned for SPED : "Output ignored (requirement 408 not fulfilled)".
    I also tried with following setting:
    transaction 0184; delete previous setting; add following entry: EL / VERP / PACK / / ELP -> Inbound delivery type EL,  packing material with general item category group VERP.
    In that case, automatic inbound delivery creation OK but no packing material in it.
    Any idea to help me?
    Thanks in advance.

    A few years ago I got some help that got some Inbound delivery functionality working, but it was never put into production.
    1. Receiving storage location specified on the STO.
    2. Receiving points set up in the receiving plant: IMG > Logistics Execution > Shipping > Basic Shipping Functions > Shipping Point & Goods Receiving Point Determination > Assign Goods Receiving Points for Inbound Deliveries.
    3. On packaging material to be used the assigned packaging material group should coincide with the IMG setting of the packaging material type assigned to the packaging material group.
    4.  Assigned movement type 101 to the DIGN item category: IMG > Logistics Execution > Shipping > Basic Shipping Functions > Deliveries > Define Item Categories for Deliveries
    Other settings but not mandatory
    1.  In delivery copying control assigned source NL to target DIG: IMG > Logistics Execution > Shipping > Basic Shipping Functions > Deliveries > Copying Control > Specify Copy Control for Deliveries > Define Item Categories for Deliveries
    2.  Make packing control mandatory for item category DIGN: IMG > Logistics Execution > Shipping > Basic Shipping Functions > Deliveries > Packing > Packing Control by Item Category
    3.  HUM Required for Plant/Storage Location: IMG > Logistics General > Handling Unit Mgmt > Basics >  Technical Basics > Materials Mgmt > Inventory Mgmt > HU Requirement for Storage Locations
    In our process the HU was already created in the Outbound delivery for the STO.  These HU were then copied to the Inbound delivery.  It still works in our DEV client, but it's not being used.  Hope it helps.

  • Inbound Idoc with T-code: BORGR ( Inbound delivery create) EDI cannection

    Dear all,
    Kindly help me to create inbound delivery with BORGR transaction.
    Here the we have to create the inbound delivery in the system with the help of vendor number and material without using Scheduling agreement number in BORGR
    Please suggest the processing code and the function module required for the BORGR document posting.
    I have done the following steps u2026but not able to post the dummy idoc through WE19 .
    1.     Use standard message Type DESADV (T code: WE81).
    2.     Use standard IDOC type DELVRY05 (T code: WE30).
    3.     Assign message type  to IDOC Type ( Tcode: WE82).Message Type:-DESADV, Basic Type:-DELVRY05,Release 700
    4.     Use standard assignment of process code DELS with the message type DESADV ( Tcode: WE42)
    5.     Inbound Function Module :  IDOC_INPUT_DESADV1 ( T code : WE57)
    6.     Define Port type File (Tcode: WE21) Port u2013 EDI_ASN Inbound Delivery.
    7.      Define Partner Profile (Tcode: WE20) Inbound Parameters.
    8.     Enhancement can be done in inbound IDOC as per the business requirement. Business has confirmed Field name wise Inbound IDOC data which will be received from vendor and all fields are available in the standard IDOC type DELVRY05.
    Please help if anything more required for posting dummy idoc .
    Thanks and regards,
    koshti

    Hi Dick,
    just one additional hint as we had recently such problems :
    It my happen that DESADV creates an inb.del <b>w/o</b> packing the HUs (idoc status is 'yellow' instead of 'red'). To avoid this OSS #912470 is the solution.
    Kind Regards
    Kay

  • Archiving  inbound delivery documents

    hi gurus,
    can you help in in archiving inbound delivery documents.
    This inbound delivery document is created after purchase order is created with confirmation control.
    Pls tell  me the programme through which i can do it.
    What should i do before doing the archiving.

    >  archiving inbound delivery documents.
    Hi Pavan,
    The following link will help you understand the concept of archiving as well the implementation process:
    [Data Archiving|http://help.sap.com/saphelp_nw04s/helpdata/en/2b/086f3b6c980c3be10000000a11402f/frameset.htm]
    Regards,
    Swapna

  • Packing Inbound Delivery

    Hi ,
    Can anyone help me changing the Inbound Delivery through Function Module. My Scenario is i have to pack the  Inbound delivery ( Change )through Function Module. For this i'm using 'PROCESS_HU_INBOUND_DLVRY'. This is creating Handling Unit but not picking the Material.
    thanks in advance,
    anjani.

    Hi,
    There is small sample (of course you must adjust it according to your master data):
    DATA: HEADERPROPOSAL LIKE BAPIHUHDRPROPOSAL,
          ITEMSPROPOSAL LIKE BAPIHUITMPROPOSAL OCCURS 0 WITH HEADER LINE,
          HUHEADER LIKE BAPIHUHEADER,
          HUKEY LIKE BAPIHUKEY-HU_EXID,
          RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE,
          HUITEM LIKE BAPIHUITEM  OCCURS 0 WITH HEADER LINE.
    HEADERPROPOSAL-PACK_MAT = '000000000000600001'.
    ITEMSPROPOSAL-HU_ITEM_TYPE = 1.
    ITEMSPROPOSAL-PACK_QTY = 5.
    ITEMSPROPOSAL-BASE_UNIT_QTY = 'KG'.
    ITEMSPROPOSAL-MATERIAL = '000000000000706602'.
    ITEMSPROPOSAL-BATCH = '0000800468'.
    ITEMSPROPOSAL-PLANT = '0000'.
    ITEMSPROPOSAL-STGE_LOC = '0000'.
    APPEND ITEMSPROPOSAL.
    CALL FUNCTION 'BAPI_HU_CREATE'
      EXPORTING
        HEADERPROPOSAL       = HEADERPROPOSAL
      IMPORTING
        HUHEADER             = HUHEADER
        HUKEY                = HUKEY
      TABLES
        ITEMSPROPOSAL        = ITEMSPROPOSAL
        RETURN               = RETURN
        HUITEM               = HUITEM.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    HUHEADER-PACK_MAT_OBJECT = '01'.
    HUHEADER-PACK_MAT_OBJ_KEY = '0080002891'.
    CALL FUNCTION 'BAPI_HU_CHANGE_HEADER'
      EXPORTING
        HUKEY           = HUKEY
        HUCHANGED       = HUHEADER
      IMPORTING
        HUHEADER        = HUHEADER
      TABLES
        RETURN          = RETURN.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    DATA: LS_VBKOK_WA TYPE VBKOK,
          LT_PROT TYPE TABLE OF PROTT,
          LT_REHANG TYPE TABLE OF HUM_REHANG_HU,
          LT_REHANG_WA TYPE HUM_REHANG_HU.
    LS_VBKOK_WA-VBELN = '0080002891'.
    LS_VBKOK_WA-WABUC = 'X'.
    LS_VBKOK_WA-VBELN_VL = '0080002891'.
    LS_VBKOK_WA-VBTYP_VL = '7'.
    LOOP AT HUITEM.
      LT_REHANG_WA-VENUM =  HUHEADER-HU_ID.
      LT_REHANG_WA-VEPOS =  HUITEM-HU_ITEM_NUMBER.
      LT_REHANG_WA-RFBEL =  '0080002891'.
      LT_REHANG_WA-RFPOS =  '000010'.
      APPEND LT_REHANG_WA TO LT_REHANG.
    ENDLOOP.
    CALL FUNCTION 'WS_DELIVERY_UPDATE'
      EXPORTING
        VBKOK_WA           = LS_VBKOK_WA
        SYNCHRON           = 'X'
        COMMIT             = 'X'
        DELIVERY           = '0080002891'
        NICHT_SPERREN      = space
      TABLES
        PROT               = LT_PROT
        IT_HANDLING_UNITS  = LT_REHANG.
    Krzys

  • Change Inbound Delivery(BAPI_INB_DELIVERY_CHANGE )

    Hi All,
    I want to change Inbound delivery Header and Item Data By useing BAPI- BAPI_INB_DELIVERY_CHANGE. But its not able to change.
    Plz help me for changeing  Inbound delivery by useing BAPI in my program.
    Reagards,
    Sunil Sahoo

    Hi Sunil,
    Have you used BAPI_TRANSACTION_COMMIT after your BAPI ?
    Regards,
    Nitin.

  • HUM Packing Proposals in Inbound Delivery

    Hi All,
    I have the following issue.
    When we receive a delivery from a vendor and we perform the inbound delivery, the delivery defaults in the purchase order quantity. As we have setup packing proposals for that vendor, when we go to the pack view the HU structure has already been created, which is Ok for complete delivery.
    When we have partial deliveries and try to change the receipt quantity we get an error that HU's have already been packed.
    We do not want to have to go in and unpack everything each time we do a partial deliverya s this is very common.
    Is the system working this way due to an auto pack option or is this how it works with packing proposals.
    I would expect that when we change the dleivery we can go in to the pack screen and ask it to pack per the delievry quantity.
    Any ideas?
    Thnaks
    Stuart

    A few years ago I got some help that got some Inbound delivery functionality working, but it was never put into production.
    1. Receiving storage location specified on the STO.
    2. Receiving points set up in the receiving plant: IMG > Logistics Execution > Shipping > Basic Shipping Functions > Shipping Point & Goods Receiving Point Determination > Assign Goods Receiving Points for Inbound Deliveries.
    3. On packaging material to be used the assigned packaging material group should coincide with the IMG setting of the packaging material type assigned to the packaging material group.
    4.  Assigned movement type 101 to the DIGN item category: IMG > Logistics Execution > Shipping > Basic Shipping Functions > Deliveries > Define Item Categories for Deliveries
    Other settings but not mandatory
    1.  In delivery copying control assigned source NL to target DIG: IMG > Logistics Execution > Shipping > Basic Shipping Functions > Deliveries > Copying Control > Specify Copy Control for Deliveries > Define Item Categories for Deliveries
    2.  Make packing control mandatory for item category DIGN: IMG > Logistics Execution > Shipping > Basic Shipping Functions > Deliveries > Packing > Packing Control by Item Category
    3.  HUM Required for Plant/Storage Location: IMG > Logistics General > Handling Unit Mgmt > Basics >  Technical Basics > Materials Mgmt > Inventory Mgmt > HU Requirement for Storage Locations
    In our process the HU was already created in the Outbound delivery for the STO.  These HU were then copied to the Inbound delivery.  It still works in our DEV client, but it's not being used.  Hope it helps.

  • BAPI_GOODSMVT_CREATE short dump while posting a GR for inbound delivery

    Dear Experts,
    I am using BAPI_GOODSMVT_CREATE to post a goods receipt for a PO using Inbound Delivery
    here is how I am populating bapi input parameters:
      lw_goodsmvt_code-gm_code = '01'.
      lw_goodsmvt_item-deliv_numb =  lw_inb_delivery_items-delivery.
      lw_goodsmvt_item-quantity = lw_inb_delivery_items-deliv_qty.
      lw_goodsmvt_item-entry_qnt = lw_goodsmvt_item-quantity
      lw_goodsmvt_item-no_more_gr = ''.
      lw_goodsmvt_item-move_type = '101'.
      lw_goodsmvt_item-mvt_ind = 'B'.
      lw_goodsmvt_item-STGE_LOC = '0001'.
        lw_goodsmvt_item-po_number and   lw_goodsmvt_item-po_item are populated as well.
    When I execute the BAPI I get the short dump
    Message Class: 'VL'
    Number = 143
    in the module MB_POST_GOODS_MVT and a reference to 385830 note.
    Would you please help me how to solve this problem?

    from the dump the error orrcurs here:
    CALL FUNCTION 'MB_CREATE_MATERIAL_DOCUMENT_UT'
            EXCEPTIONS
              error_message = 4.
    As soon as we have started to put things into UPDATE TASK, we must
    ensure that errors definitely terminate the transaction.
    MESSAGE A is not sufficient because it can be catched from
    external callers which COMMIT WORK afterwards, resulting in
    incomplete updates. Read note 385830 for the full story.
       IF NOT sy-subrc IS INITIAL.
    >      MESSAGE ID sy-msgid TYPE x NUMBER sy-msgno WITH            "385830
                     sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        MESSAGE A263.
       ENDIF.
    The short text of the error is: Cannot be processed with this transaction.
    Can you tell me if my BAPI Call is correct to post GR in Inbound Delivery?

  • Help Rgd. BAPI for Creation of Inbound delivery Document

    Hi all,
    I need a Bapi to create inbound delivery document without using PO reference. I have seen the below BAPIs. i) BAPI_IBDLV_CREATE_FROM_OBDLV, 
    ii) BAPI_GOODSMVT_CREATE. I am not sure whether they are for creating inbound delivery document without using PO reference.
    It will be of great use if anyone can give me the BAPI for the purpose and the mandatory parameters or sample test data for the BAPI.
    Thanks in Advance,
    Rakesh.

    If you create the inbound delivery->check the purchase order in the tabstrip "Confirmations" on item level. There are three fields: "Confirmation control key", "Order acknowl." and "acknowl. required".
    Ckeck if there is a value in "confirmation control key".
    You should get the same error if you try to create VL31N in dialog mode, not only by using the bapi.
    Rgds,
    JP

  • Need help in updating Inco terms 1 and 2 in the Inbound delivery creation

    Hi Group,
    I have created an output type that will be triggered before an Inbound Delivery is created from the Outbound Delivery ( this scenario is in STO orders - Inter company stock transfer process ).
    I have copied a standard processing routine and customized it but, I am not able to update the 2 fileds (INCO1 and INCO2) in the item delivery of the Inbound Delivery. I was using the FM 'WS_DELIVERY_UPDATE' to update these 2 fields( by passsing the values fetched from the Outbound Delivery into the structure 'vbkok_wa' and the Inbound delivery created into the field 'delivery' of the FM ).
    When I run the the FM this is giving me errors and thus no Inbound Delivery is getting created.
    Please suggest me with some other way of updating these fields in the Inbound Delivery.
    and one more thing is that, I was selecting the Inco terms from the table LIKP directly, but this should not be the proper way to read the Incoterms, so please suggest me a way to read these 2 fields from the Outbound Delivery.
    to summarize, I need an FM to get the Incoterms from Outbound Delivery initially, and then, require another FM to update these Incoterms in the Inbound Delivery( this is a typical scenario in an STO - Stock Transport Order ).
    Please let me know your input on these 2 cases.
    Thanks for the help in advance.
    Regards
    Vishnu.

    Hi Group,
    By implementing the BADI 'LE_SHP_DELIVERY_PROC' this particular requirement can be fulfilled.
    Regards
    Vishnu.

  • BAPI_GOODSMVT_CREATE using inbound delivery with HU

    I have a program that uses BAPI_GOODSMVT_CREATE to GR Post the inbound delivery.  The inbound delivery is created thru ASN.  But I encounter error message BORGR 637 "Inbound delivery cannot be packed".  This error occurred because item packing status (VBUP-PKSTA) = 'C', the inbound delivery has HU items and is packed already.  This cannot be avoided because deliveries coming from the ASN is possible to have HUs already. Is there a workaround with this or maybe the parameters used are wrong or incomplete ?
      lv_grcode = '01'.
      MOVE: sy-datum TO ls_header-pstng_date,
            sy-datum TO ls_header-doc_date,
            sy-uname TO ls_header-pr_uname,
            likp-vbeln TO ls_header-ref_doc_no,
            '2' TO ls_header-ext_wms.
        MOVE: gt_lips-matnr   TO lt_item-material,
              gt_lips-werks   TO lt_item-plant,
              '101'           TO lt_item-move_type,
              gt_lips-lgort   TO lt_item-stge_loc,
              likp-lifnr      TO lt_item-vendor,
              gt_lips-n_lfimg TO lt_item-entry_qnt,
              gt_lips-meins   TO lt_item-entry_uom,
              gt_lips-vfdat   TO lt_item-expirydate,
              likp-vbeln      TO lt_item-deliv_numb_to_search,
              gt_lips-posnr   TO lt_item-deliv_item_to_search,
              'B'             TO lt_item-mvt_ind.
        APPEND lt_item.
    Thanks in advance

    Hello Giancarla,
    How you managed this situation, I mean, since you received no updates from this SCN topic how it was solved in your customer?
    I am also facing the same problem and I am doing research with correction notes, additional BAPIs and reversal engineering in BORGR transaction code to find out a way to enable GR for packed materials.
    Thanks in advance for your inputs.
    Regards,
    Luciano Ap. Souza

  • Inbound Delivery Idoc- Create ... help required

    Hi,
    I'm using DELVRY01 idoc to create deliveries. when i execute using test tool, the idoc gets created with error status 51 with following errors:
    Field EXIDV empty
    Message no. VL243
    Diagnosis
    A required field in the intermediate document (IDoc) is not filled. This is the field EXIDV in segment 000042.
    Field VHILM empty
    Message no. VL243
    Diagnosis
    A required field in the intermediate document (IDoc) is not filled. This is the field VHILM in segment 000039
    But these errors reflect to handling unit from segment E1EDL37 and its sub nodes which are really NOT required in my case.
    Now confused if i'm using a wrong reference of creating inbound delivery. Pls shre some thoughts on it on troubleshooting this issue.

    Hi Prabhu
    these two fields are mandatory .. fill below details
    E1EDL37-Handling unit header
    EXIDV     <XXXXXXXXXXXXX>     External Handling Unit Identification
    GWEIT     <LB>             Weight Unit Tare
    BRGEW     <000XX>                             Total Weight of Handling Unit
    VHILM     <Dummy Packing Material>     Packaging Materials
    E1EDL44-IDoc: Handling Unit Item (Delivery)
    VBELN     <Delivery nO>     Sales and Distribution Document Number
    POSNR     <900004>     Item number of the SD document
    EXIDV     <XXXXXXXXXXXXX> External Handling Unit Identification
    VEMNG     <00001>     Base Quantity Packed in the Handling Unit Item
    Dont forget to create Dummy packing material no...
    i think above mapping helps you...
    Thanks
    Ramesh

  • Please  Help me How write the BDC program for the MIGO inbound Delivery

    Please help me how to write bdc program for the MIGO Inbound Delivery in 4.7EE Version. Please help me.
    Not in LSMW.  Required call transaction or Session Method. Please help me.
    Mohan

    Run transaction BAPI . Select Logistics Execution/Shipping/InboundDelivery/SaveReplica.. You can use function module BAPI_INB_DELIVERY_SAVEREPLICA in your ABAP program.

  • Need help on Inbound Delivery - Mapping from IDoc to LIKP Table

    Hi,
    For the DESADV IDoc (Inbound Delivery) we are currently mapping data to the LIKP table for a subset of fields via  function module INPUT_IDOC_DESADV.  If I wanted to map the ABLAD - Unloading Point field from the IDoc to the LIKP - ABLAD - Unloading Point field is this possible and if yes, what work would be required? 
    And could you please let me know how to find out an user exit for the message type? (message type = desadv)

    Hi Murphy,
    Try this custom function '002'.
    CALL CUSTOMER-FUNCTION '002'
           EXPORTING
                xekko     = ekko
                xlfa1     = lfa1
                xlfb1     = lfb1
                dobject   = object
           TABLES
                int_edidd = int_edidd
                xekpo     = xekpo
                xeket     = xeket
                dvbak     = xvbak
                dvbap     = xvbap
                dvbkd     = xvbkd
           EXCEPTIONS
                error_message_received        = 1
                data_not_relevant_for_sending = 2.
    Hope this will help.
    Regards,
    Ferry Lianto

Maybe you are looking for

  • Closing the IE browser thro' Java application

    Hi, I have a requirement wherein I have to close the applications launched like (Internet exploer window) thro my java application. Can anyone help me on this? I tried using Runtime class Process.destroy( ) method. But still not able to find the exac

  • Help with purchase order

    hie all, i have a problem with a custom purchase order. The item text  for a line item is over shadowing the line item, they are sitting on top of each other.. how ever if i comment out the item text the line item is displayed properly. the Item text

  • Escalation in multi-level approval

    Hi all, I have created a release workflow for an RFQ.I have used a rule to send mails for approval to different release levels The escalation scenario follows : If an L1 doesn't respond to the approval mail in 5 days, I need to send it to the next le

  • Adobe Reader registry keys gone when upgrading to 9.1; Need help finding

    I had a couple of registry values disappear after the install of 9.1 Disable JavaScriopt in Adobe: HKCU\Software\adobe\Acrobat Reader\9.0\JSPrefs  (I can no longer find this key) "bEnableJS"dword:00000000 Disable the displaying of pdf documents in we

  • IMac won't boot past White Screen

    Yesterday I turned on my computer and I got stuck at the white screen with the spinning dial and the apple logo. I tried to run disk utility and restore my Mac HD, it says there were problems with it, but when I tried to repair it said it cannot fix