Sequence of items in delivery via BAPI_OUTB_DELIVERY_CREATE_STO

Hi all,
Is there a way to control the sequence order of items in delivery that is created via  BAPI_OUTB_DELIVERY_CREATE_STO. For example, I have to STOs, 4600001440, 4600001635, each of them have 2 items, that are 10 and 20, thus I want the result of delivery items to be in the specific order,
This is source.
STO
Item No.
4600001440
10
4600001440
20
4600001635
10
4600001635
10
Here is the coming up delivery and the relevant STO.
Delivery
Delivery Item
STO
STO Item
80501061
10
4600001635
10
80501061
20
4600001635
20
80501061
30
4600001440
10
80501061
40
4600001440
20
What we need is the one like below instead of above.
Delivery
Delivery Item
STO
STO Item
80501061
10
4600001440
10
80501061
20
4600001440
20
80501061
30
4600001635
10
80501061
40
4600001635
20
Thank you in advance.
Robin,
Regards.

Hi Eduardo,
I look at the OSS note and this is not applicable for me. If I use the t-code VL10B, only one delivery will be created from my STO and this is perfect. But we are using the BAPI "BAPI_OUTB_DELIVERY_CREATE_STO" to create the delivery because we are using a front-end that we created to create the STO and we want to launch the delivery automatically after the STO creation without any user intervention.
Regards

Similar Messages

  • Schedule Line Item 100001 delivery date is missing

    Hello Sirs,
    After created a sales order in ECC and transferred to TM via XI, the queue remains with STOP status. Entering in transaction /SAPPO/PPO2 I’m facing the error “Schedule Line Item 100001 delivery date is missing”. The delivery date is filled in ECC side.
    Is there something that I need to check in TM regarding delivery date?
    Thanks.

    Please try to edit the PO[Change date] and process it again. This issue happens when we use a conversion program to create PO instead of creating it from UI.

  • Subcontract process PO via delivery via shipment

    Hi,
    Can anyone let me know; issue the material to Subcontract Vendor PO through delivery via shipment?
    Present Scenario is,
    Create the subcontracting PO (PO with Item Category L)
    Issue the material with reference PO through MB1B transport positing using Mov.type 541.
    Goods receipt with reference PO by subcontractor MIGO-Good Receipt and using Mov.type-101
    MIRO to account for vendor's invoice for payment
    Create New separate PO for Transportation of difference Vendor
    Do the service entry through ML81N
    MIRO to account for Transporter vendor's invoice for payment
    Is it possible to Sub contract PO through issue the material via Delivery via shipment?
    Please advice.
    Regards,
    Devendra

    It is possible to provide the component to the vendor for existing purchase order through a delivery and shipment.
    See below SAP documentation: http://help.sap.com/erp2005_ehp_07/helpdata/en/4d/2b906243ad11d189410000e829fbbd/content.htm
    From the SC Stock Monitoring for Vendor list, you can also create a delivery via Shipping. The advantage of this procedure is that you have shipping documents and delivery notes for the shipment of the materials to be provided to the subcontractor
    To create a delivery, the following data has to be maintained in the system:
    the plant must be assigned a sales organization, a distribution channel, and a division. You can define this in Customizing for Purchasing, in the step Set Up Stock Transport Order.
    A delivery type has to be defined for the plant from which the items are to be delivered. You can define this in Customizing for Purchasing, in the step Set Up Subcontract Order.
    If you want to reference a reservation when you create a delivery, you also have to set the Predecessor necessary indicator to L (Provision to subcontractor necessary) when defining the delivery type. This means that the requirements generated by the reservations can be correctly offset against the deliveries created. You can define this in Customizing for Shipping, in the step Define Delivery Types.
    The vendor for the stock with subcontractor must be entered as the customer in the organizational units in the delivering plant, such as sales organization, distribution channel, and division.
    The material to be provided has to be entered for the organizational units in the delivering plant, such as sales organization, distribution channel, and division.
    The combination of shipping condition (from the subcontractor’s customer master record), loading group (from the material master record for the components to be provided), and the plant have to be assigned to a shipping point. You can define this in Customizing for Shipping, in the step Assign Shipping Points.
    To create a delivery, choose Edit → Create delivery. A dialog box appears, in which you can enter the data required to post the delivery. The system posts the delivery in the background and, after posting, it informs you in a dialog box how many items were posted.

  • Insert new line items in Delivery

    Hello All,
    Is there any BAPI or FM in which i can add new line item in SD delivery vl01n? The new line item will not be there in SO , but i want it in delivery. Manually i can insert new line item using VL01n , but i need FM to do the same.
    Thanks

    Hello,
    I need a Bapi or FM through which i can add new line item in delivery , maybe while creation of delivery or changing the delivery i.e. via VL01n or Vl02n. The new item will not be there in SO. It is a non valuated material.
    Helpful answers will be rewarded.
    Thank you

  • How to create lower-level item for delivery with TO confirmation.

    Hi Gurus,
    I am writing batch to the delivery item after confirming the Transfer Order. According to the TO quantity, SAP splits the items and makes a "Lower-Level" item.
    SAP does that splitting if the TO quantity is lower that the delivery item quantity.
    What i want is that, i need SAP to create a lower-level item even if the TO corresponds the delivery quantity. 
    Is there a customizing for that?

    That is a standard behavior where the line split occurs in the delivery when the delivery quantity is not equal to picked quantity. Since, the header line indicates the remainder of the quantity in case of short pick. This behavior also occurs when you are writing multiple batches despite the delivery quantity equals to the picking quantity.
    Essentially, you'd see a single line when there a full pick and a single batch. If you still want to get this split then you can pick the batch in the delivery via 'batch split' (so that the line item is created) and then create a TO.

  • PO - Item Data - Delivery Schedule Tab - Delivered qty, issued qty, GR qty

    Hi Frens,
    In a Purchase Order, under Item data < delivery schedule tab, we have delivered quantity, issued quantity and GR quantity fields.
    Is there any TABLE to find out these quantities against PO.
    Thanks and Regards,
    CK Vikas

    >
    CK Vikas wrote:
    > Hi Raj, You mean EKBE?
    Yes EKBE is the right table for your requirement.

  • App-V SP3 Sequenced Packages Fail to Install via MSI with Error

    I upgraded my sequencer machine and 2 client machines to App-V SP3 and proceeded to sequence 2 new packages. I then attempted to install the new packages on the client PCs using the automatically created MSI and got the following errors during install. Note
    I am logged into the PC with an Admin user. Screen shot 1 pops up during the install, then screenshot 2 shows up right after. I have also included the event log error. Note that packages sequenced using SP2 install fine via their MSI on the SP3 client machine.
    Both a Win7 and Win81 client with SP3 give this error, and I have tried reinstalling the clients on both PCs. If I add and publish the packages via powershell they work fine. Any assistance is appreciated.
    AppV Error Code: 0300000102
    Event ID:10
    If you found this post helpful, please give it a "Helpful" vote. If it answered your question, remember to mark it as an "Answer".

    OK, fond the issue in the msi file. Do the following steps to fix the issue:
    Download the mst that fixes the issue: http://www.notmyfault.ch/downloads/AppV5_SP3Fix.zip
    Extract the mst file and copy it into the same folder as your msi file
    Run the following command: msiexec /i YourAppvPackage.msi TRANSFORMS=AppV5_SP3Fix.mst
    If you want to run it unattended, add /qb as parameter. Make sure your current directory is the one that contains the msi/mst or just add the full path to your msi and mst. Don't rename your msi, use the original name that has been created by the sequencer.
    Let me know if that fixes your issue.
    Regards, Michael - http://blog.notmyfault.ch -

  • How to insert serial numbers in the creation of a delivery via VL01N

    Hello everybody,
    In the creation of an outbound delivery via VL01N I have to copy the serial number from a specific inbound delivery. I can get these serial numbers but I do not know where or how I can insert these serial numbers.
    I have to insert them just after the user press enter in the first screen of VL01N (before the delivery number is created) I cannot use a bapi like BAPI_OUTB_DELIVERY_CHANGE because the delivery is not created yet.
    Could anybody tell me how to do it? Any BAdI/Exit I can use? and which internal table I shoud update?
    Thanks a lot.

    But this is impossible! Believe me! When I open Creative Cloud.app, the window which pops out says :
    ===========================================
    APPLICATIONS INSTALLEES (= Installed applications)
    Indesign CC (2014) ----- A jour (= up-to-date)
    Acrobat XI pro ----- A jour (= up-to-date)
    TROUVER DE NOUVELLES APPS (= Find new apps)
    Photoshop CC (2014) ----- Installer (Install)
    etc., etc.
    ===========================================
    In the second part of the window, you have already installed apps, as Photoshop, which have not been updated as well as apps I have never installed, as Scout CC.
    So it is impossible to install Indesign anew.
    When I click on the small gear, a small window opens up, and I can check that in Preferences/Apps that the "Langue de l'app", that is the "Language of the app" is "English plus hebrew (some hebrew characters)
    ", since i made this choice yesterday, as you told me.
    And nevertheless, the Creative Cloud.app does not want to download any new Indesign application.
    It is not possible to ask the people at Adobe who have designed CC.app?
    Thank you,
    André Bellaïche

  • Addition of new line line items in delivery while creating

    HI All,
    i have the requirement of adding a new line item in delivery items while creating it referencing a sales order.
    i have to add new line item based on the existing line items. i have done coding in badi save_doc_prepare.
    now new line items are getting added  but we are not getting values in all the fields which are determined by SAP.
    because after badi save_doc_prepare sap does not determine the values for newly added fields.
    can anybody suggest some good solution.
    thanks
    Rajpal Sehrawat

    try this BAPI BAPI_PO_CREATE

  • Delete non-picked items in delivery using iDoc

    Hello gurus,
    I'm integrating SAP ECC and external WM solutions using iDocs. The outbound delivery is created in SAP ECC and sent to WMS using DESADV iDoc. The picking is performed in WMS and the list of shipped items with batch numbers are returned to SAP and Goods Issue is posted. iDoc WHSCON is supposed to be used for that purpose.
    The problem is that in case if not all the line items were shipped it's necessary to delete them from the delivery because otherwise GI will not be posted. But the non-picked items no longer exist in the response iDoc WHSCON so it's even impossible to set QUALF=DEL for these items. WMS sends back only actually shipped items in iDoc, and not the deleted ones.
    Do you have any solutions for overcoming this problem?
    Maybe there is any BAPI or iDoc qualifier that will allow to delete all items from the delivery so that they will be recreated by the same iDoc? Or there is any checkbox in SAP that will automatically delete unpicked items during posting of GI?
    Thanks!

    hi
    in this both error comes ,
    1)E VL 609 20 Delivery has not yet been put away / picked (completely)
    a) picking quantity not entered , in delivery , first you enter the picking quantity ,
    you create the 2 lines for sale order , so create for one line item for delery , go to vlo1n enter shipping point , sale order number line item number  1 to 1 enter press enter system will take only one item in delivery then you enter the picking quantity , and pgi ,
    in delivery two line item only line item enter picking quantity and another line item not enter the picking quantity , it not possible to pgi , both line item you enter the picking quantity ,
    you create the same delivery number for 2line item , so first complete the 1st line item pgi and , go to vl02n and enter , click on menu bar out bound deliverrs-delivery sale order -enter sale order number and line item , and do the pgi ,
    2)VL 608 20 Delivery has not yet been completely processed by WM
    you process activate the wm , so you can do the lt03 , then it will come vlo2n and check the picking quantity it will come auto matically

  • SHPCON serial number updates item on delivery but not item in HU

    I am using SHPCON to update the item on delivery with serial numbers.  After that I use SHPCON to pack that same item in a handling unit.  From the pack screen I should be able to select the item and hit the serial number button and see the serial number.  Instead it says there is no serial number on the item.  I populated E1EDL11 under E1EDL24 to get the serial number on the item.  I also tried during packing populating E1EDL46 under the HU item E1EDL44 but that doesn't work either.
    Anybody run into this issue?

    Hi,
    If your Sloc is HU managed then need to maintain serial numbers in HU only.
    i think you are doing packing at shipment level, HU should packed and serial numbers assigned then finally assigned to shipment document.
    Rgds,
    Kris.

  • How to delete the item from Delivery?? (Handling Unit)

    Dear SDNs,
    I have a scenario of HU (Handling Unit).
    Now here I have a case where the complete cycle is done. But end user now wants to change/delet the item in Delivery. So I have guided them to reverse all documents and it is done.
    Now delivery is in Editable Mode. Now here when I try to Delete Delivery Line Item.. It is giving Error like "Item has already been packed and therefore cannot be deleted"
    Diagnosis says "It is not possible to delete packed items."
    Procedure says "Unpack the item from the shipping unit before you delete it."
    Now when I select Line Item and click the PACK Button to go to the screen for "Processing of Handling Units for outbound Delivery XXXXXXX", it goes to the screen but here there is not Existing HUs available to Delete/Empty... whole screen is Blank.. even no Material to be packed...
    I think user have proceeded the cycle without HU assignment.
    So now I want to Delete the Line Items and want to insert fresh Items again...
    Any inputs???
    Thanks & Regards,
    HP

    Hardik Patel,
    I have checked your equirement frankly speaking i was not exposed to such an scenario. I got alink which will help you
    Handling Unit and Packing used across all modules.
    [http://help.sap.com/saphelp_47x200/helpdata/en/c8/a44b749f3211d2858d0000e81ddea0/frameset.htm]
    Here to your left choose Packing --> Working with Handling units --> Unpacking
    Therein you will have Unpacking, Deleting  HAndling units
    Just Check....
    Regards
    Sathya

  • Why can't I use the function of menu item 'issue delivery output'?

    why can't I use the function of menu item 'issue delivery output' in main screen of delivery note?
    And at the same time I can't use the button of printing in main screen of delivery note.
    the main screen of delivery note I mean above is in screen of maintaining shipping data instand of the first screen of VL02N.
    TKS in advance.

    Hi,
    Because delivery will be having header level output and item level output. So if u try to print through main screen then system will not know whether it is header related or item related. That is the reason it is only print output at header level or item level but not in main screen.
    I think u may have doubt like how billin will be issued output through Main screen. Because for billing both header and item level data are same..
    Regards
    Sankar

  • URGENT: Multiple line items in delivery document created for a STO

    Hi Gurus,
    We ar ecreating deliveries using VL10b for a STO. Teh TSO has 40 - 50 line items. But the delivery is created with one line item only an dit creates a delivery for each line item. How cna we allow the inclusion of multiple line items in delivery?
    We are using delivery type NL an ditem categor is NLN.
    Geratly appreciate any help in that.
    Thanks,
    KHAN

    Hi Gianpaolo,
    Thanks for your suggestion I have 5 shedule line itmes for one material and two shedule line for another material and when i changed the material by selecting one line for each sales document no and creates the delivery it is howing three line itmes for the 1st material and line items for the second and quantities equal to the changed quantity in VL02N. and I have value "1" in field "Split per sched.line" in "user role" view of VL10E.
    Kindly help.
    Thanks and Regards
    Tanweer

  • How to display a sequence in item?

    hi! well, i don´t know how to display a sequence in item. i created a sequence in sqlworkshop. now i want what the sequence will display in item(for example :P8_COD_SERVICES). I HOPE ANSWER. BYE
    (AH! I TRYNG IN ITEM.DEFAULT VALUES BUT NOTHING)

    Alvaro,
    Maybe the item source type could be SQL Query and the query would be: select seq.nextval from dual. Or you could have a before-header page computation do the same thing for the item.
    scott

Maybe you are looking for

  • TV Remote for B550

    Hi all, I have bougt a new Idea Center B550 which comes with TV remote for built in Aver Media Card H334. OS Win8. The remote is acting strange. Some of the buttons is working normaly, some of them are acting funny and the rest don't work at all. The

  • File crashes when doing a data merge

    Doing an NCR job and trying to number 1-1000. The file merges all the way to the end. I get no overset text prompt, go to close the file and it crashes everytime. I thought it might be a font error so I made the order form a PDF and the font for the

  • Vendors PAN Number field Mandatory in Vendor Master Data

    HI, I am working in 4.7 EE version. I want to make Vendors Pan Number field mandatory while creating Vendor Master Data. As per my knowledge we cannot use Validation for this purpose. Regards Sudhakar

  • Adobe Flash CS4 Freezes when I try to put a PNG in the library

    I am working with Adobe Flash Proffesional CS4 and I have a lot of items in the library. When I try to put another piece of art, such as a PNG, a JPG, or any other format, the program stops letting me interact with it, making that generic microsoft "

  • Two Alerts for every email message. Gmail?

    for only the past few months, my 3GS iphone began alerting me twice for every e-mail message received. I think it may be tied to using gmail, specifically. It appears that when gmail gets a message, the phone will make it's new alert sound and a new