Delivery creation for Sales Order

Hi All,
Here i am using the function module 'GN_DELIVERY_CREATE' to create delivery for sales order.
Plz tell what are the essential parameters to pass to the function module?

see include program :LCNSHF0L
create delivery -
  call function 'RV_DELIVERY_INIT'.
  call function 'GN_DELIVERY_CREATE'
       exporting
            vbsk_i         = xvbsk
            vbls_pos_rueck = charx
            no_commit      = charx
       importing
            vbsk_e         = xvbsk
       tables
            xkomdlgn       = xkomdlgn
            xxlips         = lips_tab
            xvbfs          = xvbfs
            xvbls          = xvbls
       exceptions
            error_message  = 1
            others         = 2.
  subrc_exp = sy-subrc.
pl..award the points .
Thanks
Saquib

Similar Messages

  • 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

  • MRP-Delivery Schedule for Sales order is not updating in Production order

    Dear Experts,
    I have created Sales order and maintained delivery scheduling, Then Run MRP through MD50,
    We received Planned order then through this we have converted to Prodcution order.
    When we observe the delivery schedule for sales order under assignment Tab in Produciton order which is showing zero instead showing line item of Delivery schedule.
    I am able to see Sales order and Line item but i am not abel to get any delivery schedule line item.
    Please suggest where settings are missing.
    Thanks in advance
    Regards
    Don

    Dear Experts,
    Please provide me solution.
    after Running MD50 transaction against Sales order.
    If I maintained different Scheduling Line Item for First Line item of Sales order.
    The Respective Scheduling Lines should update against Each Production order which has converted from Planned order.
    Thanks in advance.
    Regards
    DON

  • How to get the pricing hierarchy based on the delivery date for sales order

    Hi,
    How to get the pricing hierarchy based on the delivery date for sales order other than system date.
    My requirement is to get the Pricing hierarchy based on the delivery date other than system date.
    Waiting for kind response.
    Best Regards,
    BDP

    HI Sai,
    please refer teh document already how to write FM based extration on generic extractors.
    and here  the logic to find the latest records values:-
    -> get the data in an internal table
    ->Sort the internal table data based from date descending
    -> Using READ statement , we can read the first record of the table which is nothign but your latest record.
    Regards.
    Sakthi

  • Outbound delivery creation - one sales order

    Hi,
    We have an issue on locking of delivery processing of sales orders with two plants.  Is it possible for the two plants to create/change the outbound delivery at the same time? If yes, how?

    Hi,
    This is because plant 2 is processing delivery -2 with reference to sales order.
    So when you want to process deliver -1 then same already created with reference to sales order. it means both delivery cant be accessed one time because reference is sales order, so it lock
    If you want to pick both at same time,
    Then assign one shipping point to both plants, so when you create delivery both item will copy in delivery,then pick both at same time.
    kapil

  • Bapi for Delivery Creation from Sales Order

    Hi
    I have multiple sales order and i want to create 1 outbound delivery from it just like what Vl10A is doing.
    Can i have BAPI or fumctiona module for same.
    Best Regards
    Subham

    Check this thread:BAPI for Delivery Creation
    Also search the forums..there are many threads addressing the same issue.
    Regards,
    Kiran

  • Prevent Outbound delivery creation in sales orders with delivery block

    Hi gurus
         We are facing the following issue:
         Some sales orders have delivery block header and once they are saved an outbound delivery document is created; we want SAP system creates outbound deliveries only in those cases were sales orders have not a delivery block in header, is there any option or configuration we can use in order to prevent the creation of these documents?
    Regards,
    Edgar.

    Well Edgar,
    let's see then in spro
    Logistics Execution->Shipping->Deliveries->Define Reasons for Blocking in Shipping
    Check out the configuration of your delivery block reason and pay special attention to this instruction:
    "In sales documents, you can either enter delivery blocks manually at header level (business data in the sales document header) or they can be proposed automatically by the system. In the latter case, the delivery block must be entered in the respective sales document type (see chapter
    "Define sales document types"). In addition, the delivery block in the sales document header is only effective if the delivery block has been assigned to the respective delivery type."
    It must be something in the configuration of the delivery block reason you're using.
    Regards,
    Edgar

  • Immediate Delivery Creation on Sales Order Save

    Hi,
    For one my scenario I want delivery to be created immediately after saving the sales order.
    For which i have set the immediate delivery'X' in the sales document type. But when i create the sales order, which is confirmed for today, delivery is not immediately created.
    Let me know what could be the possible reason for this and is there any other place i need to make additional settings?
    Thanks

    Hi there,
    I guess that materials will be maintained in separate storage loc to process immediate delivery scenarios in your company sothat item is confirmed for today.
    When immediate delivery is not happening, thenit means that the system is not calling the delivery creation prog immediately after order save.
    So in sales order prog MV45AFZZ put a code that if the order has to create immediate delivery (like rush orders SO, cash sale BV), system should check if the material is confirmed for today. If yes, it should call delivery creation prog SAPMV50A
    Regards,
    Sivanand

  • Dynamic Credit check - problem -Delivery creation from Sales order

    Hi
    we have a problem which i would appreciate some help with.
    Sales order is blocked for credit and subsequently released via VKM1
    BUT as soon as line item is selected and then Sales document > deliver -
    the Dynamic credit block kicks in again straight away, no other changes have been made
    why is this occurring ?
    I managed to get round the problem by creating delivery via VL10c and selecting line item and then create in background

    Hi Tony,
    Do you have a credit check active again at Delivery level?
    In OVA8 - for the combination of credit control area, risk cat & credit group - please check field 'Number of days'.
    If you do not wish to carry out the credit check again for the released doc, here you can maintain the number of days.
    Description of F1 for this field is as below.
    Credit check: Number of days without check
    Specifies the number of days after which a changed document must be re-checked for credit.
    Use
    This function is used for checking documents that have already been released by a credit representative, but that have subsequently been changed. The system does NOT carry out another credit check if the following conditions are met:
    The value of the changed order is not greater than the value already approved for credit (inclusive of the deviation factor), AND
    The current date is not greater than the original release date plus the number of days specified here
    thanks
    Anirudh

  • Delivery split for Sales Order

    A sales document type is created to auto generate delivery document when saving.
    Goal is to generate multiple deliveries, one for each line item or schedule line date.
    The sales order has multiple line items with different dates. The sales order has also been entered with one line item, but multiple schedule line with varying dates.
    Test with one line item and multiple schedule lines with varying dates generated one delivery.
    Test with multiple line items with varying dates generated one delivery.
    How can one sales order generate multiple deliveries?
    Regards,
    Bela

    Hi Anabela Rocha,
    There are so many ways by which you can multiple deliveries with one order.
    Lets start with the lengthy one
    1) You have three items in one order, put the delivery block in two item and deliver them one by one
    another one
    2) Go to VL01n > give your shipping point, date, order number and the item number> so delivery will create only for those item.
    3) GO to VL10C --> give your order --> execute --> system will show you line wise --> select line item and click at Back ground
    4) Discuss this issue with your ABAPer and create one Routine and assign it to t-code VTLA --> Header --> in feild "Combination requirmt"
    Hope this helps.
    Regards,
    MT

  • Calculate Delivery Performance for Sales Order

    Dear All Expert's,
    Hw r u.
    I am making a delivery performance report,  i gone to calculate delivery performance in PERCENTAGE.
    I am using Delivery Date, Customer Deliver Date for calculation.
    Please guide me hw to calculate percentage for it.
    Cust Del Date = vbep-edatu,
    Del Date = vbrk-fkdat.
    Thnks
    Bhavesh Panchal

    Bhavesh,
    Calculate the performance of delivery the following way:
    Example: you have sales order with 100 qty to be delivered scheduled for 5 dates(20 each in single dely) from 01.07.2009 till 01.12.2009.
    dely dates as 10.07.2009, 10.08.23009, 10.10.2009, 10.11.2009 and 10.12.2009.
    Then take the current date(07.11.2009) and the calc the qty delivered till date
    i.e. 2 dely had happened.
    Therefore 40 has been delivered of 100 there fore scheduled delivery was for 40 till date and it has been delivered therefore performance is 100 % and total qty delivery is 40 %.
    And if 0nly 30 qty has been delivered till date against scheduled 40 then the performance of delivery against scheduled is 90%.
    Like wise calculate the things.
    regards,
    Shakeel

  • Planned Order creation for Sales Order and Purchase Order

    Hi
    We have a following requirement.
    In normal scenario when we have demand for material  which was created by MD61 and in addition to that if there is Sales Order the 1st planned order gets revised.To better expalin this consider possible scenario
    You create plan via MD61 for 200 qty .The system creates Planned Order for 200.
    Now there is Sales Order for 150 peices.Then what happens is original  Planed Order of 200 is changed to 50 and another planned order is created for 150 peices.The requirement is not summed.
    Now in new scenario instead of Sales Order there is Intercompany Purchase Order of 150 peices.
    Now the system is not changing original Planned Order of 200,but it created another planned order of 150.So now there are 2 Planned Orders of 150 and 200.
    What I want to know is there any way wherein the system will reduce the original planned order (similar to Sales Order scenario)
    Regards

    Hi,
    Use Strategy 52 in urs case.
    PIR witll be created .
    None convertable planned order will be created.
    Once you get sales order for that material.
    New planned order will be created which will consume PIR( planned order ).
    Eg.
    PIR 10.
    Planned order 10 qty.
    Sales oder 6
    Planned order for SO 6 qty
    Planned order through pir will become 4 qty.
    Regards,
    Vishal

  • Batch job creation for sales order

    Hi,
    How to create a job and schedule it so that it assigns reason of rejection to sales order line items for a particular sales org which are not delivered and after doing so, the status of the sales order is set to complete.
    regards
    sachin

    Hi,
    Execute transaction SM36
    Define Job name, Job class, Target server
    Click on 'START CONDITION' button
    Click on 'Date/Time' button
    Enter Scheduled start DATE & TIME. Check mark 'Periodic Job' field. Click on 'Period values' button and select 'Hourly' or 'Dialy' or 'Weekly' or 'Monthly' or Other period and SAVE. Go back to main screen.
    Click on 'STEPS' button and enter Program name and Variant under box 'ABAP Program'. Click on 'Print Specification' button and enter Printer name under 'Output device' and SAVE
    Click on SAVE button until you get message on bottom of the screen that describes 'Job XYZ saved with status: Scheduled'.
    Click on 'Job overview' button or execute SM37 transaction.
    Select the appropriate 'Job name', 'User name', 'Job Status' & Schedule date under 'Job start condition' and click on 'Execute' button or press F8.
    You will now see all your scheduled JOBS.
    regards,
    mahantesh

  • VL10G Delivery Creation from Sales Order

    I am facing a problem where if I go to create delivery from VL10G, all the line items from the sales orders are transported to the delivery document EVEN when no stock is available?
    Can anyone help me out
    Thanks

    Hello Andrew,
    are the delivery items than created with 0 quantity?
    If this is the case, than you can change the customizing of the delivery item category.
    There is the option 'Check quantity 0' you have to set the value to B or C.
    Best regards, Hannes

  • Retrigerring the delivery block for sales order after change.

    Dear All,
    I have a scenario, When we are creating FOC order, automatically Delivery Block is
    appeared. After an authorised person releases the order, the Delivery is
    made against it.
    Now if the order is released and any amendment is made in the order, FOC
    order should get back the Delivery Block status automatically.
    Thanks,
    Ani.

    Hello,
    I have a scenario, When we are creating FOC order, automatically Delivery Block is
    appeared. After an authorised person releases the order, the Delivery is
    made against it. Now if the order is released and any amendment is made in the order, FOC
    order should get back the Delivery Block status automatically.
    The best option of meeting your requirement is using a User exit which would put a Delivery block when the Sales Order details are changes.
    USER EXIT --> USEREXIT_SAVE_DOCUMENT_PREPARE
    Kindly try out this exercise with the help of a ABAPer and close this thread if your query is answered.
    Regards,
    SARTHAK

Maybe you are looking for