One Delivery Per Sales Order

Hi All,
We have a request from a single customer to only recieve one delivery per sales order.  Our usual process is to create an initial delivery when at least 70% of an entire order is filled, and then subsequent orders must be 90% of the remaining open  quantities.  This customer would like us to ship the first order per usual, but after this would like the rest of the order cancelled. 
I have seen the "max partial deliveries" in the customer master, but after research and testing have found that this is for the item level only.  Our requirement is to not allow more than one delivery at the header level, not item.  Is this possible through standard configuration?
Thanks for any help!
J

Hi
You can attempt to do two things in order to resolve your issue..
1. Create a program which will contain a BDC (with the help of your developer) to fill the reason for rejection for all the items in the sales order. The program will pick only sales orders which have a subsequent delivery in the documetn flow (VBFA). You can schedule this as batch job hourly or more frequently depending on the volume of business you do in a day
2. Secondly, write a code in MV50AFZZ or may be your developer can search fora  suitable customer exit where you will set the status of the document (both header and item) to complete once delivery has been created for a sales order. This could be more complex than the first options because user exits always require extensive and through regression testing to make sure the changes do not affect other business processes.
Hope this helps
Chandra Kiran

Similar Messages

  • Multiple PO's per sales order - need mutilple deliveries

    Hi Guru's,
    In one of our requirements, we club multiple po's into a sales order. The question now is do we have one delivery document per sales order? I need to have delivery document per PO. This requirement is need for sending one ASN per PO to some of our customers. Can this be done through configuration. Please give me detailed steps.
    Thanks,
    Kumar.

    Dear Kumar,
    I think in SAP default it wont possible.
    please check any user exits avilble in that scenarios if not you have to develop your own tab to add beside like po from no to to number or from date to to date
    This is the functions availble in requirement
    Hope this helps you
    Prem

  • Link between Delivery and Sales Order Schedule Line

    Hi Gurus,
    I have a requirement in which i need to display quantity and amount at schedule line level and also the delivery and delivery item for each schedule line.
    For example, if there is a sales order O1 and item 10 for which we have 3 schedule lines and 3 deliveries as well say D1, D2 and D3.
    Report should be something like this
    Sales Order    Item   Schedule Line    Delivery    Del Item   Confirmed Order Qty
    O1                 10      1                       D1           10            5
    O1                 10       2                      D2            10            5
    O1                 10       3                      D3            10            4
    How can i determine that a particular delivery corresponds to which schedule line of that saler order-item?
    We have the link between delivery and sales order but is there any way that we can get the link of delivery at schedule line level?
    Please help.
    Regards,
    Gaurav

    Hi,
    I suppose you must check with SD functional consultant and the post should also be in the logistics SD forum and not BI. But I suppose there is know specific link between the schedule line of SO to the Delivery. It is more like a bucket flow for ex.
    Sale order   Item    Schedule line  qty
    SO1            Item1     Sch1            10
    SO2            Item1      Sch2           10
    Delivery Item QTy
    DO1       IT1   15
    DO2       IT1    5
    In this case qty 15 is distributed over both SO1 and SO2, and SO2 ITem1 Sch2 has link to both the DOs
    So I am not sure if you can establish a one to one link, please check with your SD consultants.
    Regards,
    Ashwin G

  • How to create Delivery with sales order FM/BAPI

    Hi Gurus,I'm new to  SAP  platform
    I have created sales order ,
    with this i need to create Delivery(vl01n)
    so i need to give 'Shipping Point','Selection Date','SD Number'
    so could any one tel me which FM/BAPI is suitable to create
    Outbound delivery with 'sales order number', 'Selection date' and
    "Plant or Shipping Point'.
    With these Import parameters i need  FM/BAPI .
    Thanks  in Advance
    Siva Kumar kasa.

    I   have created delivery  with  that  BAPI 
    giving   'batch number'  but  it was  not  updated,so  can u tel me
    any related field  which need give to change batch field  also.

  • BAPI or FM to create outbound delivery from Sales order

    Hello All,
    My requirement is to create a outbound delivery from sales order. Also i need the batch number and texts to be updated in the delivery.
    For this i need a single FM. The catch is that we don't have the batch number and texts in the sales order. That i have to take from some other delivery. I can get all the information .
    The problem is that i can not find a FM through which i can create the delivery from the order and update the same.
    I should not use two FM.
    Could you please tell me some FM which does both in one go?
    Thanks and Regards,
    Rahul Sinha

    Hi
    Hi,
    You can use the BAPI BAPI_DELIVERYPROCESSING_EXEC.
    Check this sample code..
    PARAMETERS: p_vbeln LIKE vbak-vbeln.
    DATA: BEGIN OF t_vbap OCCURS 0,
    vbeln LIKE vbap-vbeln,
    posnr LIKE vbap-posnr,
    kwmeng LIKE vbap-kwmeng,
    matnr LIKE vbap-matnr,
    werks LIKE vbap-werks,
    END OF t_vbap.
    DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
    WITH HEADER LINE.
    DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
    WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    SELECT vbeln posnr kwmeng matnr werks
    INTO TABLE t_vbap
    FROM vbap
    WHERE vbeln = p_vbeln.
    LOOP AT t_vbap.
    t_request-document_numb = t_vbap-vbeln.
    t_request-document_item = t_vbap-posnr.
    t_request-quantity_sales_uom = t_vbap-kwmeng.
    t_request-id = 1.
    t_request-document_type = 'A'.
    t_request-delivery_date = sy-datum.
    t_request-material = t_vbap-matnr.
    t_request-plant = t_vbap-werks.
    t_request-date = sy-datum.
    t_request-goods_issue_date = sy-datum.
    t_request-goods_issue_time = sy-uzeit.
    APPEND t_request.
    ENDLOOP.
    CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
    TABLES
    request = t_request
    createditems = t_created
    return = t_return
    READ TABLE t_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
    MESSAGE e208(00) WITH 'Delivery creation error'.
    ENDIF.
    COMMIT WORK.
    READ TABLE t_created INDEX 1.
    Write: / 'Delivery ', t_created-document_numb.
    Regards,
    Sreeram

  • Status is not updated from delivery to sales order item.

    Dear Folks,
    One user created sales order with 10 line items and he created delivery and later he deleted line item 30 in that delivery document and with remaining 9 line item he done the PGI & Billing.Here what is the problem is the deleted line item in sales order status showing as completed and delivered quatity showing as 10.Status is not updated from delivery to sales order item.Please let me know how to resolve this?
    Thanks & Regards,
    murali.

    Dear Murali,
    Please go to VTLA transaction then select your delivery and order types after that go in to the details of the item level settings here you check field called Update document flow under Control data tab.
    I hope it will help you,
    Regards,
    Murali.

  • Partial delivery of sales order with some line items

    Hi all,
    Please help me in the issue i want to create delivery against sales order partially for some line items of the sales order . Can any one suggest me the procedure how to do it through programing .
    Thanks in advance,

    Hi,
    You have several methods of doing same.
    Method 1
    Go to VL01N, and given your sales order number.
    Without giving the line item, just press Enter
    Now inside the delivery, you can delete unwanted line items, and you can adjust quantities under Item overview tab.
    After that do picking and PGI.
    Method 2
    Go to VL10E,
    Give your sales order number and execute.
    Mark relevant schedule lines only and press execute,
    then those line items with marked schedule lines will copied to the delivery document.
    Best regards,
    Anupa

  • Pending order delivery against sales order and quotation problem

    Dear Expert
    I am facing problem when we are tracking delivary quantity against sales order and quotation. then our delivary quantity not matching with invoiced quantity.
    Actually the logic of report are below
    Pick up the VBAK-VBELN and VBAK-KUNNR where AUART = quotation, VKORG, VTWEG, SPART, ERDAT = selection.
    now when any quantity which are added in sales order in new line not cattered through below code and it show problem of mismatch.
    Can any one help me in finding data from all this table to catter delivey quantity, quotation qty and sale order qty.
    thanks in advance.

    Starting from quotes, you could find your quote, then read SD document flow table VBFA for next document of type sales order (could be more than one sales order from a quote).  Then you could obtain delivery documents (could be more than one for a sales order) for all your sales orders, again using next document code in table VBFA.  This would present you tables that could contain multiple rows:
    quote
       sales order
           delivery,
           delivery
        sales order
            delivery
    and so forth.  You might also consider using table VBUK or VBUP to discover status of each quote item.

  • VX11N - FInancial Document Assignmnet to delivery or sales order

    Hi all,
    First we do not activated the credit check at Delivery and PGI levels.
    But in case of export scenarios we are using LC documents, and these documents are some times attached to delivery and some times to sales order.
    Case1: The sales order is blocked due to credit check and released, then user creates a delivery, then follows up with LC documents creation. Here the delivery document is blocked due to financial document status is not 'D'. Initially the LC document status is 'B' due to incompletion, i have completed the document, even though the status remains 'B' and not releasing the delivery from credit block. Users are forced to release it using VKM1 t code.
    Case 2: The customer is in his credit limits,  and a sales order is created, then in change mode user creates a LC document for this SO, system automatically brings this SO in to credit block saying the pop up message, financial document status is not 'D'.
    In both the cases system message is EI 574, and asking us to change the status of financial document to 'D', but this is system controlled status we can not change it manually. Also asking us to check at Foreign tradedocumentary paymentsbasic settings, i did not find proper settings here, if any one knows about it please advise.
    I have checked the risk management settings: This item category is activated for credit check, but this is a required setting to update the open items for credit check which we use in automatic credit check.
    Our requirement is sales order or a delivery should not get blocked due to the financial document and should not obstruct the user to  process it further.
    Experts your comments please ASAP.
    Venkat

    FInancial Document Assignmnet to delivery or sales order
    Ideally speaking and to answer this question, LC should always be assigned to sale order only.  In exports scenarios, customer will release LC against one order and not against multiple deliveries.  One of the L/C condition will be "Partial Shipment Allowed"  in which case only, you are suppose to generate multiple deliveries.
    Of course, there will be instances where customer will amend the existing LC due to some reasons but he will never open fresh LCs against delivery.
    thanks
    G. Lakshmipathi

  • Delivery from Sale Order for Inquiry stock

    Dear All,
    We have unique requirement from client mentioned below, any help would be greatly appreciated.
    This is a trading sale which is initiated from inquiry.
    1. Inquiry is created in SD, which in turn triggers Purchase Requisition.
    2. PR is converted to RFQ.
    3. Based on RFQ prices are negotiated with vendors, then Quotation is sent to Customer from VA21 which is created against inquiry.
    4. Now when the PO is created w.r.t RFQ, then GR is done , Stock will be lying against inquiry.
    5. But i want to do delivery from sales order for stock lying against inquiry.
    we are looking for a workaround solution.
    Note:
    1. Client has disagreed with Stock Movement from Inquiry to quotation using MB1B, as it becomes manual transaction.
    2. PR triggering has to be @ Inquiry, as sale order will not be created until quotation is approved.
    Looking forward for valuable inputs.
    Thanks in advance
    Best Regards,
    Chaithru

    Tien,
    Approval will not work when you have mutiple rows of data.  You would have to work with SP Transaction Notification
    There has been threads before on the forum on the same topics.
    Block the Quantity in Sales Delivery
    Approval Procedure for chaning quantity in Delivery Document
    Suda

  • Forbid partial delivery of item, but allow partial delivery of sales order

    HI,
    have someone faced situation when it is required to allow partial delivery for sales order with restriction that item in sales order should be delivered fully. For example:
    SO has following items:
    Item1     MAT1     10 un
    Item2     MAT2     10 un
    Item3     MAT3     10 un
    Material MAT3 only 5 un available in storage. MAT1 and MAT2 are available.
    The system should create delivery for Items 1 and 2, but not for 3. Next time when creating delivery from SO and MAT3 is available, delivery is created por item3.
    I have found Partial delivery indicator on client data. This allows partial delivery.  Then I have found partial delivery indicator on sales order item data (Shipping).
    Is it possible to combine those two indicators to ensure client request?
    Can this requirement be covered in another way?
    Thanx in advance!
    Brucke

    You can achieve the requirment using customer-material information record.
    In t.code VD51, maintain customer-material information record. Here you can find a field called partial delivery/item field. Here you maintain value C- Only complete delivery allowed. Leave the max.Par.deliveries field blank.
    This will make sure that the partial deliveries are NOT allowed for a particular customer/material combination. If you maintain this setting at customer master level (t.code VD02), then this will apply for all materials.
    Regards,

  • What is the relation between delivery num , sales order num and invoice

    what is the relation between delivery num , sales order num and invoice

    Look at VBFA Table
    goto VBFA table ,enter order number number vbelv ,vbtyp_n is C,then VBELN is the delivery
    if you enter delivery number in vbelv ,vbtyp_n is J,then vbeln is Invoice.
    here VBTYP_N is the import.
    VBFA is the sales document flow table,and very important table
    Thanks
    seshu

  • Link between Delivery Header & Sales Order Item for extraction to 2nd level

    Hi Guys ,
    I am having a requirement that need to pull the following data to 2nd level DSO
    1.  Delivery Header Data
    2. Sales Order Item data. ( Sales Document, Item, Item RDD, Material)
    So I am planning create a 2nd level DSO on top of Delivery header and need to pull the sales order ITEM level data ( Sales document , Order ITEM, ITEM RDD date , Material)  through start routine u2026
    How can I pull the Sales Order Item data through start routine?  i.e I need the link between Delivery Header & Sales Order Item Data .
    or I need the link between LIKP ( Delivery Header) Vs VBAP ( Sales Document Item).
    Thanks
    Edited by: krismady on Sep 22, 2010 2:26 AM
    or I need the link between LIKP ( Delivery Header) Vs VBAP ( Sales Document Item).

    Hi Krish,
    You can use VBLEN (Sales Document) to link Delivery header DS (2LIS_12_VCHDR) and Delivery item DS (2LIS_12_VCITM). Now In delivery item DS (2LIS_12_VCITM) you have VGBEL (Reference doc.) and VGPOS (Reference item) which is nothing but sales order document number and sales item in Order item DS (2LIS_11_VAITM) .
    So you need to link in above way to get other values in your DSO.
    It is proven method.
    Thanks,
    Uday Shankar.

  • Budget error while creating delivery from sales order

    hi Gurus,
    System is throwing error PB603 "Item 004 WBS element ABC-XXX budget exceeded" while creating delivery from sales order.
    I am picking material from unrestricted plant stock (not in project stock).
    I am also confused as sales order has 3 line items & error shows Item 004 !

    Hi Kuldeep,
    Check this note,
    Note 159387 - Message BP603: incorrect line item is displayed
    Its valid only till 4.6. Might give you some idea but.
    Regards,
    Gokul

  • Error in PGI delivery for sales order

    Hi Experts,
    Can any tell me why do I get an error message
    "You are not authorized for given plant and mvt tpe"
    when I try to do a PGI for a delivery of sales order.
    thanks in advance.

    Hi Ashwin
    In realtime there will limit to user to access to some Plant Data.
    For SD guys access to sales order only it will not allow to create delivery for that product..for thts y u r not allowed to access  for delivery.
    In real time they will create user profiles for each document type.
    Regards
    Srinivas.

Maybe you are looking for