Issue with BATCH SPLIT with Inbound Delivery

Hi,
We are in an SAP upgrade project from 4.7 to ECC 6.0, we would require to develop an Interface Program to perform BATCH SPLIT for an Inbound Delivery, I tried with BAPI BAPI_INB_DELIVERY_CHANGE but it seems to be work only to change the existing line items, by requirement is to create new BATCH SPLIT for a given inbound delivery, can anyone help me in finding the appropriate BAPIs, thanks in advance.
Regards
Bala

Hi Bala,
Have you tried BAPI_INB_DELIVERY_CONFIRM_DEC? If you check the documentation of this BAPI, at the bottom of it there's a statement:
If you report back batch splits that were created in the ERP system, you cannot fill the hierarchy fields HIERARITEM and USEHIERITM.
If you created split items in the WM system and have reported back, these two hierarchy fields must contain information.
BR
Raf

Similar Messages

  • Batch split in inbound delivery VL31N / VL32N

    Hi,
    I am using standard function GN_DELIVERY_CREATE in order  to create inbound delivery document, it works fine, but it doesn't allow to specify batch split!
    So, in order to enter a batch split I have as first create the delivery with this standard function and then enter in VL32N and create the split through batch input.
    I am experiencing a lot of issues using batch input in VL32N (same thing with VL32), I need to avoid the call transaction, is there someone that have solved this problem through a BAPI or some other standard function that allows to create batch split?
    Thank you in advance
    Alessandro

    use BAPI: BAPI_OUTB_DELIVERY_CONFIRM_DEC
    I used this long time back. it worked fine.

  • Batch split in inbound delivery according to Handling Units in Idoc

    Hi everyone,
    the Idoc with different HU's segments E1EDL37 (all the same batch no.), causes different items in the inbound delivery. But we need only one item, because it's the same batch no.!
    Where can I customize this?
    Thx in advance!
    Thomas

    use BAPI: BAPI_OUTB_DELIVERY_CONFIRM_DEC
    I used this long time back. it worked fine.

  • Create a Batch split for inbound delivery using IDOC

    Hi,
    I have an requirement to create Batch splits in the Inbound delivery.
    These Inbound deliveries are created using IDOC.
    So when the inbound deliveries are created through IDOC the Batch split is not happening.
    How can i achieve this through Coding?
    Any pointers on this will be highly appreciated.

    Hi ,
    Try this link.
    http://wiki.sdn.sap.com/wiki/display/ABAP/Toapplybatchsplitinanoutbound+delivery
    Regards
    HM

  • Batch Split in Inbound Delivery document

    Hello Friends,
      In decentralized WM managed scenario, inbound delivery is created automatically when the storage location is HU managed.   In the current design, we need to use MIGO/MB1B transaction for replicating stocks into warehouse location, and all the materials are managed.
    We have a batch split management to use for distributing the cumulative batches into warehouse.  In our testing, transaction MB1B cannot support batch split management however transaction MIGO is closely supporting our need.  In the MIGO, we have a distributed quantity functionality and through this we can able to split the quantity into multiple batches. 
    However, when during inbound delivery generation (Inbound delivery generates in background from MIGO document when location is HU managed), system is generating the individual line item instead batch split, example -
    In MIGO -
    Total Quantity - 10
    Item: 00001
    Material : ZZZYYY
    Batch1:  AAAA
    Quantity : 4
    Item: 00001
    Material : ZZZYYY
    Batch2:  AAAB
    Quantity : 6
    In Inbound Delivery -
    Item:10
    Material : ZZZYYY
    Batch1:  AAAA
    Quantity: 4
    Item:20
    Material : ZZZYYY
    Batch2:  AAAB
    Quantity : 6
    We need as below in inbound delivery -
    Item:10
    Material : ZZZYYY
    item: 90001
    Batch1:  AAAA
    Quantity : 4
    item: 90001
    Batch2:  AAAB
    Quantity : 6
    Please suggest.  Appreciate your reply.
    Thanks
    Best Regards,
    Goutam

    use BAPI: BAPI_OUTB_DELIVERY_CONFIRM_DEC
    I used this long time back. it worked fine.

  • Inbound Delivery: Inbound WHSCON IDoc with Batch Split - HowTo...?

    Hello
    We have another tricky problem to solve on our ERP 6.0 system.
    My colleagues of Lindt UK create manually inbound deliveries (VL33N) which are replicated to the warehouse (DESADV IDoc -> TRADACOMS.ORDHDR).
    When the goods arrive at the warehouse they send back a good receipts message (TRADACOMS.DLCHDR -> WHSCON IDoc).
    In some cases we have a batch split because the goods have been put into different storage locations. Example:
    - item 10: 200 Cases of product 4711, batch 10-2011,  in storage location '0001' (free available for Sale)
    - item 10:     5 Cases of product 4711, batch 10-2011, in storage location '0004' (damaged)
    I am aware that in the inbound WHSCON item 10 is a main position and the two actual batch split positions are sub-items (900001 & 900002 with HIPOS = '10'). I tried to used E1EDL19-QUALF = 'BAS' (= batch split) with the sub-items but failed so far to update the inbound delivery that I can see the batch split.
    I have managed to get one sub-item but not 2 of them. Somehow the system aggregates the quantities for both sub-items into the single item that shows up in the inbound delivery.
    When we send the inbound delivery to the warehouse the item looks like this:
    - item 10: 200 Cases (no batch yet, Putaway quantity = 0, because these data are coming from the warehouse).
    QUESTION: Has anybody else been faced with a similar (if not identical) problem and how did you solve it?
    Thanks a lot in advance for your valuable input.
    Regards
      Uwe

    Hello Finbarr
    I assume that you do NOT send any (suggested) batches to your warehouse. Otherwise you would have the same problem like we have that the WHSCON cannot overwrite a (suggested) batch.
    However, if you just send the quantity per item then the batch split is much simpler than you suggested:
    "First E1EDL24 segment:
    POSNR     50
    MATNR     000000000000602006
    MATWA     000000000000602006
    CHARG     L1519   " <<< first batch
    LFIMG     37.000
    VRKME     CT
    "Second E1EDL24 segment:
    POSNR     50
    MATNR     000000000000602006
    MATWA     000000000000602006
    CHARG     L1880   " <<< second batch
    LFIMG     37.000
    VRKME     CT
    Well, and as qualifier we use: E1EDL19-QUALF = 'XYZ'  " a dummy
    The SAP system is smart enough the realize that these two E1EDL24 segment belong to the same item yet have different batches and, therefore, yield a batch split in the delivery. The system generated the 9xxxxx numbers for this sub-item lines automatically.
    Although I believe that it is not possible to change a batch in the delivery using an inbound WHSCON I would appreciate to have a final proof of this assumption. I could imagine that if you first delete the item containing the suggested batch and then add a new item with the actual batch from the warehouse it might works. However, this would require to implement a user-exit which I do not prefer.
    Regards
      Uwe
    PS: It seems I gave an answer to the wrong question (should be EDI (DESADV): Can batches be overwritten by an inbound WHSCON (pick conf)? )

  • Inbound Delivery Idoc with batch split then PIC and PGI using DELIVERY03

    Dear Experts,
    Requirement to split the delivery item then PIC and PGI, while Processing Inbound Idoc using basic Idoc type DELIVERY03
    I have searched forum already but it vain. Please advice.
    Thanks and Regards,
    Thiru.
    Moderator message : Spec/requirements dumping not allowed, show the work you have already done.  Thread locked.
    Edited by: Vinod Kumar on Nov 16, 2011 5:09 PM

    Hello Finbarr
    I assume that you do NOT send any (suggested) batches to your warehouse. Otherwise you would have the same problem like we have that the WHSCON cannot overwrite a (suggested) batch.
    However, if you just send the quantity per item then the batch split is much simpler than you suggested:
    "First E1EDL24 segment:
    POSNR     50
    MATNR     000000000000602006
    MATWA     000000000000602006
    CHARG     L1519   " <<< first batch
    LFIMG     37.000
    VRKME     CT
    "Second E1EDL24 segment:
    POSNR     50
    MATNR     000000000000602006
    MATWA     000000000000602006
    CHARG     L1880   " <<< second batch
    LFIMG     37.000
    VRKME     CT
    Well, and as qualifier we use: E1EDL19-QUALF = 'XYZ'  " a dummy
    The SAP system is smart enough the realize that these two E1EDL24 segment belong to the same item yet have different batches and, therefore, yield a batch split in the delivery. The system generated the 9xxxxx numbers for this sub-item lines automatically.
    Although I believe that it is not possible to change a batch in the delivery using an inbound WHSCON I would appreciate to have a final proof of this assumption. I could imagine that if you first delete the item containing the suggested batch and then add a new item with the actual batch from the warehouse it might works. However, this would require to implement a user-exit which I do not prefer.
    Regards
      Uwe
    PS: It seems I gave an answer to the wrong question (should be EDI (DESADV): Can batches be overwritten by an inbound WHSCON (pick conf)? )

  • Issue with Transfer order after inbound delivery

    HI SAP Experts ,
      we have an issue where User inputed the Inbound delivery and then assigned with Handling Unit and then he has Created the Transfer order and which he has confirmed
    later he has Unassigned Handling Unit , know how can he  Proceed further
    Case   1) I believe he has deleted the Inbound delivry also , How then the Transfer order Movements can be    reverted
    Case 2) inbound delivery exist in system , in unassigned state wrt Handling unit and Transfer order (Confirmed )also exist , if user Tries for vl09 for Reversing Delivery , system throws error , Reversing not possible -What should be done here
       Awarded Full  Points for correct answer
    Thanks and Regards
    Adarsh

    Hi
    You use LT01 with the reverse movement (1 or 10 higher than the  production receipt - standard SAP uses 103 fro GR and 104 for the reversal).
    You then want to unprocess the transfer requirement if existent (look up the TR number in the TO header)
    And cancel  VL09 and then TA LT0G

  • BATCH SPLIT CONCEPT IN DELIVERY n GOODS ISSUE (SD)

    Hi
    Could anybody tell me the following:
    1) What is the concept of Batch Split?
    2) How it is shown when a Delivery Order is created?
    3) How it afftects when Goods Issue is done?
    4) How can we calculate the total delivery quantity when there is a Batch Split?
    Thanks!

    Hi,
    Batch Split concept is if for one item you got a quantity greter than one you can set different Batch number .
    For example you create a sales order with one item with a quantity of 2 .
    When you create the document the item got number 10 .
    Now when you set the batch number with batch split the system will add 2 lines in your sales order with number 9xxx . those number are reserved by sap for batch split.
    If you look in the data dictionnary table you will see 3 record in the item table and for the 2 items beginnig with number 9 a reference to the item 10.
    When you make the goods movement it is done on item 9xxx .
    Hope this help you
    regards

  • WM with Batch split

    Hi Friends
    Greetings!
    We have the following issue with batch split.
    When we create Transfer order for outbound delivery , batch split happens and the TO gets created with two line item based on the bach.
    After confirming the TO and when we try to post PGI, the system issues the error message
    " X24408003104230 ; available stock in interim storage bin around 50.000 ST below target"  
    Can you please let us know if i am missing any settings
    Gobinathan G

    Hi
    Thanks for your feedback.
    As requested , please find the error code
    "E L9 040"
    The patch split was carried out through WM. When we created transfer order for the delivery, as the required stock was available in different batches, system picked the stock from two different batches. And the transfer order also got confirmed.
    Please give your suggestion to complete teh PGI.
    Gobinathan G

  • Problem in posting the goods receipt with reference to the inbound delivery

    Hi All,
    Below is the explanation of the scenario:
    1. Materials are purchased (PO created in CAS as order unit) and inbound delivery document is created in cases as well.
    2. When the TO is created for put away (we are performing put away using the hand held devices) the line item is split resulting in new line item number created
    3. When the TO is confirmed the del quantity on the split line item is zeroing out and as a result the system is treating it as a service item with zero del quantity and is stopping from performing the GR with respect to the inbound delivery document
    And also the inbound delivery is disappearing from the confirmation tab on the PO)
    This is happening only with the materials which have an alternate unit set up in the material master (in this scenario CAS is the order unit and JAR is the base unit of measure)
    Can some one help fix this?

    Hi,
    There is no standard option available and I don't think that there is any feasible way of stopping this without the use of a user exit (as already suggested).
    But even the user exit option would be complex because it would have to block off the PO number field after enter (or any other key) was pressed.
    It would also have to stop the use of multiple entries via the "find" option.
    If you have a valid reason for doing this, have you thought of trying to get your users to do as they are told instead of changing the system?
    Why is it important to have one PO per GR ?
    Steve B

  • Is there any program i can use to batch delete the inbound delivery ?

    Hello, everyone.
        Is there any program i can use to batch delete the inbound delivery ? Thanks.
    Xinzhou gao.

    Hi,
       VL66 is used for deleting temporary inbound deliveries that have been marked with the deletion flag in the database, the temporary deliveries should have the deletion flag selected in the database, but i want to delete the normal inbound delivery without deletion flag now, is there any  other solutions? Thanks.
    Xinzhou gao.

  • Quality certficates for batch split items in delivery

    Hi Masters
       How to make the output determination for outgoing quality certificates to select the output type LQCB
    for batch split items in Delivery.
    What is the routine to be selected in the output determination to map this scenario?
    Regards
    Mohan

    Hi Masters
            My problem is When i create a delivery for the items with batch split, the output type LQCB is not determined ie., not automatically get assigned in the delivery item.Hence the delivery items are not listed while executing T code QC20/
    What am I missing?
    -mohan

  • Inserting Batch Split Items in Delivery

    Hi Folks,
    a very quick question. I was mining for info to get the batchsplit items inserted into an Outbound delivery thru the FM WS_DELIVERY_UPDATE sometime ago. Out of doubt and tight schedule I had to opt for BDC which is not that elegant and I would like to know if anyone of you gurus has managed to insert batch split items for a normal item in a delivery. A sample piece of code would be just what I am looking for, suggestions are invited
    thanks a lot in advance.
    ZAM

    Hi ZAMUser,
    I have played with batch-split Items, this is a little part of the code. In this code I try to update quantity of the delivery. Maybe that will help you
    Regards
    Frédéric
    (comments are in french, and I play with special messages and text)
    *   Livraison
        refresh wlt_btc.
        move : 'SAPMV50A'    to wlt_btc-program ,
               '4004'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        move : 'BDC_OKCODE'  to wlt_btc-fnam ,
               '/00'         to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
        move : 'LIKP-VBELN'    to wlt_btc-fnam ,
               wlt_badge-vbeln to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
    *   PoPo.
        move : 'SAPMV50A'    to wlt_btc-program ,
               '1000'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        move : 'BDC_OKCODE'  to wlt_btc-fnam ,
               '=POPO_T'     to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
    *   Poste.
        if wlt_badge-uecha eq '00000000'.
          move wlt_badge-posnr to wlv_poste.
        else.
          move wlt_badge-uecha to wlv_poste.
        endif.
        move : 'SAPMV50A'    to wlt_btc-program ,
               '0111'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        move : 'BDC_OKCODE'  to wlt_btc-fnam ,
               '=WEIT'       to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
        move : 'RV50A-POSNR' to wlt_btc-fnam ,
               wlv_poste     to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
    *   Marque le poste
        move : 'SAPMV50A'    to wlt_btc-program ,
               '1000'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        if wlt_badge-uecha ne '00000000'.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=CHSP_T'     to wlt_btc-fval .
        else.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=IDET_T'     to wlt_btc-fval .
        endif.
        append wlt_btc.
        clear  wlt_btc.
        move : 'BDC_CURSOR'     to wlt_btc-fnam ,
               'LIPS-POSNR(01)' to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
        if wlt_badge-uecha ne '00000000'.
    *     Recherche le sous poste.
          move : 'SAPMV50A'    to wlt_btc-program ,
                 '3000'        to wlt_btc-dynpro ,
                 'X'           to wlt_btc-dynbegin.
          append wlt_btc.
          clear  wlt_btc.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=POPO_T'     to wlt_btc-fval .
          append wlt_btc.
          clear  wlt_btc.
    *     Sous Poste.
          move : 'SAPMV50A'    to wlt_btc-program ,
                 '0111'        to wlt_btc-dynpro ,
                 'X'           to wlt_btc-dynbegin.
          append wlt_btc.
          clear  wlt_btc.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=WEIT'       to wlt_btc-fval .
          append wlt_btc.
          clear  wlt_btc.
          move : 'RV50A-POSNR'   to wlt_btc-fnam ,
                 wlt_badge-posnr to wlt_btc-fval .
          append wlt_btc.
          clear  wlt_btc.
    *     Marque le sous poste
          move : 'SAPMV50A'    to wlt_btc-program ,
                 '3000'        to wlt_btc-dynpro ,
                 'X'           to wlt_btc-dynbegin.
          append wlt_btc.
          clear  wlt_btc.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=CDET_T'     to wlt_btc-fval .
          append wlt_btc.
          clear  wlt_btc.
          move : 'BDC_CURSOR'     to wlt_btc-fnam ,
                 'LIPS-POSNR(01)' to wlt_btc-fval .
          append wlt_btc.
          clear  wlt_btc.
        endif.
    *   Onglet Qtt
        move : 'SAPMV50A'    to wlt_btc-program ,
               '3000'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        if wlt_badge-uecha ne '00000000'.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=T04'       to wlt_btc-fval .
        else.
          move : 'BDC_OKCODE'  to wlt_btc-fnam ,
                 '=T05'       to wlt_btc-fval .
        endif.
        append wlt_btc.
        clear  wlt_btc.
    *   Mise à jour Qtt livrée
        move : 'SAPMV50A'    to wlt_btc-program ,
               '3000'        to wlt_btc-dynpro ,
               'X'           to wlt_btc-dynbegin.
        append wlt_btc.
        clear  wlt_btc.
        move : 'BDC_OKCODE'  to wlt_btc-fnam ,
               '=SICH_T'     to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
        move : 'LIPS-LFIMG'  to wlt_btc-fnam ,
               wlv_poids     to wlt_btc-fval .
        append wlt_btc.
        clear  wlt_btc.
    *   Appels du call transaction.
        call transaction 'VL02N'  using wlt_btc
                                  mode  'N'
                                  update 'S'
                                  messages into wlt_error.
        sort wlt_error by msgid msgnr.
    *   Binary search
        read table wlt_error
             with key msgid = 'ZTPL'
                      msgnr = '011'
             binary search.
        if sy-subrc eq space.
          message i011(ztpl) with wlt_error-msgv1 wlt_error-msgv2.
        else.
          read table wlt_error
               with key msgid = 'ZTPL'
                        msgnr = '010'
               binary search.
          if sy-subrc eq space.
            message i010(ztpl) with wlt_error-msgv1 wlt_error-msgv2.
          else.
    *       Pas de binary search pour la recherche d'erreur
            read table wlt_error
                 transporting no fields
                 with key msgtyp = 'E'.
            if sy-subrc eq space.
              message i398(00) with text-e01.
            else.
    *         Mise à jours des masses dans les textes au niveau des postes
    *         de livraison.
              concatenate wlt_lips-vbeln
                          wlt_lips-posnr
                          into wlv_tdname.
    *         Masse net.
              move : 'VBBP'     to wls_thead-tdobject ,
                     wlv_tdname to wls_thead-tdname ,
                     'YP09'     to wls_thead-tdid ,
                     wlv_langu  to wls_thead-tdspras.
              move : wlt_bascule-poids to wls_tdline-tdline ,
                     '*'               to wls_tdline-tdformat .
              refresh wlt_tdline.
              append wls_tdline to wlt_tdline.
              call function 'SAVE_TEXT'
                exporting
                  header                = wls_thead
                  savemode_direct       = 'X'
                tables
                  lines                 = wlt_tdline
                exceptions
                  id                    = 1
                  language              = 2
                  name                  = 3
                  object                = 4
                  others                = 5.
    *         Masse brut.
              move : 'YP07'            to wls_thead-tdid ,
                     wlt_bascule-poid2 to wls_tdline-tdline ,
                     '*'               to wls_tdline-tdformat.
              refresh wlt_tdline.
              append wls_tdline to wlt_tdline.
              call function 'SAVE_TEXT'
                exporting
                  header                = wls_thead
                  savemode_direct       = 'X'
                tables
                  lines                 = wlt_tdline
                exceptions
                  id                    = 1
                  language              = 2
                  name                  = 3
                  object                = 4
                  others                = 5.
    *         Tare.
              move : 'YP08'            to wls_thead-tdid ,
                     wlt_bascule-poid3 to wls_tdline-tdline ,
                     '*'               to wls_tdline-tdformat.
              refresh wlt_tdline.
              append wls_tdline to wlt_tdline.
              call function 'SAVE_TEXT'
                exporting
                  header                = wls_thead
                  savemode_direct       = 'X'
                tables
                  lines                 = wlt_tdline
                exceptions
                  id                    = 1
                  language              = 2
                  name                  = 3
                  object                = 4
                  others                = 5.
            endif.
          endif.
        endif.

  • Batch Split on a delivery

    Hi All,
    Can someone explain what batch split on the delivery means and how it works . Why is it used?
    Thanks,
    Sandeep.

    Hi,
    You can just search the forum or help.sap.com documentation for details.
    For example, Check the SAP link [Executing Batch Splits in Deliveries|http://help.sap.com/saphelp_47x200/helpdata/en/dd/560cd0545a11d1a7020000e829fd11/frameset.htm]
    Regards

Maybe you are looking for

  • Attaching .scc files in PP -- not working

    Okay... I'm almost at my wits end. I've been doing closed captioning and subtitling for 10 years, I use the industry-standard software, I follow the workflows... and yet I cannot get any captions to display in PP CS 5.5 I've looked through the forums

  • Audio Cards

    Does anyone have any experience with audio cards for 5.1 to 7.1 surround sound for a G5. Also, i can't get the optical out to work through a standard receiver. The normal audio jack does work.

  • Bootable backup tape.

    Is there any way in Solaris 10 to create a bootable backup tape like "mksysb" in AIX or "make_recovery" in HP-UX. I looked through the commmands and didn't see anything at first glance.

  • AE CC 2014 strange pauses.

    Hi everyone,     This is something I've noticed with CC 2014 and not the previous version but if I modify something in a fairly simple comp (shape layers, about 4 fairly large photos (4k) and text layers)I get this pause while an update bar spins at

  • Update to Mac OS X 10.5 - just bought my new MacBook Pro C2D - update free?

    dear forum, is there a cheap update path to 10.5 ? got my new macbook pro C2D some hours and thought about getting 10.5 update free of charge. in the early years there where coupons when you got a new mac. thank you for some statements torres