STO Auto delivery Creation - Batch Job

Hi Friends,
I am facing issue related to auto delivery creation through batch Job for STO.
I created a variant for auto Creation of delivery for batch Job using T code VL10BATCH, using the parrameter Shipping Point and Deliv. Creation date. The Batch Job is running fine, but my Client wants the delivery shoud be created from Delivery Date instead  of Deliv. Creation date.
    I tried to change the varriant , but could not find the delivery date as a parmeter to be selected.
Is there any possible way to use delivery date for creation of Auto delivery instead of Deliv. Creation date.
If not please tell why only deliv. creation date is given in varriant creation ,
Regards,
Kunal

Hi,
GO to VL04 there u just fill required fields and then go to menu bar program - execute in back ground then it will show u output parameters popup screen then enter. There u just give start data and time and then clikc on periodic values button there u select daily. Finally save. This will be run in back ground every day on specified time..
Regards
Sankar

Similar Messages

  • Delivery creation - Batch Job

    Hello,
    I need to create a batch job that has to pick up the sales order numbers from delivery deue list and create deliveries automatically.
    Could some one let me know the program that takes the orders from delivery due list and creates the delivries.
    Ponits are rewarded.
    Regards,
    Krishna

    Hi,
    GO to VL04 there u just fill required fields and then go to menu bar program - execute in back ground then it will show u output parameters popup screen then enter. There u just give start data and time and then clikc on periodic values button there u select daily. Finally save. This will be run in back ground every day on specified time..
    Regards
    Sankar

  • Auto delivery creation without settings!!

    Dear SD wizards,
    At my place the sales order - delivery settings are NOT for automatic delivery creation. However, in
    some cases, the delivery is getting created automatically in the background and can bee senn in the doc flow.
    Have done some introspection in these 'some' cases and found that they pertain to a few of our sales ofifces / storage locations and probably with some of our users not ALL the users.
    Would there be any settings for auto delivery creation based on storage locations / user access?
    Do advise how to go about resolving this unnecessary 'deliveries'!
    Thanks and regards,
    Tariq

    Dear Lakshmipathi,
    Thanks for the response but thats not the case. I had earlier checked the order settings and not found the "create delivery immediately" settings for the said order. However, on your advise I again went in there to find the 'tick' you said but I don't find any 'checkbox' to enter a tick, but the same drop down in the section 'Shipping' box named "Imediate delivery". the entry is blank in there, thereby signifying no automatic delivery is configured.
    Moreover, Do recall my initial point that it is for SOME of the cases only for which this is happening, doc type is common for all. What I have found is the storage location / sales office / userid as the main differentiating factors, till now.
    Any pointers anybody...??
    Regards,

  • BAPI_SALESORDER_CREATEFROMDAT2 with auto delivery creation

    HI all.
    I use BAPI_SALESORDER_CREATEFROMDAT2 to create orders. When creating
    rush orders the system automatically creates a corresponding delivery for the order.
    After I call the commit BAPI I try to read the created delivery from VBFA. But it often happens
    that the VBFA update is not done synchronously which means I cannot find my delivery in VBFA.
    I do not want to do a loop and select 10 times from VBFA till the delivery can be found.
    Do you know any other way of getting the delivery directly after creating the order with this BAPI?
    The BAPI returns the delivery number as message variable in the return parameter. But using it does smell bad to me.
    Thanks and cheers,
    Sascha

    Hi Michael.
    Thanks but the flag is already set to X.
    I get the order number and the order exists in database. What is missing is everything about the delivery ... no lips no likp no vbfa ...
    Seems that the internal commit for the delievry tables is done somehow later. Could this be?
    I thought when calling Bapi_Transaction_Commit everything of the actual workprocess gets committed.
    Cheers,
    Sascha
    Edited by: Sascha Dingeldey on Jan 11, 2008 2:17 PM

  • Auto Delivery creation for sales order

    Hi All,
    We have requirement to create an outbound delivery for a sales order..
    Can you provide me the steps to follow to achieve this..
    Thanks & Regards
    Santhosh

    Hi
    Value contract is an agreement between the company and customer for a value for a time period
    For example a customer say X makes a contract with company ABC for about 1 lakh rupees between 01.01.2009 to 31.12.2009
    Then you make a value contract order type WK1 with all these  details
    The customer will not buy the whole 1 lakh in a single shot
    He may buy about Rs10000 for 10 times or as many times as he wishes till he reaches 1 lakh within this year
    The each order which he is placing for Rs 10000 is the release order which is nothing but standard order OR
    Now in SAP we make a value contract in t code VA41 with order type WK1 and note down the no
    Again we create release order in VA01 order type OR referencing the contract which we have already created(create with reference)
    This is the process
    For this to happen the copy controls should exist between WK1 to OR in VTAA
    This release order (OR) configuration you can configure (in VOV8) the immediate delivery switch which will create delivery when you save the order
    The immediate delivery switch is used only in Cash sale and rush order in standard SAP
    Regards
    Raja

  • FIFO break during delivery creation against STO

    Hi,
    I am running a batch job which is responsible for delivery creation against STO.
    There are 3 STOs I have in system - STO1 from receiving plant - RP1 & STO2 & STO3 from receiving plant RP2.
    In all 3 STO, I have same issuing plant(IP1).
    I expect, when the delivery creation batch job gets triggered, it should create delivery against STO1, later to STO2 & STO3.
    Important parameters as per configuration is set to as below -
    Logistics execution -> Shipping -> Worklists -
    The batch job has shipping due list with
    option "1 Ship-to party and source document" and package type as 1 "All items for  document type and ship to party"
    Any body has any clue, how we can address this?
    Regards,
    Dipak

    Hi,
    Thank you for your reply.
    Below is my MD04 screen -
    The situation is, once GR is done in above plant, stock gets reflected in this issueing plant.
    Next activity is delivery creation batch job triggers.
    System should create delivery for the STO PO for receiving plant SP1.
    Rather than that system creates outbound delivery for receiving plant SP2 & SP3.
    Which I feel is FIFO break.
    My shipping due list has below parameter -
    Delivery creation profile -
    So any idea what causes this FIFO break.
    Also not sure what is this "planned delivery creation dates" you referred earlier.
    Regards,
    Dipak

  • Incorrect delivery creation date in stock transport order

    Hi,
    I've checked SAP notes and forums but no answers to this one....hope you can help.
    I have 2 plants, in separate company codes.  One orders from the other using a full inter-company process.
    The issue is, when i raise a PO the delivery date (shipping tab) is updated correctly, using the agreed lead time (planned delivery days)
    However, the Delivery Creation Date is usually updated with 'todays' date.  It's as though the planned delivery days on the material master or PIR is being interpreted as a transit time between the plants.
    This has 2 undesirable effects:
    1.  The supplying plant has no notice, requirement date is NOW
    2.  Delivery creation batch jobs create deliveries which aren't really due yet
    I really need the Delivery creation date to be a true material availability date  ie the date the goods are required to be available in the supplying plant.  For us this would be 3 days (transit time between plants) before the delivery date. 
    Any help greatly appreciated.
    Regards
    Guy

    Guy,
    true lead time.
    is a bit ambiguous.  The system does exactly what you tell it to do.  'True Lead time" is not defined in SAP.  What do you mean by this term?  Are you talking about "Total replenishment lead time" in the material master?
    Anyhow, you are telling me you want the delivery creation date to be "three days prior to Delivery date".  No problem, set PDT to 3 days.  So, if you today created an STO with a delivery date of July 30, and the PDT was 3 days, the delivery creation date would be July 27.  If you also want cushion, then today convert the STPRs with a delivery date of July 30.  Don't wait until July 27 to convert these PRs.
    How are you creating STOs today?  You mentioned delivery dates being populated by the system.  How? What transaction/what program?  If your current process is to automatically convert all existing STPRs into STOs, then you probably need to consider adding some time to Purchase Req processing time.  OMEW in config.
    Rgds,
    DB49

  • Batch Job Processing

    Hi,
    I have 2 selection screens.i have entered the data in 1st screen and press 'F8',now i wil be getting 2nd screen.In this i have to select the check boxes.once i checked this check boxes that could be saved automatically.
    Can any one please suggest me how to get this.  I have to go for a batch job for this.
    thanks
    BAlu

    To set up a batch job for delivery creation use SM36 T-code.
    Input batch job name say - ZSD_CREATE_DELY_SALES_ORG
    Select class = C or B.
    Set up by / created by = BATCHADMIN or your id
    Program Name = WS_DELIVERY_UPDATE
    Varient = (as per your requirement - say for a particular sales area and plant)
    Click on "Check" icon and "Save".
    Go to the main page, select icon "Schedule a Batch job".
    Give detils like daily, weekly or periodic or Immediate.
    Enter date and time accordingly. Save it.
    Same thing applies for Invoice creation batch job.
    Use program name:RSBDCSUB
    All other steps remain the same.
    Hope this will help you out !
    Regards,
    Rajesh Banka
    Reward suitable Points

  • Delivery creation date

    Hi Gurus,
    We have an STO that has the delivery creation date on the shipping tab and when we create delivery for the corressponding STO line items  the delivery creation date<LEDAT> is disappearing on the STO line item.
    Is this an SAP standard???
    Is there an enhancemnet that we can add delivery date field<EINDT> on the selection screen of VL10B transaction????
    Thanks
    SAM

    Hi John
    Thanks for your reply.I have an STO whose delivery creation date exists before creating the delivery from the STO but after running VL10B delivery is getting created and when I go to STO line item in the shipping tab the delivery creation date is dissappearing.
    I am wondering if this is an SAP stanndard????????
    Thanks
    SAM

  • Help required regarding the outbound delivery creation by batch job

    Hi Gurus,
    We are facing one problem in the outbound delivery creation.
    The deliveries will be created automatically (using program RVV50R10C) from the existing open sales orders through the run of a batch program for every 5 minutes.
    The program RVV50R10C is scheduled to run for every 5 minutes, which picks up all the open sales orders and creates outbound deliveries. However, during one run we have found an error.
    The error had message class V50R, message no: 024 and message type : I. The error message reads as follows : u201CAt least one order was blocked and could not be deliveredu201D.
    When we have checked the VBFS table, it showed the sales document line items with the Message type : E, Message no: 24 and message id : V50R.
    Can anybody decipher what could be the reason why this error message is appearing?
    Thanks in advance,
    Krishna

    Hi Friend,
    to clearly identify the issue,
    Goto SE38 and give the program which you are using as Back ground job to create the deliveries and  give the sales order number as mltiple entries and execute the program in back ground.
    In most of the cases we can identify the issue behind the job while doing this.
    please revert me if you need more clarification
    regards,
    santosh

  • Delivery Creation using Batch Jobs

    Hi,
    I have set up automatic delivery creation using a batch job ( vl10batch). The program selects all sales orders in the last 3 days and creates delivery.
    The problem is if in a sales order there are multiple line items each with a different delivery date.
    If the delivert dates for all the line items fall within last 3 days the program selects all 3 line items and ceates 1 single delivery.
    We would like to see a different delivery getting created for each line item.
    Example: Sales order has 3 line items
    Item A ( Del Date: 4/2/2010)
    Item B ( Del Date: 4/5/2010)
    Item C ( Del Date: 4/6/2010)
    The batch program runs and created 1 single delivery followed by 1 TO.
    Is there anyway we can seperate the deliveries based on date in the batch job?

    Hello,
    check sales order is not signed as "Complete delivery", register "shipping". On item level you can set "fixed date and quantity" in register "schedule lines".
    Best Regards, Dirk

  • Batch job - Delivery creation

    Hi all,
    Here in my project there are so many batch jobs ruuning.Deliveries are created manually and through batch job also
    A delivery was created manually.A particular delivery output type was not pulled in the delivery since we did not maintain the condition record for that.After some time(after 5 min) that output condition type has been added in the delivery output header.When I click the further details it shows that Manually changed by Batch job
    We are now surprised that how Batch job added this output type manually when it is not its responsibility.
    How to find out which particular job has done this activity.
    Has anybody faced this problem or any solution for this problem
    Regards
    Mano

    Use transaction SM37 to find which background job ran during the time when the change occurred.
    Verify the variant that is used in the background job.

  • Duplicate deliveries getting created by batch job against STO

    Hi Experts,
    I am facing one issue where duplicate deliveries are getting created by batch job against Intercopmany STO.
    Scenario is PO having one line item with ordered qty of 8000kg.
    Through batch job, two deliveries got created on same day for PO line item.
    One delivery got created for 8000kg and another delivery has got created for 7000Kg. So user has deleted second delivery of 7000kg.
    Next day again the delivery got created for 8000kg for the same PO line item through batch job.
    I am wondering how the duplicate deliveries are getting created by batch job for PO even though it has no open items.
    All deliveries got created through batch job only as cross checked the user name in delivery.
    Kindly help to fix the issue.

    Hi Amit
    I assume you are talking about outbound deliveries.  In this case it would be worth checking the customer master record for the receiving plant.  In the sales area data there is a shipping tab which contains several settings used to control delivery creation for customers.
    It is possible to control how the system behaves when you have a stock shortage and restrict the number of partial deliveries.  This might help you control this situation and might be the cause.
    Regards
    Robyn

  • Problem related to Outbound Delivery creation via Background Job

    Hi ,
    We are using the program RVV50R10C for creating OBD incase of STO .
    Z variant is created to take care of selection parameters which inlcudes Shipping Point , Delivery creation date , Calc Rule, Delivery priority and shipping conditions.
    The job is scheduled to run for every 10 minutes .
    As planned the job is running for every 10 minutes but the OBD are created after 1 hour .
    What are possible causes of this error.?
    Please note that there exists enough stock.
    Regards
    Ramesh Ch

    I think you will have the same problem when doing it manually with VL10B.
    The creation is based on entries in an index. there is a userexit where you can influence how and when an entry goes into the index.  E.g. you can speed up the overall performance if you do not update the index all the time, instead you are doing this with a background job from time to time.
    Check if this is the case in your system.
    this note may give you some hints:
    Note 356061 - Incorrect index compilation caused by own checks

  • Help needed in creating a batch job for delivery

    Hi gurus
    Can somebody tell me the process of creating a batch job ..for creation of delivery.. is this the same process to create the batch jobs for invoices also?
    thankyou
    bj

    hello jaya ,gsl
    thankyou very much for ur help .. I have tried creating a variant .. in vl10batch.. and ive assigned it a scheduled time .. i craeted a open order..  and when the scheduled time has arrived and is over,i went to the order and still i dont see any delivery doc created .. and in sm37 its shows that the job is finished ..i even tried sm36 .. of creating a job for the variant.that ive craeted in vl10batch .and then assigning the job in sm37.. i can see the job that ive created in sm37 it is changing its status from released to finished .. as per the scheduled time but the delivery is not created .. i tried vf06 for a billing   variant.. and went to sm36 craeted a job for the variant..using the program name.. and next to sm37 i can  see the created  job in the spool also..but somehow it is  not creating the billing doc also..
    can u help me to find where it actually went wrong with me ?
    thanksalot in advance..

Maybe you are looking for