Batch splits in deliveries

Hi all,
I have to modify an FM to extract the SLED/BBD (expiry date) based on material and batch number, and move it to an IDoc segment. In addition i need to take into account batch splits in which case the earliest SLED/BBD will be moved to an IDoc segment.
My question is given a delivery were can i check if a batch split occurred? And were will i find the different batches if a batch split indeed occurred?
For the deliveries in which no batch split occurred i will be extracting the data from table LIPS.

Hi Joseph,
Not exactly.
If the field value LIPS-UECHA is '000000' or the same line item number (let say '000010', in this case both the line item number (LIPS-POSNR) & LIPS-UECHA will be same)), then consider this line item as the master.
Then chk whether any line item in lips with the same vbeln and LIPS-UECHA = '000010' (in this case LIPS-POSNR will have a different value as per the customization, normally in many cases it will be like 009000, 009001... or 000011, 000012...). If exists, then that line item have the batch split and get all the above line items.
For instance, let say
for line item ... 000010 will have 2 batch split with each 10 qty for the document number X, then in the lips you have 3 line items as below:
LIPS
VBLN        POSNR      LFIMG    UECHA
X               000010      0            000000 (or 000010 which can be configured)
X               000011      10          000010
X               000012      10          000010
Regards,
Selva K.

Similar Messages

  • Need to apply Batch split for deliveries.Please suggest

    I had tried to apply batch split for delivery using the function module 'BAPI_OUTB_DELIVERY_CHANGE'.After running the program i get a message saying 'Batch split is done for a decentralised system - WMS' and the delivery can be seen only in display mode where the change is disabled.
    Please suggest solution to apply batch split and view it normally.
    Points will be awarded for helpful answers
    Edited by: venkata on Apr 10, 2008 10:52 AM

    thanks

  • 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

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

  • Line with 0 quantity for main item with batch split

    Hello experts,
    I have one line item in delivery. Delivery split is there: There are 1 spilt items with 1 batch nos. The main item category and the batch split item category are TAN.
    My system is showing 2 line items in billing, the batch line with quantity and the main line with zero qty. How to prevent this and have only the lines item in invoice with batch/qty. I don´t want to see the main item with o quantity.
    In VTFL I have routine for copying requirements 004 and Billing Quantity B. I need to create another copying routine or I need to use another item category for batch lines?
    Thanks in advance
    Pablo

    Hi Pablo,
    It is advisable to have a different item category for Batch split items.
    If you want the batch split items to suppress and show only the Total in the Invoice. Yes it is possible.
    1) You can do this in the Copy controls in VTFL - Delivery to Billing, go to your Item category and go to Item details - Change the billing Qty to 'G'.
    2) Go to Shipping > Deliveries > Item categories Determination in Deliveries > Define item category.
    Go to your item category which is used in Batch Split
    Remove the Billing Revelance and make it blank and Save.
    Now when you create the Invoice for Batch split - Only the total quantity will be displayed without the subitems - like in Delivery note or Delivery..
    Please check and revert back for any more details
    Rgds
    Sunil.

  • Batch split in returns

    Dear all,
    I need a batch split in return deliveries.
    The return(V1) and return delivery(V2) is already created.
    Via EDI I got the message with the batch split information(Message type WHSCON, Basic Type: DELVRY1).
    After processing the EDI-Document the delivery is goods issue posted without batch split and the quantity in the main item is changed to zero.
    Any idea how I can get the correct batch split in the delivery before the goods issue posting?
    Kind regards
    Frank

    Have a look at the following notes:-
    Note 489476 - Batch split for returns delivery
    Note 2001614 - Return delivery creation via VL60 fails for batch split items
    G. Lakshmipathi

  • 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

  • Same batch in more deliveries

    Dear experts,
    I have two questions concerning the assignment of batches in the delivery via batch split:
    1.
    In our system it is possible to assign one batch to several deliveries and also assign the full quantity of the batch several times in the same delivery.
    Example:
    - Batch A of 10 kg
    => Possible to assign 10 kg of batch A to delivery 1 and then assign 10 kg again to delivery 2
    => Possible to assign 10 kg of batch A to delivery 1 in batch split, and enter 10 kg of batch A in the same delivery 1 via the batch split again (unlimited).
    How can we prevent this?
    2.
    Using the "manual batch selection" button in the batch split, the system does not propose the batches which are in QI stock...
    Is there a setting in which we can choose which stock types are taken into account by this batch selection button.
    Many thanks for your answers!
    Will reward points!!
    Tim

    Hello Shahin,
    if I understand your question correctly, I think that you should take a closer look at the settings in the material master for QM. If you enter the inspection setup you can set the Control of inspection lots with the following values:
    ' ' An inspection lot for each material document item (No lot summary)
    'X' An inspection lot for each purchase order item/order item
    '1' An inspection lot for each material document and material
    '2' An inspection lot for each material and batch
    The setting 2 could be used for example.
    Another thinkable solution is that you use the exit QAAT0001 where you can set your own criteria concerning the inspection lot creation.
    I hope that this information proves usefull in your case.
    Regards
    Isabelle

  • Delivery Item Category for Batch Split

    Dear All,
    Referring to Stock Transfer Order
    ME21N --> VL10I --> Vl02N --> PGI --> MIGO
    During delivery we select multiple batches through Batch Split.
    In my Development server the system determines Item Cat as NLN (NLNORMCHSP = NLN)
    In my Quality server the system determines Item Cat as ULN (NLNORMCHSP = ULN)
    The setting for Both Item cat is same Except NLN is marked for Error during over delivery.
    Pls suggest me which one is appropriate.
    Thanks & regards,
    Shailendra Panhale

    Mr. Gauravijit
    Pl try the following configuration
    Go to  logistic Eex->Shipping->Deliveries->define item category for deliveries
      Delivery type - item category group -  usage--item cat
        LF                         NORM              CHSP    TAN
    Pl try the above configuration and do the batch split in the delivery.

  • Same batch in two deliveries

    Dear experts,
    With our SD setup at the client it is possible that 1 batch is assigned to different deliveries.
    Example:
    Batch X 10000 kg in UU
    Batch X assigned to delivery A for 10000kg + Batch X assigned to delivery B for 10000kg
    The system is not giving any error when assigning the batch in the batch split for the second delivery.
    Is there any setting where we can restrict that?
    Many thanks,
    Michaela

    you might have selected bacth but not completed picking thats why system allowed another batch selection with same quantity. pIcking reserves the quantity. Hope this will help you.
    Thanks & Regards
    Amit

  • Batch split line in delivery

    Hi,
    In my system, I have configured automatic batch determination for my delivery item category.
    Now when the system determines the batch, even if there is one batch, the system creates a batch split line (with line number as 900001).
    Is this a standard system behaviour?
    Is there a way that we can have only one line if there is just one batch and go to a batch split line only when there are more than 1 batches.
    pls let me know. Any help would be highly appreciated.
    Thanks
    AB

    Hi Arijeet,
    please do the follow .
    SPRO: LOGISTIC EXECUTION->SHIPPING->DELIVERIES->DEFINE ITEM CATEGORIES
    Choose the item categories you use and check the flag "autobatchdeterm".
    Make sure that you have the right item category determination for the delivery type with Usage: CHSP (take delivery LF as an example). The path is:
    SPRO: LOGISTIC EXECUTION->SHIPPING->DELIVERIES->DEFINE ITEM CATEGORY DETERMINATION.
    Then you have to activate the ATP check in delivery process:
    SPRO: SALES..->BASIC FUNCTION->AVAILABILITY..->AVAILABILITY CHECK->AVAILABILITY CHECK WITH ATP LOGIC->CARRY OUT CONTROL...
    you have to check the configuration for the combination:
    CH Batches - B SD delivery and
    02 Individ.requirements (if you use it in the MRP of you material master) - B SD delivery.
    if you give me brief i can help you out more.
    Thank you .
    Regards
    Ram

  • Update picking quantity in delivery for batch split items

    Hi,
    I'm trying to use the function module WS_DELIVERY_UPDATE to update the existing deliveries. I'm able to do batch split for the items in delivery using the same FM. I have also requirement to delete these items (batch split items).
    To delete these items first we have to make quantities to zero. So I'm able to make delivery quantity of these items to zero but not picking quantity.
    If we do not make picking quantity also zero it will not allow to delete these items
    and gives an error message saying "item is already made available for transfer order".
    Could some one let me kow how to make picking quantity also zero for batch spit items using FM.
    Thanks

    Hi Vikram
    To nullify the Picking Quantity, we can use FM: <b>SD_DELIVERY_UPDATE_PICKING</b>.
    Parameters to be passed:
    VBKOK_WA
    -- VBELN_VL - Delivery Number
    -- VBELN - Sales Document Number
    SYNCHRON - 'X'
    VBPOK_TAB
    -- VBELN_VL - Delivery Number
    -- POSNR_VL - Delivery Item Number
    -- VBELN -- Sales Document Number
    -- POSNN -- Sales Document Item Number
    -- MATNR -- Material Number
    -- LFIMG -- '0.000'.
    Have tried this in both cases whereby we have partial picking done and full picking done and worked for both cases.
    Please try on your end too...
    Hope this helps.
    Regards
    Eswar

  • BAPI_OUTB_DELIVERY_CHANGE/BAPI_OUTB_DELIVERY_SAVEREPLICA for batch split

    Hi All,
    I'm trying to make use of BAPI_OUTB_DELIVERY_CHANGE/BAPI_OUTB_DELIVERY_SAVEREPLICA
    these BAPI's for splitting batch in existing deliveries. Could some one let me know
    how to use these FM for splitting batches.
    Regards
    Vikram

    You might want to try BAPI_OUTB_DELIVERY_SPLIT_DEC instead. There is a decent online documentation available for it.

  • Dual Invoice Creation when batch split

    Hello,
    Return deliveries with batch split are generating 2 credit for returns. One credit for return is actual and the other one is of Zero Value and quantity. When there is only one batch the return delivery creates only one credit for return. Kindly help.
    Regards,
    Shahzad

    Hi,
    Check ur copy control settings in t-code VTFL for the Batch split item category HUPM...
    If u hv mainitained copy control for ur Return delivery to Credit for returns at item level for batch split item catgory ..then delete it..
    Now try..
    Reg
    JJ
    Edited by: Jagsap on Jul 7, 2009 8:39 AM

  • Status of Outbound Delivery in case of batch split

    Hi All,
    I have a query regarding the status updation of outbound delivery in case of a batch split.
    I have a delivery with 10 qty of batch managed material and is distributed from ERP to EWM. As per standard SAP, the following 2 options exist to carry out a batch split in EWM
    1. Create batch sub items in the Outbound delivery Order
    2. To adopt quantities pertaining to multiple batches during WT creation from the 'Stock can be removed' tab.
    We are using the second option as per business requirement. The process is working fine if i create & confirm multiple WT's at one shot i.e in this case i created one WT for 5 qty with batch-1 & one more WT for balance 5 qty with batch-2 & confirmed both the tasks. System created 2 batch sub items automatically when WT's are confirmed & the header status of 'picking' got updated as 'completed'.
    However the problem is when i create only 1 WT for partial quantity. For eg. in this case i created onle WT for 5 qty of batch-1 & confirmed the task. System created 1 batch sub item for 5 qty & also updated the 'picking' status in header to completed. My understanding is that since entire delivery quantity is yet to be picked, the picking status at header must be 'partially completed' & not 'completed'.
    I have checked the status profile & have status types DER & DPI active. Does this require any config in the status profile OR Is there any other way in which i can achieve this functionality ( i.e. Header status must be 'partially completed' untill entire delivery quantity is picked.)
    Would be glad if you can share your thoughts on this.
    Regards,
    Smitha Pai.

    Thank you for your kind reply.
    I performed failover to my physical standby and now archives are going on my logical standby from new primary but changes are not getting applied on my logical standby database.
    when i tried to register the logical logfile from new primary on my logical standby i am getting following error.
    SQL> ALTER DATABASE REGISTER LOGICAL LOGFILE 'E:\orcl1\stdb\archives\TESTDBT001S00001.ARC';
    ALTER DATABASE REGISTER LOGICAL LOGFILE 'E:\orcl1\stdb\archives\TESTDBT001S00001.ARC'
    ERROR at line 1:
    ORA-01287: file is from a different database incarnation

Maybe you are looking for

  • Error In MIGO Transaction

    While creating MIGO transaction against a PO I am getting this error continously PL Stock in transit exceeded by 12 PC : QS8X20 2100 2110 9000000010 I dont know what to do.?? can any one please tell me how to get rid of this error.

  • How to clone Boot Camp partition when Winclone does not work

    The hard drive in my MacBook Pro is failing. It has 2 partions, one for Apple and the other is a Bootcamp with Windows 7. I tried repairing it with Disk Utility, which did not work. I also ran DiskWarrior, which resulted in the error message: "Direct

  • Why im getting too long time in getting response from server in RMI???

    I'm using RMI architecture. On my server side I put this method getRubricHierarchy() which returns the ArrayList of Test class objects. everything is working properly fine. Im getting response properly, problem is its taking very long time in getting

  • Can the multi-sco packager be used to package Muse projects for LMS?

    We are currently experimenting with Muse, and we are interested in the posibility of using Muse to develop eLearning courses. Is there any way that Muse projects can be packaged into a zip file that can be loaded into an LMS? Perhaphs using Captivate

  • Cannot Administer DAS as orcladmin, After Changing Default Subscriber

    OK, I dared to create a different DIT. I even created a new orcladmin account under my new DIT. I even made him a member of the DAS Admin Group under my new DIT. I log into DAS and go to the config page. I change my values to point to my new DIT. I r