Update sales Order at the time of Delivery creation

When the Delivery gets picked and Post Goods issued , the Delivery quantity for example instead of 48,000 LBS may be little less say 47,345 LB.  We need to update this number in the order quantity which will originally have 48,000 LBS.
Can we do this through Delivery Userexit? Will Sales order structures be avaialable at that point in time? Which one? How ?
Is this the best way or is there any other better way to handl this?

No this is complete Delivery. Its just that the product cannot be exactly whats asked for in the sales order and we have to reflect the true value after it is weighed at the time of post goods issue

Similar Messages

  • Unable to update sales order unsing the BAPI 'BAPI_SALESORDER_CHANGE'

    Hi All,
    I am unable to update the payment method field for some sales orders using the bapi 'BAPI_SALESORDER_CHANGE'. I am getting the reason in the table RETURN as 'Field 'ZLSCH' cannot be changed, VBAPKOM 000050  ready for input'.
    Could anyone throw some light on it.
    Thanks a ton.
    Regards,
    Santosh Kotra.

    Hi
    Without reversing invoice we can't update price and this is standard bevaior which is logical too. For your scenario I am wondering why would you want to change price for a line item or order which is alrady invoiced and posted to FI. What difference would it make to change price in sale order when this has already been posted in FI?
    Thank$

  • Automatic Creation of Sales Order at the Time of PGI

    Hi Experts,
    Is it possible to create automatic Sale Order at time of PGI "while creating Outbound deleivery w/o reference to Sale Order'?
    Like in MM there is feature (standard) that PO can be create through Inventory management also,
    at the time GR w/o PO system creates PO in background.
    Please help me out,
    Regards
    Arvind

    Hi Srinath,
    Thankx for u'r immidiate reply,
    "This is my business requirement in implementation, i.e. customer directly purchase Organic Manure from plant stock and pay bill against the quanty purchased." although the reoprting purpose will be resolved by sale bill report."
    And as we know that Document (copy controls) flow from Inquiry>Contract>Order>Out bound deleivery>Billing. this is standard in the system.
    i.e. Copy Order to Order (VTAA)
    Order to delivery (VTLA)
    Order to Bill  (VTFA)
    Del to Bill (VTFL)
    This T-codes have assignments of source to copy in the target with routins (for the flow of data from field to field)
    I am trying to understand that flow of data to be copied in backward flow i.e. from PGI to order, and i am expecting that this can be done, but unable clarify my self that should it be done or not.

  • Material is changing automatically in the sales order at the time of replac

    Hi experts
    In a sales order I am changing the 100054447 with material 100054445 after changing the material to 100054445 it is taking me to availability check with 100054447 instead of 100054445 and changing at the item level also I want to know why
    Please help me with this?
    Thanks
    In advance

    Hi
    So, the problem is only with one material. Though you are changing the material, the system is not allowing to change. If yes, then try to change that material with another material(other than the earlier one).
    Are you creating this order with reference to any contract or quotation?
    Thanks,
    Ravi

  • Reuirement at the time of delivery creation or change

    Dear All,
    Please guide me or give me your inputs to full fill the requirement that i have,
    At the time of creation of delivery or changing a existing delivery i need to raise a pop up window listing all the materials in the delivery and next to the material a Input field needs to be there where the user can enter the certificate number for all the materials. This certificate number i need to store it in a Z field which i create in VBAP table. If the user does not enter the certificate number and try to PGI the delivery it must block the delivery for PGI. Incase if the user enters all the certificate number for the materials then it must allow to PGI the delivery.
    Please give me your inputs regarding this requirement. All your inputs will be valuable for me.
    Thanks & Regards,
    Sat

    Hello
    You have misinterpreted the warning message, this is not an error and there is no configuration that you have missed.
    In the STO process the material is subjected to avaialbility check,
    So i,e the reason the sytem has determined that the material is not availanle on the desired date.
    Thats the reason for the warning.
    Sufficient stock is not avialble on the Supplying plant for the STO, either you can change your deliovery date or the order qty to meet the availability
    Regards
    Mahesh Naik.

  • Prob at the time of delivery creation

    I have created a intercompany sto,when I go through VL10B and select the line item then press background button,
    below screen is generated and delivery is not generated.
    Group       Created    Created on   No.    Err.     ShPt           Gross   WUn   Volume   VUn   MaxTim   Time
    1829209  T105326    10.02.2011              2        2DAT                                                               0         00:17:49
    Anybody suggest, where the loophole?

    Hello
    You have misinterpreted the warning message, this is not an error and there is no configuration that you have missed.
    In the STO process the material is subjected to avaialbility check,
    So i,e the reason the sytem has determined that the material is not availanle on the desired date.
    Thats the reason for the warning.
    Sufficient stock is not avialble on the Supplying plant for the STO, either you can change your deliovery date or the order qty to meet the availability
    Regards
    Mahesh Naik.

  • Customer Overdue check at the time of Delivery

    Dear Friends,
    Our client requires to have a customer over due check at the time of delivery creation.
    If the days are above 45 in arreas, the delivery document should not be created.
    At present the check is placed at the sales order creation, but they opt to have it at the time of delivery.
    Kindly suggest the exits present in vl01n.
    Regards,
    Charmaine Martin

    Hi,
    Thanks for the reply.  This field is having the value the count of serial numbers entered irrespective of the valid serial numbers entered.  I created two delivery document, one with serial number which was not there in the stock and the other with a valid serial number.  For both the delivery document LIPS-ANZSN gives the count of serial number which I have entered.
    Please let me know how can I move further.
    Rgds,
    Gopali

  • Updating Sales Order Retrospectively with PGI figure

    Hi
    Does anyone know if there is a way of retrospectively updating sales order with the value that has actually been POST GOODS ISSUED
    Thanks
    Tony

    What do you mean by Value? does the Value of the item change during PGI?
    If you mean to say, quantity, then yes, After PGI, go back to your order and change the order qty = PGI qty.
    Regards
    Sai

  • Profit center updation at the time of delivery order

    Hi,
    We have three profit centers & three finished goods..All the three finished goods are manufactured  in all the three profit center.At the time of sales order , i am not sure from which profit center i am going to deliver to the customer.so i want to update the profit center field at the time of delivery order.
    How to tackle this problem? Please advice
    Regards
    Sarang
    09937732217

    Dear Sir;
    i have the same your problem but in the deferent way but also i need to change the profit center in the delivery wise
    thanks
    Mohamed Helmy
    +20 10 222 0 386

  • Post Goods Issue - Tracing backward to update Sales Order & Delivery Docs

    I have a requirement as follows. I need to do a Sales Document change and a delivery document change prior to  goods Issue being done. The situation is to prevent SAP's normal back order processing from kicking off. I am quite confused about which method to use to achieve this. Wether BAPI &/or BDC &/or User Exit ???
    Please help you will be rewarded with points....

    Hello Srinivas
    The business requires that like order line items be consolidated to one line item prior to the order going to the warehouse for picking. this will aid in picking at the warehouse as well as result in the customer invoice not reflecting more than one line item for the same material. In the case where the customer has truly ordered more than a case, i.e. 1 case 2 eaches. The documents in SAP should still reflect 2 line items.
    The business also states that there be a 1 to 1 relationship between sales order and delv note. This means any unconfirmed line items must be closed out after del. note is created for the sales order. The closing out of the sales order will stop SAP from automatically creating a backorder once the unconfirmed line items become available in inventory.
    The business also requires that all partial line items in the delv. due to stock not available at the time of picking (those line items need to be updated) with the pick qty. And the line items which were not picked need to be automatically cancelled out. In addition the order line item must be rejected with a reason code for the line item which were not picked.
    We have a daily IDOC interface which creates shipments and updates delivery qty.
    I hope that clarifies the business. Pls let me know.
    Regards

  • How to tranfer changes in the sales order when the delivery is created

    Can anyone please help for the following scenario:
    Sales Order created --> Delivery created --> Customer calls to make changes in Sales Order.
    In this case what customizing is required so that the changes in Sales Order (including 1. qty & 2. delivery date or 3.Addition of new Line item) triggers changes in delivery.
    Many Thanks in Advance.
    Hiren Panchal

    As per my best knowledge ther's no such setting. Copy control works only when you are creating the delivery from the SO.
    So, I think you have two options - basically:
    - modify the already created delivery manually
    - delete the delivery and create a new one form the updated SO

  • User Exit to update Sales order text (Terms of delivery) on saving it

    Hi Experts ,
    I have a requirement where I want to update the sales order header text (terms of delivery)  on saving of PO with Partners details such as first name , and last name etc,
    Please suggest an user exit or any other enhancement where I can update the header text automatically w/o going into the texts.
    Thanks .

    Hi,
    Any texts have to be maintained making use of FM SAVE_TEXT.
    For eg if i want to update the Order Confirmation text, i will use the FM as follows:-
    data : header type THEAD.
    data : lines type standard table of TLINE .
    data : wa_line type tline.
    header-TDOBJECT = 'VBBK'.
    header-TDNAME = '0000003561'. "sales order number or text name
    header-TDID =  'Z007'.    " Confirmation text - text id
    header-TDSPRAS = sy-langu.
    wa_line-TDFORMAT = '*'.              "paragraph format
    wa_line-TDLINE = 'This is 1st line of text'.
    append wa_line to lines.
    wa_line-TDFORMAT = '*'.
    wa_line-TDLINE = 'This is 2nd line of text'.
    append wa_line to lines.
    CALL FUNCTION 'SAVE_TEXT'
      EXPORTING
        CLIENT                = SY-MANDT
        header                = header
      tables
        lines                 = lines
    EXCEPTIONS
       ID                    = 1
       LANGUAGE              = 2
       NAME                  = 3
       OBJECT                = 4
       OTHERS                = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Here the details of
    TDOBJECT, TDNAME, TDID and TDSPRAS can be obtained by double clicking on the particular text in the sales order. It will open the text editor and then from menu go to Header.
    In this way you can save any text.
    Similarly if you want to read any text then make use of FM READ_TEXT.
    I hope you understand.
    Regards,
    Ankur Parab

  • Updating sales order pricing after partial delivery

    I have a requirement where due to an enhancement being implemented I need to be able to update the item pricing on the sales order after the item has been partially-delivered. Currently the standard system
    controls do not allow access to the Update Pricing button in the item conditions tab after a partial delivery for the item. Is there any way around this using the standard functionality?
    Regards
    BK GAIKWAD

    Dear,
           For update in sales pricing after delivery you require to reverse and delete delivery.
          Without delivery deletion it is not possible to update sales order's price.
          One more option is you can update your price in billing if you can not accounting of invoice.
    Regards,
    Sandip

  • How to update Sales Order Delivery Block while saving Delivery ?

    Hi,
    I have a requirement wherein i need to update sales order delivery block field(VBAK-LIFSK) while saving the delivery for the order.
    Also I need to remove this block while execution of  Backorder Rescheduling program SDV03V02 (Tcode : V_V2),
    Can anybody help me out in this?
    regards,
    Nitin

    HI,
    try using BAPI_SALESORDER_CHANGE
    pass ur vbeln in SALESDOCUMENT
    pass an 'X' to    BAPISDH1-DLV_BLOCK
    and 'X' to        BAPISDH1X-DLV_BLOCK
    Also add the UPDATE task clause, you will want to set the flag only when delivery is being saved, not before that.

  • How to make the status of a sales order complete of which PART DELIVERY

    How to make the status of a sales order complete of which PARTIAL DELIVERY has already done. <b>(Assigning rejection status not accepted)</b>

    Hi Gyana
    There is no document with me. But I can confidently say that because I am using this functionality.
    In my case I have created a Order Reason as "Short Closed". once you short close this order only the balance quantity gets rejected (provided you have already made previous delivery and PGI).
    Try it in one of your test clients if you have. Once it is short Closed it wont also show in the orders due for processing in Production.
    Also you can generate reports based on this if your customer wants to know how many order he has short closed, qty of item short closed etc.
    Try it.
    Rgds
    Sunil

Maybe you are looking for