Split Outbound Delivery after Save

hi,
how to split delivery with BAPI_OUTB_DELIVERY_SPLIT_DEC i get error message all the time.
I trigger this FM after the Delivery has been saved that I need to split further.
wa_itemdata-deliv_numb      = lv_vbeln_new. " Say if I have 0802003455  I will add 1 => 0802003456
            wa_itemdata-deliv_item      = lt_lips-posnr.
            wa_itemdata-curr_qty        = lt_lips-akmng.
            wa_itemdata-sales_unit      = lt_lips-vrkme.
            wa_itemdata-sales_qty_num   = 1.
            wa_itemdata-sales_qty_denom = 1.
            wa_itemdata-convfactor      = 1.
            wa_itemdata-dlv_qty = lt_lips-lfimg / lv_factor.
            APPEND wa_itemdata TO lt_itemdata.
            CLEAR: wa_itemdata.
          CALL FUNCTION 'BAPI_OUTB_DELIVERY_SPLIT_DEC'
            EXPORTING
              delivery              = lt_lips-vbeln
              deliverynew           = lv_vbeln_new
              deliveryitemsbelongto = 'N'
              businessprocess       = 'Y001'
            TABLES
              itemdata              = lt_itemdata
              return                = lt_return.
The error I get is as follows. Looks like something related to decentralised warehousing:
LEDSP     037               000000     LE_DSP_DECENTRAL     DATA_ERROR
LEDSP     086               000000     802003456
Edited by: Maksims  Jegorovcevs on Aug 5, 2010 5:05 PM

I worked with this long time ago... I think in the ITEM table you need to have the items for both "old" and "new" delivery. Read the message text in SE91:
086     Delivery &1 is not entered as an old or a new delivery

Similar Messages

  • Open production orders and outbound delivery after go-live

    Hello All,
    I tried to search answer for this question but could not find answer.
    Could anybody suggest, what to do with open production orders and outbound delivery after go-live when WM is activated. As, after go-live WM-PP interface will be activated and system should consume material from storage bin specified in control cycle and that will happen for newly created production order after go-live,but what about existing production orders how to update production supply area against work center in production order.
    Similarly with outbound delivery how to update WM status after go-live.
    Thanks in advance

    Thanks to both Jurgen and Sander
    Regarding production order yes, one way is to re-read PP master data in production orders, but is that the only way to handle this or do we have any other option?
    I was aware of re-read PP master data but it will real time consuming and also if it will problematic for already released or partially confirmed production orders.

  • Can not Batch split outbound delivery

    Hi All,
    I have a 1 SO, when I create outbound delivery, I press batch split but has 1 message appear "Actual delivery quantity for Item 000010  is 0, split is not necessary"
    I check in Location, still have more qty (Unrestricted use) than in SO.
    How can I create outbound ?

    Hi,
    What is the delivery quantity shown in the delivery document. If the quantity is 0 or empty, then batch split is not possible. The quantity can be 0 only if
    1. There is no stock in the plant/storage location
    2. The stock requirement in this case is a special stock and there is no special stock reserved for the sales order.
    3. There is no material available in multiple batches in plant/storage location. All the materials belong to single batch.
    Find out what is ur scenario. Accordingly create stock in the plant/storage location with multiple batches. For ex you can create 100 units of materials with batch 12345 and then another 100 units of same material with batch 6789. If it has to be a reserved stock, then assign the sales order and item to these stocks.
    If this is done and if you create the delivery on the confirmed schedule line date, you should be able to split the quantity between various batches.
    Hope this helps you

  • Update VEKP-EXIDV2 during automatic HU creation from outbound delivery

    Hi All,
    I need your suggestion / input on following scenario.
    When I create an outbound delivery and save it, an automatic Transfer Order is created and at the same time an HU is created for delivery.
    Now, I want to populate the field VEKP-EXIDV2 ( HU header -- Handling Unit's 2nd External Identification) with a specific logic.
    Can anyone suggest a suitable EXIT or BADI or Enhancement point where I can populate the field VEKP-EXIDV2 ?
    Note: I have tried using EXIT_SAPLV51S_001 and also BADI_HU_MAIN, but it is not helping in my case.
    Because it is called only when Transfer Order is created manually (LT03), but is not triggered when TO is created automatically after saving the outbound delivery.
    Thanks & Regards,
    Devendra

    Hi Ankur,
    I am not going into HU creation screen in VL02N. There is some setting on functional side to create the automatic TO and HU during outbound delivery creation.
    When I save the delivery, an entry in HU header table (VEKP) gets created automatically. I want to populate the field VEKP-EXIDV2. But, the EXIT or BADI as mentioned in my previous post is not helping in this case.
    I would appreciate if you can throw some light in resolving this problem.
    Thanks.
    Devendra

  • Enhancement during automatic HU creation for outbound delivery

    Hi All,
    I need your suggestion / input on following scenario.
    When I create an outbound delivery and save it, an automatic Transfer Order is created and at the same time an HU is created for delivery.
    Now, I want to populate the field EXIDV2 of table VEKP ( HU header table ) with a specific logic.
    Can anyone suggest a suitable EXIT or BADI or Enhancement point where I can populate the field VEKP-EXIDV2 ?
    Note: I have tried using EXIT_SAPLV51S_001, but it is not helping in my case. Because it is called only when Transfer Order is created manually (LT03), but is not working when TO is created automatically after saving the outbound delivery.
    Thanks & Regards,
    Devendra

    HI,
    You can use the BADI BADI_HU_MAIN and the method HEADER_UPDATE_IN_PACKING.
    REgards,
    Ankur Parab
    Edited by: Ankur Parab on Jul 28, 2009 6:53 PM
    Edited by: Ankur Parab on Jul 28, 2009 6:56 PM

  • Is it possible to reterive the deleted Outbound Delivery details

    Hi
    I would like to know , Is it possible to reterive the deleted Outbound Delivery details like who deleted with  date and time.
    Can It possible to create Proforma invoice without Post Goods Issue (PGI) of Outbound Delivery.
    Can it possible to delete Outbound delivery after creation of its proforma and excise Invoice.

    Thanks sridhar,
    My prob is solved regarding deleted details.
    Can  we avoid , user can't delete the Outbound Delivery after creation of Proforma Invoice and Excise invoice. because OD is related to PRof and Excise inv.
    Actually In case of Sale Order's OD user cant delete OD's. but in case of STO it possible.
    Thanks and Regards,
    Tapovardhan

  • Deleting OB Delivery after TO confirmed in Lean WM

    Hi Guru's
    I would like to know how one can delete the outbound delivery after Transfer Order is confirmed in Lean WM. As the material is not moved to interim storage type we cannot use LT0G to reverse the picking. What is the best approach in such cases?
    I have read few discussion on SCN related to deletion of outbound delivery but was not clear on the solution provided,hence created a new thread.
    Thanks
    Rahul

    have a look into KBA 1486490 - Delete a delivery note without eliminating the transfer order (WM)
    and OSS note 521409 - Problems with deleting delivery items online
    Having read those notes, it makes me think that setting VL173 as error message was done by some of your colleagues, as the standard allows deletion without any message. So you should consult with them to understand the reason why they did it and if they thought about such a deletion in their concept, or if they eventually have a different concept for deletion

  • Spliting One Outbound Delivery  into Shipment Document.

    Hi All,
    Is it possible to split One Delivery Document into two Shipment Document. I want to split outbound delivery of 20 qty into two shipment document of 10 qty each.
    If spliting is possible please let me know the process & configuration to be done.
    Thanks in advance.
    Regards
    Mahendra

    Hi,
    It is possible to split delivery into two shipment document.It is called subsequent delivery split.Following link is self-explanatory.
    http://help.sap.com/erp2005_ehp_02/helpdata/en/1f/682e68646411d3b26a0050045571f7/content.htm
    Thanks,
    Vrajesh

  • Serial number assignment to batch split position in outbound delivery

    Hello All,
    I have a question for which I can't find any answer even though I have been struggling through several forums, etc. Let me explain it:
    I create a outbound delivery for material XYZ which is batch managed and serial number managed. An automatic batch determination takes place. Thus a batch split is created for the main item 10. Since the serial number is required, I enter the serial number for the batch split position 900001. Press enter and save.
    The problem is, that afterwards the batch split positions aren't shown in the Batch split screen using transaction VL02N (the batch split positions and also the serial number can be displayed via VL03N). The issue is that the serial number entered cannot be removed nor the batch split can be changed anymore.
    Message VL429: Batch/Val.type split only possible if no serial numbers are maintained.
    It seems to be a standard SAP functionality, but a little bit tricky. Can anybody help me?
    1. How can I remove the serial number assignment for a batch split position?
    2. Is there any customizing setting with which I could perhaps deactivate the check?
    Thanks a lot in advance. Any input is appreciatted!

    Hi,
    issue has been solved at last. The batch split indicator can be used to display the batch structure of an item. And here the serial number can be removed as well.

  • 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

  • Scheduling Agreement Schedule Lines firmed after outbound delivery

    Dear All,
    We use scheduling agreement for cross-company process in our client.  After MRP run schedule lines created automatically. For the next step outbound delivery is created via VL10F (or VL10B).
    After outbound delivery creation, on MD04 or ME39, i see the schedule line firmed (*). Because firmig MRP doesn't change those schedule lines. This is a problem for our client.
    Do you know a way for MRP can change the schedule lines even outbound delivery created ? How can i manage this situation ?
    Best regards,

    Hi Anil
    The '*' that you see means that the schedule line has been changed manually and the Firming indicator (EKET-FIXKZ) is set when there is any change to the Schedule line.
    So, when a Delivery is created, the schedule line should be 'Fixed'.
    Otheriwse, MRP can delete or change this schedule line and it would cause an inconsistency in the system. This is the logically intended behaviour.
    Please see the F1 help for the field EKET-FIXKZ:
    "Schedule Line is "Fixed"
    Fixes the schedule line and determines that it cannot now be automatically changed as a result of materials planning and control/MRP activities.
    Procedure
    The indicator is set automatically if:
    .- You make manual changes to a line of a scheduling agreement delivery schedule that was created via the materials planning process
    .- You create a schedule line manually
    Dependencies
    You can specify whether Materials Planning/MRP can change delivery schedule lines within the firm and trade-off zones in the additional data for the scheduling agreement item."
    I hope this helps.
    Anna

  • Outbound delivery document flow is not updated after LT0G

    Hello Gurus,
    after executing LT0G Returd to stock from delivery, a document flow of outbound delivery is not updated. Still an OvrllPickStatus remains = C Fully picked and OverallWMStatus = C WM trsf ord confirmd. This though the goods result to be returned correctly from 916 into stock.. What can be the reason for this malfunctioning?
    Jari

    Many thank for your feedback. The transaction LT0G is executed succefully and a destination storage bin results a correct quantity. Anyway I checked SM13 and a log is empty.
    The notes you mentioned seemed very promising, but unfortunately they are not relevant as a release in where I am working is SAP ECC 6.0 SAPKH60013.
    I am still trying to find some possible other notes but without a success so far.
    Jari

  • Add field in 'Subsequent Outbound Delivery Split' subscreen in VT01N tcode

    Hi,
    My Requirement:
    Add field STFAK in the report in  'Subsequent Outbound Delivery Split' subscreen in VT01N transaction. This field is to be added in Structure LEDSPD_LIST_ITEM, and value in it is to be mapped from MARA-STFAK.
    Steps to the Subscreen 'Subsequent Outbound Delivery Split' :
    1. Transaction:VT01N. Enter TransportPlanningPt and Shipment type
    2. Click on 'Deliveries' button. A subscreen for 'Select Outbound Deliveries' pops up
    3. Click on Execute. A list of deliveries is retrieved
    4. Select a delivery. Click on 'Split Deliveries' button. Subscreen 'Subsequent Outbound Delivery Split' pops up.
    Issue:
    I have added the field in the structure LEDSPD_LIST_ITEM. However, it is not displayed on the report generated in  'Subsequent Outbound Delivery Split' subscreen in VT01N transaction.
    Also, to map the value in this field, I need to make changes in the program/screen exit/BADI. I am unable to find the exact  program/screen exit/BADI where I can make the changes.
    Request to Experts:
    I have referred several posts on SDN, but have not found anything of relevance. I am debugging also since quite some time, but am yet to come to a relevant solution. Please guide me to a solution for this issue.
    Thanks in advance,
    Regards,
    Smruthi Acharya

    self resolved

  • Subsequent outbound delivery split with serial numbers

    Hi,
    I have a question about subsequent outbound delivery split with already assigned serial numbers.
    Case:
    First delivery is created and serial numbers are assigned. Now we have to do a subsequent delivery split for that delivery. In SAP standard, it's not possible to do a subsequent delivery split if serial numbers are already assigned.
    Does anyone know how we can handle this?
    Best Regards,
    Florian

    well, seems to be not possible at all.

  • Splitting the outbound delivery VL10b

    Hi,
    I am facing the very weird problem. i am using the retail envirnoment ecc 6.0.
    i have scheduled daily batch job for outbound delivery creation from STO's through VL10B transaction.
    As per the SAP standard system it should create a single delivery for one customer consolidating all STO's related to that customer/site.
    but unfortunately system is not behaving like this and creating split deliveries for singel site/customer.
    I have also checked the number of line items in the delivery they are much less than 999  so there should not be any reason to create split delivery.
    can anybody guide in what aread i can look to resolve this?
    thanks in advance
    Praful

    hi
    it does vary actually we have mix sto's ( i.e one is directly created STO and other is created through allocation table )  from which creating deliveries. but in both the cases we dont have much line item even sometimes they are less than 20.
    praful

Maybe you are looking for

  • How to generate XML from EBusiness suite ARXSGPO

    Could someone tell me how I can generate XML from the EBusiness Suite Accounts Receivable report ARXSGPO.rdf I understand this report is called by a C program. I have tried changing the concurrent request to output format to XML the result does not r

  • Consume oData service in WebDynpro ABAP

    Hi All, Is it possible to consume a oData service from one SAP system in to another system (assume in a report program or WebDynpro application)? If yes, can you please guide me? Thanks in advance.... -Chandra

  • AME & Oracle Purchasing workflow

    Hi All, Is there any provision in Oracle Purchasing workflow to send a notification in parallel when the Purchase Orders approval is initiated or AME only works for requisitions ? Thanks, Elisa

  • How can I know if the Oracle software is  64-bit or 32-bit

    Hi all, How can I know if the installed Oracle software is 64-bit or 32-bit.Actually I'm using an oracle database 10.0.2 on a Solaris 10. Cheers.

  • Tutorial on ITS

    Hi, Could you please send tutorial on ITS(internet Transaction Server ) with screen shots Best Answer rewarded regards Fareedas