Delivery Number  same as Sales Order

Hi
My requirement is I  want to create  delivery  the number is  same as sales order number.
Let say If  SO number is 100 , delivery has to be created with same number immediately.
I want  user-Exit or BADI to pass SO number
Could please help me
Best Regards
Achanta

Do you mean to say there will NOT be any partial delivery in this scenario ??  Even if partial delivery is not allowed, it will not be ideal to implement this requirement through exit.  Let us assume, at a later date,  you have generated a delivery for an order and subsequently, you reversed the PGI and delete the delivery.  Here what should be your delivery number range for the newly created one.
If partial delivery is there, then definitely, this is not at all possible.  Think practically always before you take any decision or implementing anything in SAP.
G. Lakshmipathi

Similar Messages

  • How to get the delivery number for the sales order

    hi
    how to get the delivery number for the sales order

    Hi,
    1. IN VA03, enter the sales order and click on the document flow button. From there you can check the delivery document.
    2. In SE11, enter VBFA(Document flow) table and enter the sales order in VBELV field and in VBTYP_N field enter 'J' to specify that you want to check if there is already a delivery document for that sales order.
    Hope it helps...
    P.S. Please award points if it helps...

  • How to show Invoice number same as Sales Order Number..?

    HI,
    I need to show Sales Order Number same as Invoice Number how i can setup this..? can any one help me on this..?
    Ex: I raised a Sales Order: 00001, this has booked and shpieed now i ran the WF back ground process and run the autocreate master program to generate the invoice, here i need to show the invoice number as 00001 i..e same as the Sales Order Number.
    How i can achieve this..?
    Please advice..
    Regards,
    KV.

    KV,
    I suspect you'll need to customize the Autocreate routine to ignore the sequence nextval call and instead look at your sales order number.
    You would also need to be very careful that your OM setups supported this. I've seen this as a 'business requirement' before but almost invariably it doesn't make a lot of sense when you have the originating sales order number, line and shipment to quote as a reference on the invoice. Have you considered all of the following:
    <li> If you ever need to short ship or to ship on different dates, you will need more than one invoice for the same order. How would you manage that given that those invoices would need unique numbers?
    <li> Different order types - by adopting a 'synchronized' invoice sequence, you will need to ensure that you don't create a conflict with order type sequences - i.e. OM allows you to have an order 100001 of Order Type A and an order 100001 of Order Type B if you give different sequence assignments but this would cause problems with your invoice sequence.
    Regards,
    Jon

  • Creation of Sales Delivery with reference to Sales Order

    Hi SAP Team,
    I tried making a Delivery with reference to Sales Order. Though in Item Category detemination of Delivery configuration, a separate
    Item Category has been configured, but still System picks up the one in Sales Order. Is there a way to get different Item Category at Delivery level.
    Also, for Subitems a different Item Category is proposed, but still it follows the same behaviour, which is at header level.
    Is there any way to change it.
    regards

    Hi,
    Maintain the required values in the T.Code "0184".
    Or follow the path:
    SPRO>Logistics Execution>Shipping>Deliveries>Define Item Category Determination in Deliveries.
    You have maintained the similar values for your delivery type same as sales order type that were maintained in "VOV4" T.Code.
    So that it getting the item category same as the sales order.
    Change the values here,so that new item categories will be appeared in delivery.
    Regards,
    Krishna.

  • ABAP query to find delivery number of a sales document

    Hi Gurus,
    Can anyone help me how can i create an ABAP query to fetch the delivery number of a sales order. What are the tables to be joined.
    Through tables I got the solution. From VBAP table I fetched the sales order numbers. I copied the sales order numbers and opened VBFA table. In the preceding documents field I had pasted those sales orders numbers. Then I've selected subsequent document category 'J' to get the deliveries.
    But now how to write an ABAP query for this.
    regards
    rama krishna

    Hi,
    Try to use join query like:
    Select vbfa~VBTYP_N  INTO CORRESPONDING FIELDS OF TABLE itab from VBFA inner join VBAP
      where vbapvbeln = VBFAVBELN.
    Regards
    Mudit

  • Number of times sales order./delivery blocked

    Hi,
    Do we have a report which gives details about number of times sales order/delivery blocked because of credit management.
    Or there is any work around for getting the same?
    I request you to kindly suggest your valuable inputs.
    Regards,
    Phani Prasad.

    Hi Balaji,
    Thanks for your reply.Please find the below example.
    Customer A was blocked for credit limit on 01.01.2011 and subsequently released using VKM3.
    Again the same customer was blocked on 02.01.2011 and once again released.
    How do I know the number of times Customer A was blocked and released for a given period.(2 times in the above example for that period).
    Please explain.
    Regards,
    Phani Prasad.

  • Maxium number of total delivery units in a sales order

    Is there a way to check the maxium number of delivery units in a sales order without writing code?
    This to image this:
    In the Material Master I have this situation
    Material 1 Master 50CS = 1 delivery unit
    Material 2 Master 70CS = 1 delivery unit
    Material 3 Master 80CS = 1 delivery unit
    In Sales order, If the user try to save an order with total quantity > 3 delivery unites  , I want to raise an message, … For example “Maximum number of pallet exceed”.
    How Can I do? How can I raise this message, without  writing code? Is there a way to check the maxium number of TOTALS delivery unites  in a sales order.
    I would like to check the TOTAL DELIVERY UNITS, not only the delivery units referred to each material.
    Thank in advance.
    Best regards

    How can I raise this message, without  writing code?
    Without an ABAP coding in sale order user exit, this is definitely NOT possible.
    G. Lakshmipathi

  • PO number change in Sales Order.

    Hi,
    We created one sales  order. ( Here we given Sold to Party, Ship to party and PO number). After that we did partial delivery and Billing. We opened the sales order and removed the PO numer and saved for some reasons. Again we opened the sales order in change mode and given the same PO number as earlier. But system throwing the error like "Purchage order does not exist in the system".
    Can u please tell me what is the reason.
    Regards
    JYOTHI.

    Hi
    The P.O number in the sales order will be controlled in the configuration of document type in T code VOV8
    Kindly check there  for the field Check purchase order no
    Check for the message setting in OVAH t code for the message no V4115
    Regards
    Damu

  • How to Add Delivery Note based on sales Order

    How to add a delivery note based on sales order.
    say i have a order no. 10 and linenumber 0 to 3.
    each time i book with order no 10 and line no.3,i need to add to delivery note.
    i also in need of adding just one Header and Multiple lines(Header for order Number - 10 and multiple lines for each Booking ).
    How can i achieve this.

    Hi
    You can search the samples....C:\-->Program files->SAP----->SDK->Samples->DiAPI----->OrderandInvoice...
    Here invoice is added for a particular sales order.....the same can be done for delivery.....
    Hope it helps

  • Partial delivery per item in sales order and ATP - schedule lines

    Hi,
    I've problem regarding ATP- schedule lines and partial delivery flag.
    In sales order there is flag Partial delivery per item B / 1 . That means create only one delivery even with quant 0. That comes from customer master or customer info-record and it is OK.
    Please look at next example.
    Customer requires:
    10 PCS of materail A on date X. Only 5 PCS are available on date X.
    10 PCS of material B on date X 0 PCS are available on date X, 10 PCS are available on date Y.
    So if we create outbound delivery on date X it will contain only 5 PCS of material  A. No successive deliveries will be created for material A because of the flag B/1. That item is closed.
    Problem is with material B.
    The sales order will be open because of material B and on date Y we can easily create another delivery with 10 PCS of mat B.
    That is wrong. Agreement with customer is only one delivery for ALL items in sales order. If we create delivery on date X it should contain only materials which are available on date X and sales order should close.
    Do you know how to fix this problem?

    Hi,
    I've think you didn't understand my requirement. I allways get schedule lines but they are confirmed on different dates.
    Example in same sales order we have:
    Schedule line for item A:
    DATE X confirmed quantity 10
    Schedule line for an item B.
    DATE X confirmed quanitity 0 (zeroe)
    DATE Y confirmed quantity 10.
    I would like to create outbond delivery on date X with:
    item A quantity 10
    item B quantity 0.
    And if that hapens than B/0 rule will work or reference customzing that you suggested before. So order will be closed because all items are processed or referenced once.
    Do you know how to do that?
    Regards

  • I want to pick up Schedule line Delivery date based on Sales Order of Mater

    Hi Experts,
    I have one scenario like,
    I want to pick up Schedule line Delivery date based on Sales Order of Material.
    For example :
    Go to va03
    Give the order no
    Press the enter
    Double click on material.
    Go to Schedule line Tab
    Then we can find out the Delivery date .
    I want to pick up the that Delivery date. Could you please help on that.
    Thanks,
    Amjad.

    Hi,
    schedule line dates are available in VBEP.
    VBEP-VBELN = sales order number.
    VBEP-EDATU = schedule line date.
    REgards,
    Raghavendra

  • Sceduling as per the delivery confirmation date in sales order

    Hi,
    I am working with planning strategy 50 and using availabilty check as per ATP.
    When I create the sales order and check the availabilty, system confirms the delivery after TRLT(current date+TRLT).But when I run MRP,system creates a planned order on the req delivery date date.
    (Req date - GR Processing Time - In-House Production time) so that Planned Order is available on the req delivery date.
    As the system confirms the delivery after TRLT,I want my planned order's availabilty on the same date.
    to summarise,I don't want system to consider the Reqmt date as reqd delivery date of the sales order but the conformed delivery date of the sales order.
    I appreciate your help in letting me know if there is any way we can do this.
    Regards,
    Sastry
    Edited by: Sastry Krishna on Dec 13, 2008 4:45 PM

    Hi,
    Can you check what is the Variant (dates filed) specified by going to SM37 transaction.do as below,
    Goto SM37 transaction and give job name and then execute then select check box against date you scheduled job and then CtrlShiftF9,now place cursor on program/command and from the menu Goto-->Variant,here you check if any date range there.
    Regards,
    Chandra

  • Automatically creation of delivery group in the sales order

    Hi Can u please tell me how do i create automatically delivery group in the sales order.

    Hi,
    You can maintain the complete delivery indicator in your Customer Master(Ship to Party ) record shipping tab(Partial deliveries).
    As per SAP ,This indicator
    Indicates whether a sales order must be delivered completely in a single delivery or whether the order can be partially delivered and completed over a number of deliveries.
    There by it can form a Delivery group.
    Have a Nice Day.
    Regards,
    Ravi

  • Creation of Delivery with ref to Sales order

    Hello,
       I am trying to create the Delivery with reference to Sales Order using BAPI  -  BAPI_OUTB_DELIVERY_CREATE_SLS.
    At the of execution , i am getting the error No instance of object type OutboundDelivery has been created. External reference:.
    I have entered the sales order details in table parameter SALES_ORDER_ITEMS of BAPI. (Number range for Deliveries are internal)
    Can you please suggest me what could be the reason ?
    Regards
    Narayana

    Hi,
    Yes, copy controls are maintained for sales order type and delivery type in SPRO settings. The code as below.
    loop at t_vbap into ts_vbap.
          t_order-REF_DOC         = ts_vbap-vbeln.
          t_order-REF_ITEM        = ts_vbap-posnr.
          t_order-DLV_QTY         = ts_vbap-KWMENG.
          t_order-SALES_UNIT      = ts_vbap-VRKME.
          t_order-SALES_UNIT_ISO  = ts_vbap-VRKME.
          t_order-DELIV_NUMB = '0084000156'.
          append   t_order.
    endloop.
    call function 'BAPI_OUTB_DELIVERY_CREATE_SLS'
    *DESTINATION logsys
       EXPORTING
         SHIP_POINT              = '0010'
         DUE_DATE                = DUE_DATE
        DEBUG_FLG               = 'X'
      importing
         delivery                = lf_vbeln
         num_deliveries          = lf_num
      tables
         sales_order_items  = t_order
         deliveries                = lt_deli
         created_items         = lt_itm
         return                     = lt_return
    Can you suggest me.

  • Delivery status of a sales order

    Hi,
    I have a requirement wherein I need to extract the delivery status from a sales order.
    VA03 --> Header Info --> Status
    In this screen you have the various processing status. From that I need to pick up the delivery status.The corresponding field data is VBSTT-LFSTA_BEZ.
    Since this points to a structure, I am not able to find out a way to get this value.
    Kindly help.
    Thanks,
    Raj.

    give the vbeln number in table VBUK
    check 
    the status for delivery as
    A /  B / C
    A not processed
    B Partially processed
    C completely processed
    GBSTK ne C will be overall processing status
    LFSTK ne C will be for delivery open
    regards,
    vijay

Maybe you are looking for

  • Where do we put authorised user name for approving DMS document in DMS work

    HI I am on a support role and here is a document creation through DMS and it goes approval for 4 level , upon each level mail trigger to the user id (approval authorised person) . now company changed the users for approving authority , so i have to c

  • Inbound EDI Issue

    Hi Experts, We are using SAP PI 7.0 with AS2 System (Seeburger) in Quality System to exchange EDI Documents with our Customers and 4PL partners. We are able send EDI Documents (Outbound) to our partners successfully but facing issues related to Inbou

  • Inconsistence Adapter Framework

    Hallo, sometimes i have problem with the adapter framework; i become problems with the inconsistence. Have anyone a solution for this problem? Thanks in advance, Frank

  • DBUA is throwing below error in step 1

    Hi, I am trying to upgrade 9.2.0.7 to 10.2.0. DBUA is throwing below error in step 1: There is an error in creating the following process: C:\oracle\ora92\bin\sqlplus -s/nolog The error is: createprocess:C:\oracle\ora92\bin\sqlplus -s/nolog error:193

  • I don't have the world icon installed on the iphone 4s

    I don't have the world icon on the iphone 4s. When I type a message to someone and want to add a Emoticon, the "World" icon next to the space bar hasn't been installed. How do I install it ?