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

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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.

  • 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..

  • Deliver\y Creation using Batch Job

    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?

    If you are looking forward to a delivery split by different delivery date, it should be possible.
    You should read note 546668, which explains the criteria of delivery split. Different LIKP-LFDAT can lead to delivery split.
    Basically, you just need to copy LIKP-LFDAT from corresponding item in header copy routine then you will get deliveries splitted by delivery date.

  • 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

  • Creation of  File through Scheduled Batch Job

    Hi Friends.
    How to create a file through scheduled batch job .ie data has to be sent in particular file which should be stored in SAP so that The file is expected to provide quick reconciliation when data in SAP gets archived .
    With thanks and regarsds
    Uma

    Which part? The creation of the file?  Since running in background, you would need to create the file using DATASET statements on the appliation server.  You will not be able to put the file on any frontend PC or server, only on the application server where you program is running.
    Regards,
    Rich Heilman

  • Rework batch stock not propose at a time of delivery creation,

    Hi, Experts,
    I have face one issue at a time of delivery creation:
    Issue : All FG stock availbale in table MSKA , that all stock prapose in availibility run in SO but the same quantity not prapose in delivery document,
    For example : In table MSKA , Initially stock is 100 with 10 batch with 10 quantity fo each batch, Out ot 10 , 2 batch marked for rework, & that batch against consumption (261) also done, AFter consumption in MSKA stock available 80,
    But when we create delivery document , System propose only 60 quantity insted of 80, Actully FG stock availble 80 in table MSKA,
    In SO - Availibility run time system propose 80 quantity, Only delivery time propose 60 quantity,
    We are using MTO scenarion in my company,
    Pls revert me with solution, Any Std. configuration is missing for rework process,
    Request you to alos send me which STd.configuration require for rework process,
    Thanks a lot in advance,
    Regards:
    Happy,

    Resolved,

  • Updating Batch Number while delivery creation from sales document

    Hi Experts,
         I have to write code inside user exit MV50AFZZ which updates batch number during delivery creation. Suppose I have a sales having more than one line items. Each line item have different material numbers, and one material number may have more than 1 batch number. And all these batch numbers have to be updated for their corresponding material numbers. Batch  number corresponds to LIPS-CHARG. So how we can maintain values for this field more than once for a particular material number?

    Hi Pankaj,
    Were you able to update the Batch Number?
    What is the function Module that you used? and where exactly did you code in the logic?
    Thanks,
    RV

  • Duplicate deliveries creation for single PO line in Batch Job

    Hello Experts,
    I have the VL10G batch job running for every 15 mnts for creating deliveries for POs. Recently for some reason, i see duplicate deliveries being created for same PO line for single quantity. Suppose, i have a PO line with 10 quantity, when I checked the PO history, i see two different delivery notes created for the same 10 qty in each. I assume that there could be some buffering delays in Batch job or the PO being edited during batch run. But I can not come a conclusion on this issue. Please share your ideas.
    Thanks in advance.

    Please see OSS  Note 1454193 - Duplicate Deliveries are Created using Transaction VL10* or Background Jobs

Maybe you are looking for