Missing Goods receipt for inbound using VL32N

Hello All:
An inbound was posted into our system (version ECC 6.0) as complete, but the goods receipt shows a zero qty. and value.   I have traced the error that caused this to the value missing on the material master & also the conversion for units of measure was missing for the qty. they entered on the inbound. 
I have attempted to reverse the Goods receipt but get the error "Qty and / or "delivery completed" ind. or final issue ind. are missing
Message no. M7264"
With the Diagnosis listed as:
Diagnosis
The quantity and inward delivery completed or final issue indicator are missing for an item, for which a goods movement should be posted via the function module MB_CREATE_GOODS_MOVEMENT.
My goal is to either reverse this or complete the GR with qty and value within the delivery.  Any advice or help would be greatly appreciated.
Best regards,
Laura

HI ALL,
I am also facing the same issue. Can any one please help me in this issue.
Regads,
Pavan

Similar Messages

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

  • 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

  • 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

  • Goods Receipt for PO using BAPI

    Hello,
    I need to do a goods receipt for a purchase order using bapi_goodsmvt_create for movement type 101. My function module does not return the material document number. Can someone help me with my code?
    Thanks,
    A.P.
    FUNCTION Z_GR_BAPI.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(I_CODE) TYPE  GM_CODE
    *"     REFERENCE(I_MOVE_TYPE) TYPE  CHAR3
    *"     REFERENCE(I_EKKO) TYPE  EKKO
    *"  EXPORTING
    *"     REFERENCE(E_DOCUMENT) TYPE  BAPI2017_GM_HEAD_RET-MAT_DOC
    *"     REFERENCE(E_RETURN) TYPE  BAPIRET2
    *"  TABLES
    *"      T_EKPO STRUCTURE  EKPO
    Structures for BAPI
      data: gm_header  type bapi2017_gm_head_01.
      data: gm_code    type bapi2017_gm_code.
      data: gm_headret type bapi2017_gm_head_ret.
      data: gm_item    type table of
                       bapi2017_gm_item_create with header line.
      data: gm_return  type bapiret2 occurs 0.
      data: gm_retmtd  type bapi2017_gm_head_ret-mat_doc.
      data: x_ekpo type table of ekpo with header line.
       x_ekpo[] = t_ekpo[].
      clear: gm_return, gm_retmtd.
      refresh gm_return.
      gm_code-gm_code = i_code.
      gm_header-pstng_date = sy-datum.
      gm_header-doc_date = sy-datum.
      gm_header-pr_uname = sy-uname.
      loop at x_ekpo.
        gm_item-material = x_ekpo-matnr.
        gm_item-plant = x_ekpo-werks.
        gm_item-stge_loc = x_ekpo-lgort.
        gm_item-move_type = i_move_type.
        gm_item-mvt_ind = 'B'.
        gm_item-stck_type = space.
        gm_item-entry_qnt = x_ekpo-menge.
        gm_item-entry_uom = x_ekpo-meins.
      append gm_item.
      endloop.
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          GOODSMVT_HEADER             = gm_header
          GOODSMVT_CODE               = gm_code
         TESTRUN                     = ' '
        IMPORTING
          GOODSMVT_HEADRET            = gm_headret
          MATERIALDOCUMENT            = gm_retmtd
        MATDOCUMENTYEAR             =
        TABLES
          GOODSMVT_ITEM               = gm_item
        GOODSMVT_SERIALNUMBER       =
          RETURN                      = gm_return.
    e_document = gm_retmtd.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
             WAIT          = 'X'.
         IMPORTING
            RETURN        =
    ENDFUNCTION.

    Hi,
    This piece of code may be helpful.
    Structures for BAPI
      data: gm_header  type bapi2017_gm_head_01.
      data: gm_code    type bapi2017_gm_code.
      data: gm_headret type bapi2017_gm_head_ret.
      data: gm_item    type table of
                       bapi2017_gm_item_create with header line.
      data: gm_return  type bapiret2 occurs 0.
      data: gm_retmtd  type bapi2017_gm_head_ret-mat_doc.
      clear: gm_return, gm_retmtd. refresh gm_return.
    Setup BAPI header data.
      gm_header-pstng_date = sy-datum.
      gm_header-doc_date   = sy-datum.
      gm_code-gm_code      = '06'.                              " MB11
    Write 551 movement to table
      clear gm_item.
      move '551'        to gm_item-move_type     .
      move '000000000040001234' to gm_item-material.
      move '1'        to gm_item-entry_qnt.
      move 'EA'       to gm_item-entry_uom.
      move '0004'     to gm_item-plant.
      move '4000'     to gm_item-stge_loc.
      move '201'      to gm_item-move_reas.
    Determine cost center per plant
      case xresb-werks.
        when '0004'.
          move '0000041430' to gm_item-costcenter.
        when '0006'.
          move '0000041630' to gm_item-costcenter.
        when '0007'.
          move '0000041731' to gm_item-costcenter.
        when '0008'.
          move '0000041830' to gm_item-costcenter.
      endcase.
      append gm_item.
    Call goods movement BAPI
      call function 'BAPI_GOODSMVT_CREATE'
           exporting
                goodsmvt_header  = gm_header
                goodsmvt_code    = gm_code
           importing
                goodsmvt_headret = gm_headret
                materialdocument = gm_retmtd
           tables
                goodsmvt_item    = gm_item
                return           = gm_return.
       call function 'BAPI_TRANSACTION_COMMIT'
           exporting
                wait = 'X'.
    regards,
    keerthi.

  • Goods Receipt for Inbound HU - WS_DELIVERY_UPDATE

    Hi All,
    I have a requirement to automate transaction VL60p to do GR for
    an inbound delivery with HU.
    Since this is a SAP enjoy transaction I can't use BDC and there doesn't seem to
    be a BAPI for this.
    I plan to use WS_DELIVERY_UPDATE, filling tables VERKO and VERPO.
    Is my approach correct?
    If not can you point me in the right direction?
    Thanks,
    Miguel

    Anyone?
    I've also added IT_OBJECTS as one of the tables I'm passing.
    Its of type PGR_OBJECTS which is described as Objects for Partial Goods Receipt.
    However Posting is still not happening.
    Thanks,
    Miguel

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

  • No goods receipt for inbound delivery

    Hi,
    i am posting a goods receipt through VL32n against the inbound delivery EL . The item category is ELN . The document flow is updated as confirmation of service done . But the inventory does not change and neither any material document is posted . If I post a MIGO against the inbound delivery , the po history is updated with material docment number . Please let me know why I am not able to post the goods receipt through VL32n.
    Regards,
    Amol

    Hi Dhas,
    Inbound delivery is nothing but the only and on;y confirmation from vendor or you can say its just the goods from vendor entered in our premises.
    So actual quantity check is done before MIGO.
    Here in MIGO is the final confiramation of goods receipt where all aacounting entries are passed on and inventory along with value is updated in your system.
    Hope you will understand in doubt pls revertr back.
    Thanks and regards
    Gitesh

  • 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 for Inbound Delivery through MIGO

    Hi All,
    Can anyone pl. explain me in steps the process of GR for Inbound Delivery from MIGO transaction.
    Also I need the process of reversing this goods receipt done.
    For certain inbound deliveries a dump occurs in the program SAPLIE01 in 'EQUIPMENT_ADAPT_BUSVIEWS' fn module.
    I need to analyse the reason for the dump. Here is the extract from the dump
    <b>IF WA_EQUI IS INITIAL
      keine Equidaten vorhanden => EXCEPTION
    --->       RAISE ERR_ADAPT_BUSVIEWS . ENDIF.                     </b>                                          
    Advance Thanks

    Hi Sanjay and Srikanth,
    Thank you for the correction. I was just wondering over this number.
    Sanjay, regd the release level, it is 0017 for SAP_APPL.
    In brief, when GR is done for an inbound delivery, a fn moudle equipment_adapt_busviews is called, in which if the equipment data of the material (wa_equi) is initial, it gives dump.
    1. This fn module is called 3 or 4 times while the posting is done through MIGO
    2. In the 4th call, the parameter wa_equi is initial - which gives the dump.
    3. While debugging, when I reach this point,if I restart the debugging, I find that the posting is completed !!!! (so something happening after posting of GR gives the dump)
    4. I have to reverse this GR for replicating the same again.
    Any further clues !!
    Regards
    Aadarsh

  • Material Document (Post goods receipt) for each Tranfer order in Inbound De

    Hello All,
    We have following the below process for goods receipt.
    1. Create Purchase order.
    2. Create Inbound Delivery.
    3.Create Transfer order for each line item in  Inbound Delivery
    4. Confirm tranfers orders.
    5. Post goods receipt will automatically takes place after last Transfer order confirmation for that delivery.
    So, in the above scenario the Inventory is not available in the IM till last transfer order is confirmed.
    So, is it  possible to create a Material Document at each transfer order confirmation and post IM inventory , instead of waiting till last transfer order is confirmed.
    please advice.
    Thank you
    T Reddy .

    Hello Aktar,
    Yes With standard SAP we can post  goods receipt either before using MIGO and after using VL32N.
    In our scenario we are using Inbound Delivery.
    So , with using Inbound delivery we are posting goods receipt after  last TO confirmation.
    But In our client they may take 2 days to puyawat all the items of an Inbound Delivery.So they do not want to wait till 2 days for the IM posting.
    ie in SAP WM as soon as Inbound delivery is created it creates negative stock in 902 and once all the transfer order are confirmed and then post goods receipt takes place and 902 is cleared.
    So, we are slitting the TO at delivery line item level and creating separate TO for each line item in a delivery.
    So, I am wondering whether is there a way so as soon as first TO is confirmed WM stock updates and IM stock also should also update with same amount with a material docuement.
    ie TO by TO IM posting should take place and at Last TO post goods receipt should happen at delivery level.
    Please advice.
    Thank you
    T Reddy.

  • 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

  • Goods receipt through Inbound delivery for Sub-Contracting Purchase order

    Hi
    I am trying to do goods receipt for the inbound delivery /shipping notification created for a sub -contracting Purchase order. The Finished product and the component part are batch managed, When I try to perform PGR in VL32N , I am getting a blank screen as error message and Goods receipt is not getting triggered . I checked for OSS note and found 645119 close to my issue but not an exact match . We are in ECC 6.0 with EHP 4. Can some one clarify whether it is possible to post GR through inbound delivery for a Subcon Purchase order .
    Thanks in advance for your immediate response.
    with regards,
    Joseph Anand B

    Hi, The issue may be due to this - the component is batch managed but the batch data is blank in the component list of the Purchase Order Item. Or a batch is maintained in the PO item component list but the stock for the same batch is not available with Vendor, i.e. stock with some other batch may be available.
    In a receipt for Sub-cont PO, 101 happens for FG and 543 happens for component. But there is no option to provide the component details in a delivery. So in standard system, when 101 happens via a delivery, 543 will be posted in the background. So any error in posting 543 will result in a blank screen without any error message.
    You can fix this by maintaining correct batch in the PO component list.
    But there is another issue - you cannot do 'cancel posting' and 'return delivery' for this receipt. Only you can reverse the inbound delivery and you should know that the  recevied stock shouldn't have been processed to do reversal of inbound delivery.

  • Goods Receipt for Handling Unit using RF

    Hello,
    The customer requirement is to do Goods Receipt for HU in RF. In RF the standard transaction is LM76 for GR for HU.
    The scenario is Multiple handling units are there for each inbound delivery. the client wants to do GR for each HU. where as in
    standard TC: LM76, if one HU is entered GR is done for the entire inbound delivery.
    Can i go for customized transaction (is it possible to develop) in RF where GR is done for each handling unit ( i.e. multiple HU's
    are there in the inbound delivery)
    Regards,
    Neetha

    Hi,
    I've done something similar on RF for a retailer in Holland and used enhancement MWMRFDLV/INCLUDE ZXLHUU31.
    I've added an example of the code that is implemented.
    This enhancement is called by transaction LM61 op to LM66 en LM71 up to LM76.
    Transaction LM76 is initially intended to select the delivery by scanning the HU.
    What I did is reducing the information on the sceen to the HU that has been scanned
    Secondly yo need to assure that when the user is creating a TO or posting the GR it is performed for the HU only.
    For this you need to do additional development mwmrf631 (= Delivery Header / in the PAI define your own logic that post the GR for a single HU) What I used is an outputtype in application V6 (HU) that is triggerred from include ZXLHUU21 and will post the GR with BAPI_GOODSMVT_CREATE'  . See 2nd example include ZXLHuu21
    I hope my comment are usefull for you.
    Kind regards
    Ronald
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    INCLUDE ZXLHUU31
    case sy-tcode.
      WHEN con_lm76.
    inperken OP HU als de levering meerdere Handling Units heeft
    alleen dan inperken op HU informatie
        LOOP AT et_postab WHERE posnr = '000000'.
          SELECT SINGLE anzpk FROM likp INTO et_postab-anzpk
                              WHERE vbeln = et_postab-vbeln.
          MODIFY et_postab.
          IF et_postab-anzpk > 1.
            EXIT.
          ENDIF.
        ENDLOOP.
        CHECK et_postab-anzpk > 1.
        GET PARAMETER ID 'INP_100' FIELD inp_100.
        i_exidv = inp_100.
        IF i_exidv NA sy-abcde.
          et_postab-exidv = i_exidv.
          et_postab-anzpk = 1.
          LOOP AT et_postab WHERE posnr <> '000000'.
            SELECT SINGLE aexidv abrgew b~vemng
                           INTO (et_postab-exidv, et_postab-brgew, et_postab-lfimg)
                                  FROM vekp AS a INNER JOIN vepo AS b
                                  ON avenum = bvenum
                                  WHERE a~exidv    = i_exidv
                                    AND bvenum    = avenum
                                    AND b~vbeln    = et_postab-vbeln
                                    AND b~posnr    = et_postab-posnr.
            MODIFY et_postab.
          ENDLOOP.
          et_postab-anzpk = 1.
          MODIFY et_postab TRANSPORTING exidv brgew anzpk WHERE posnr = '000000'.
          DELETE et_postab WHERE exidv IS INITIAL.
          SORT et_postab BY posnr.
        ENDIF.
    ENDCASE.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    EXIT_SAPLLMOB_084    INCLUDE ZXLHUU21 .
    *&  Include           ZXLHUU21                                         *
    Initial development by Perfect for People - Ronald Westdijk
    o_current_field         = current_field.
    o_verification_errors[] = verification_errors[].
    SET PARAMETER ID 'BYDLVRY' FIELD LIKP-VBELN.
    CASE sy-tcode.
      WHEN con_lm76.
        CASE sy-ucomm.
          WHEN fcode_save.
    melding alleen geven als meerdere Handling Units bestaan
    en als deze nog moeten worden geboekt.
            SELECT SINGLE anzpk FROM likp INTO i_anzpk
                                WHERE vbeln = likp-vbeln.
            CHECK i_anzpk > '1'.
    check output messages in tabel NAST of deze nog moet worden geboekt.
    melding alleen geven als er nog meerdere HU open staan.
    eerst de HU's ophalen
    daarna de nast records inlezen in i_nast (output ZMCR) en checken
            REFRESH i_nast.
            CLEAR vbco3.
            vbco3-vbeln = likp-vbeln.
            CALL FUNCTION 'SD_PACKING_PRINT_VIEW'
              EXPORTING
                comwa                         = vbco3
                auftrag_nicht_lesen           = 'X'
                exportdaten_nicht_lesen       = 'X'
              TABLES
                vbplk_tab                     = xvbplk
                vbplp_tab                     = xvbplp
                vbpls_tab                     = xvbpls.
            LOOP AT xvbplk.
              SELECT SINGLE * FROM nast INTO i_nast
                              WHERE vstat = '0'
                                AND kappl = 'V6'
                                AND objky = xvbplk-venum
                                AND kschl = 'ZMCR'.
              IF sy-subrc = 0.
                APPEND i_nast.
              ENDIF.
            ENDLOOP.
            DESCRIBE TABLE i_nast LINES n.
            CHECK n > 1.
    message lf317 Het systeem zal de boeking uitvoeren, verder?
            sy-msgid = 'LF'.
            sy-msgno = '317'.
            PERFORM warning_message(rlmob001).
            GET PARAMETER ID 'POX' FIELD msg_answ.
            SET PARAMETER ID 'POX' FIELD ''.
            CASE msg_answ.
              WHEN ver_on.
    output ZMCR after HU to post Goods receipt is executed.
                REFRESH bapihukey.
                bapihukey-hu_exid = i_exidv.
                APPEND bapihukey.
                REFRESH bapioutptype.
                bapioutptype-trans_medium = '8'.
                bapioutptype-output_type  = 'ZMCR'.
                APPEND bapioutptype.
                CALL FUNCTION 'BAPI_HU_PROCESS_MSG_DIRECT'
                  TABLES
                    hukey      = bapihukey
                    outputtype = bapioutptype
                    return     = bapiret2.
                LEAVE TO TRANSACTION con_lm01.
            ENDCASE.
        ENDCASE.
    ENDCASE.

Maybe you are looking for

  • Public API's to create delivery for each delivery line

    I've requirement to create unique delivery for each delivery line using API. Can any body use public API to meet this requirement. Please ! any idea and thought ! R12. Thanks in Advance, Ramana

  • Create object from AS3

    im trying to create objects based on number i input on a textbox here is the image and code : // Image // codes import flash.events.MouseEvent; var circle:Shape = new Shape(); var i:int; var j:int; myBtn.label = "Show"; var a:Number = Number(text1.te

  • Changing a column collation - problems?

    Hello, I have a VFP database that was migrated to SQL Server 2012. One of the VFP table's PK's utilized uppercase and lowercase values to distinguish rows, which of course does not fly by default in SQL Server. Rather than having to redesign this par

  • Do adcfgclone.pl with datafile divided into multiple disk storage

    hai all , i do adcfgclone.pl in database note , but i confused how to define Target System DATA_TOP Directory 1 : if i have datafile that divided into multiple disk storage. Log file located at /oracle11/PROD/db/tech_st/11.1.0/appsutil/clone/bin/Clon

  • Flex Component Kit publish SWC not working with Flex 4

    I started this thread in the Flex forum and they are telling me that the SWC's I'm creating with Flash Professional CS5 and Flex Component Kit 2.0.0 are not linked with FCC for Flex 4. http://forums.adobe.com/thread/777789?tstart=0 That means the pro