Change Sales order Quantity after Billing

Hi experts
I m having the doubt in the follw'g scenario :
Like I have created sales order>Delivery>Billing and Excise invoice. Now after this sales process completion
i can able to change the Qty in sales order after Billing . I want to know how to control this with Functional or tech
or with basis people?
I want ur valuable reply that would solve my problem.
Regs.
SR

Hi
SO qty field in CHANGE MODE. I want to display the same into
ONLY DISPLAY MODE.
This is not possible by standard configuration
Check with your ABAPer for any userexit or enhancement
After billing is over if the user adds another line item in the sales order in VA02 mode that too has to be controlled by user exit
Regards
Raja

Similar Messages

  • Change in order quantity after billing

    Hi,
    I am facing an issue where I have created a sales order for service material but by mistake my user has entered zero quantity.
    We have completed the cycle - Sales order --> billing.
    After which he realised that the quantity entered is zero.
    Is there a process where i can change the quantity of order.
    What should i do correct the quantity.
    Please suggest

    If you have communicated the same to your customer say, through Order Acknowledgement or Proforma Invoice, then in my opinion it's not legitimate.
    Thats why I suggested you to cancel the existing invoice and rasie a new/fresh invoice after updating the desire quantities in the existing sales order.
    Regards
    JP

  • Modify order quantity after billing doc

    Hi experts,
    after the items are delivered and billed to our customers, the order quantity from sales order can be changed.
    is this normal?
    i want to make a restriction... when sales order item has delivery, it's possible to disable sales order quantity, that no further modification can be done.
    thank you.

    Yes, check the below link, hopefully it will help you
    Put quantity position of sales order not modifiable with delivery created

  • Make payment terms in sales order editable after billing

    Hi,
    i checked orders in two different systems. In one system payment term is editable even after completely billing the sales order. In other system the payment term field in sales order is grayed out after complete billing and it is not editable.
    Not sure what is the standard way. Is there any configuration / develpement throgh which we can control this?
    I want to make payment terms editable in SO even after completely billing the order.
    Any suggesion friends?
    Thanks,
    Tushar

    Hello Tushar,
    The fields:
       VBKD-INCO1 (Incoterm 1)
       VBKD-INCO2 (Incoterm 2)
       VBKD-ZTERM (Payment terms)
    remain open at header level even after the order has been billed.
    At the item level these fields are greyed out but at header level
    they remain open in the event that a user may want to add more items
    to the sales document.
    The possibilities where the payment term disabled for edit at header
    level could be done by modification/userexits, or screen definition.
    Could you please check if you are using exits in MV45AFZZ particularly USEREXIT_FIELD_MODIFICATION or screen variant ?
    Regards,
    Raghavendra YN

  • Sales order quantity billed instead of delivered quantities?

    Hello.  I am having an issue with billing delivered quantities.  This is the scenario:
    3rd party, non stock materials, are assigned to a network activity in cj20n.  These items generate a PR which is then converted to a PO and goods receipt is posted to the network activity. A sales order is created and assigned to this wbs.  Delivery from project is then carried out in CNS0 and picking and goods issue is posted in vl02n.  If full quantity received to project is not issued out in vl02n, upon billing in vf01, the total sales order quantity is billed.  How do I alter my configuration such that only delivered quantities are billed?

    Hi
    Its seems that your sales order quantity billing issue has been solved.If it is solved then kindly share with us,how the problem has been solved.As there prices are not picking in the billing document, so please check the pricing type that has been maintained in the VTFL copy control.Secondly also check in VOV7 wheather item category is relevant for pricing has been maintained or not.
    You get the delivery document to determine prices from sales order to delivery through copy controls.
    NOTE:If the issue(Sales order quantity billed instead of delivered quantities) has been solved then kindly close the thread and  post your issue through new thread
    Regards
    Srinath

  • Problem in updating Billing plan while changing Sales order

    Hi All,
            I am using the BAPI 'BAPI_SALESORDER_CHANGE' to change a Prepaid Sale order.After calling this BAPI ,I am calling the function module <b>'BILLING_SCHEDULE_SAVE'</b> to update the Billing plan of the changed Sale order(Billing plan dates for Billing type ZF1 are changed).
         The updated date values are getting reflected in the screen when I view through the transaction VA02 and the values are also updated in FPLT table but the values are not getting reflected in the table VKDFS.
       Since the values are not getting reflectedin the table VKDFS the billing date is not correct while we view in the transaction VF04.
       Please provide your valuable suggestions for updating the Billing date in VKDFS table.
        Thanks in advance for your help.
    Thanks and regards,
    Siva

    Hi,
    I had the same problem. Here is an example code to resolve it:
    REPORT  ytestfg.
    DATA: i_bsid LIKE bsid OCCURS 0,
          i_bsid2 LIKE bsid OCCURS 0.
    TABLES: bsid.
    DATA: doc     LIKE     vbak-vbeln,
          pos(6) TYPE n.
    DATA e_fpla     LIKE     fpla.
    DATA e_fplt     LIKE     fpltvb OCCURS 0 .
    DATA: zfpla     LIKE     fplavb OCCURS 0,
    zfplt     LIKE     fpltvb OCCURS 0.
    DATA zfplt2     LIKE     fpltvb OCCURS 0 WITH HEADER LINE.
    doc = 'G03060619'.
    pos = '000010'.
    CALL FUNCTION 'SD_SALES_DOCUMENT_READ'
      EXPORTING
        document_number = doc.
    CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ'
      EXPORTING
        i_vbeln                = doc
        i_posnr                = pos
      IMPORTING
        e_fpla                 = e_fpla
      TABLES
        e_fplt                 = e_fplt
      EXCEPTIONS
        no_billingplan_allowed = 1
        no_billingplan_found   = 2
        OTHERS                 = 3.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Read the billing plan
    CALL FUNCTION 'BILLING_SCHEDULE_READ'
      EXPORTING
        fplnr          = e_fpla-fplnr
      I_VFKDAT       =
      I_BFKDAT       =
      TABLES
       zfpla          = zfpla
        zfplt          = zfplt
    Upddate the ZFPLT2 table with the new values
    MOVE zfplt[] TO zfplt2[].
    READ TABLE zfplt2 INDEX 1.
    zfplt2-afdat = '20080927'.
    Very important to set field updkz = 'U' ***
    zfplt2-updkz = 'U'. "--> UPDATE!!
    MODIFY zfplt2 INDEX 1.
    CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
      TABLES
        fpla_new = zfpla
        fpla_old = zfpla
        fplt_new = zfplt2 " --> NEW
        fplt_old = zfplt.
    CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Regards,
    Edited by: PHO_BA on Mar 9, 2009 5:28 PM

  • Sales order quantity is to be changed

    After MRP run, if Sales order quantity is to be changed than what implication will planned order have in next MRP run?

    Hi,
    If we change the sales order quantity, then there will not be any change in planned order unless we take MRP . After MRP the old planned orders will get deleted and new gets created with the new quantity in the sales order.
    Please maintain the run time parameter as "Deleteand Recreate "
    Regards
    Amit Parkhi

  • Unable to change the order quantity value during save of sales order

    Hi Experts,
    There is a need to change the order quantity value, based on some conditions, when pressed 'ENTER' or during 'SAVE' of the sales order (VA01, VA02).
    We are trying to change the order quantity value (KWMENG) in table XVBAP in the subroutines userexit_field_modification, userexit_save_document and userexit_save_document_prepare of the user exit 'MV45AFZZ'. But the change is not replicated to field on GUI.
    The order quantity value can be changed in subroutine 'userexit_move_field_to_vbap', but the subroutine is not getting triggered when user changes only the order quantity on screen.
    Please help us in resolving this issue.
    Regards,
    Santosh

    Thanks for your time guys. The issue is resolved.
    SAP is not triggering the vbap user exit as the order quantity on screen is in structure RV45A.
    There are two ways of resolving the issue.
    1. Implement the SAP note #513342 - Quantity change and USEREXIT_MOVE_FIELD_TO_VBAP. But, it is SAP modification note.
    2. Write the code in VBEP exit of MV45AFZZ. This user exit is called whenever the order quantity is changed. But, it is called multiple times in some cases. Hence, need to write code to limit our code execution only once e.g. maintain a global table with our quantity & uom. Check when the quantity and uom in our table is same as quantity on screen. If not, exit from user-exit.
    Edited by: Santosh Kacham on Nov 11, 2011 6:37 AM

  • Sales order quantity decrease after delivered and PGIed.

    Hi All,
    I need all of your's help for the below mentioned requirement ---
    --- Customer care can decrease a sales order line after it has already been delivered and PGIed. Customer care receives a warning massage, but can ingore this warning and proceed with the change. The requirement is to make this warning massage as a hard error massage so that it cant be changed.
    Please guide me whether there is any settings by which I can make this as error massage so that it cant be changed by the customer care after Delivery and PGI is done.
    Kindly guide me with the complete details ASAP.
    Thanks,
    Som.

    Hi Seshu,
    Thanks for your kind help, and please help whether there are any other way to do this warning massage as hard core error massage.
    And as you said i was trying with that - after entering into SHD0 and putting VA02 its asking for the Variant, so can you please guide me with the required variant name.
    Please let me know.
    Thanks again,
    Som.
    Edited by: som1983 on Jul 28, 2011 2:04 PM
    Edited by: som1983 on Jul 28, 2011 2:05 PM
    Edited by: som1983 on Jul 28, 2011 2:05 PM

  • Tracking the actual sale order quantity

    Hi Friends,
    How to track the actual sales order quantity given by the customer.
    Ex: we assume the customer has placed an order of 100 units and stock is only 90 so we create the sales order for 90 units only.
    How to find out the difference of 10 units as a report in standard sap system.
    Thanks
    AJ

    Dear AJ,
    This is how normal sales process works.
    You create Sales Order line item for the quantity that customer has requested. (eg: 100)
    Then you do a ATP for that Line item. Let's say you have only 90 in the stock. In that case system will confirm 90 for the sales order line item. (You can see the confirmed quantity in the Schedule line tab)
    Normally we don't change the LI quantity as per the ATP confirmed quantity (i.e 90). Because then we loose the visibility to the customers original requested quantity (i.e 100).
    Say you don't change your Line Item Order quantity to 90. Then your delivery & billing will be for 90.
    So you can see in VA05, Order quantity as 100 and confirmed quantity as 90.
    Your sales reports will show delivery & billing as 90. So that you have a clear visibility to the original order quantity, delivered quantity & billed quantity.
    Further if remaining (open) quantity 10 is appearing your MRP & creating troubles, please use Line Item Rejection Reason as Completed. So that everything is perfect.
    Coming back to your issue.
    Since your changing LI quantity to 90, you cant see 100 in the VA05 report. It always show the existing sales order line item quantity, which is 90 in this example.
    Only way you can find your original sales order quantity is in the Line Item / Change Log.
    This can be view by selecting below Menu option.
    Environment -> Changes
    If you execute it for the relevant Line Item, you can see the Change log. In that by double clicking relevant quantity change line, you  can see the old value & new value. (In this example 100 & 90)
    But that is not a good practice to do as changes will show all quantity changes that you might do based on  customer request. (Imagine if you customer ask to change it later to 95 not 100).
    In that case change log will display 100 to 95, then 95 to 90. So your loosing the required visibility.
    Hope this is helpful to you !

  • UK VAT - MWST Condition Rate in Sales Order different to Billing Document

    We are testing the UK VAT Rate Change.
    Condition MWST has a rate of 15% until today and 17.5% from tomorrow.
    When I create a sales order with a requested delivery date of tomorrow and a pricing date of today the MWST Condition is shown as 17.5% at both header and lin eitem.
    If I create a delivery, post goods issue and create a billing document today, the billing document correctly shows the MWST Condition rate as 15%%.
    But the Sales document still displays the MWST Condition rate as 17.5% .
    ?? How can I get the sales document to display the actual condition rate ??
    I cannot find a solution to this anywhere and would be grateful for any help.
    Regards,

    Hi Michael,
    If the pricing date for the Sales Order and the Billing Document are the same, the VAT should be also be the same.
    But the pricing date for both document does not always have to be the same.
    If the real goods issue date is different from the planned goods issue date and you use it as a reference for the pricing date, then both dates will be different & that's OK. The same would happen if a discount is changed after the Sales Order is introduced but before billing & a new price determination takes place during billing.
    IMHO the Billing Document is the critical document and needs to have the right VAT rate.
    The Sales Order should have the data calculated based on the best information available at creation time, but does not need to be corrected after Billing.
    Best Regards,
    Franck

  • SALE ORDER QUANTITY LESS THAN DELIVERY QUANTITY ? NO CECK IN SAP ??

    Hello friends,
            I created a sales order of quantity  10 , having two material codes each having quantity 4 and 6 . i created delivery for the one by putting delivered quantity 4 and save , then i created delivery for second and put delivered quantity 8 which was greater than the sale order quantity left ,system saved the delivery and didn't popped any error message.  
                                     Does SAP have options to over come this mistake by end users.
    regards

    Dear Joshi,
                      Please get in touch with your abap er as there user exits which can be written to avoid this situation.
                      Let me explain you further one more situation.
    First one, Your query is if for  item A ord qty is 6 the system saved the delivery with 8 qty which is greater than ordered quantity.  I know the gives a warning doing this.
    Second Situation :
    Say item A ordered qty is 5, and i made a delivery for 3 and saved it. Now the open quantity on the order is only 2. (5 -3 =2).  But one of our users reduced the ordered quantity to 2 despite saving a delivery with quantity 3.
    so the situation is ord qty is 2 and delivered is 3 qty. which is again wrong. But while reducing the ordered quantity less than the delivered quantity the system gives a warning message telling "  ORDERED QUANTITY IS LESS THAN DELIVERED QUANTITY ".
    Also just imagine we made delivery for qty 5 and invoiced it.After which you reduced the delivered quantity to say 3. So delivered is 3 but invoiced is 5.
    Hence for these kinds of practical problems we have addressed them through user exits with the help of our ABAP'ers by turning those warning messages into error messages by selecting the suitable message class.
    Hope the explanation helps you. And thanks for all your patient reading.
    Reward points if useful.
    Thanks & Regards
    Sadhu Kishore

  • FM to get sales order details with billing document .

    hi ,
    is there any standard FM or BAPI to get the sales order details with input as billing document ?
    i have the billing document number now i need to get the sales order number and its details ..
    is that possible ..
    i very well know how to get it by using query, i need standard FM.
    Points will be awarded for sure , if it helps .
    Thanks and regards
    JK

    Here is the list of BAPIs
    BAPI_QUOTATION_GETDETAILBOS
    BAPI_INQUIRY_GETDETAILBOS
    BAPI_SALESORDER_GETDETAILBOS
    SALES ORDER->
    BAPISDORDER_GETDETAILEDLIST Sales Order: List of All Order Data
    BAPI_ORDER_CHANGE_STATUS_GET Change status for order
    BAPI_SALESDOCU_CREATEFROMDATA Creating a Sales Document
    BAPI_SALESORDER_CHANGE Sales Order: Change Sales Order
    BAPI_SALESORDER_CREATEFROMDAT1 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create sales order, no more maintenance
    BAPI_SALESORDER_GETLIST Sales order: List of all orders for customer
    BAPI_SALESORDER_GETSTATUS Sales order: Display status
    BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order

  • Sales order quantity equal to delivery quantity.

    31.10.2010
    Hi friends,
    To close all open orders I need to change the order quantity in the sales order to the total quantity delivered. Can you please advise how to go about this? Which table and which fields to use.
    Regards,
    Uday
    Moderator message: please try solving things yourself before asking, explain what you tried and where you are stuck when posting again.
    Edited by: Thomas Zloch on Oct 31, 2010 11:57 AM

    Hi all
      I am facing the same issue now. The system is not issuing an error message when delivery quantity exceeds order quantity and its letting me creating the delivery document and complete PGI. I have checked all the settings discussed in this thread.
    1.  0VLP Check Overdelivery is set to "B"
    2.  In VTLA, 'pos/neg' indicator is set to "+" sign for item category TAN (OR --> LF)
    3. Maintained the overdelivery tolerance limits in customer master.
    However when I set the 0VLP Check Overdelivery indicator to "A" instead, I am atleast getting a warning message. While it was B, I wasn't getting any message.
    I don't know what else could be missing or wrong. Any inputs would be highly appreciated.
    Thanks
    Vamsi

  • Sales order quantity in MD04

    Hi Gurus,
    This is my problem -
    51 links (Base UoM) = 2.5 feet (Sales & Production UoM)
    Delivery unit = 53 links
    In VA01 -> when I entered Sales order = 12 feet system automatically rounded it to 12.990 feet.
    I also received a pop up showing "Item 10 rounded to 265 lk. Rounding reasons 1,2,8 -> long text"
    In MD04 -> when I look at the Sales order quantity = 264.996 links.
    Ran MRP and the planned order quantity = 265 links
    There is a surplus inventory of  ------------> 0.0004 links
    Settings in CUNI: (due to business reasons - Links can NOT be in Decimals. Feet has to be in decimals)
    CUNI
    Decimal places
    Decimal rounding
    Link
    0
    0
    Feet
    3
    3
    Please help

    Thanks a lot Dave. You are the only guy who really understood my issue in the first place.
    And you asked all the right questions.
    Just for the sake of our discussion - I created a brand new material (material setup is same as production client). MRP settings- Proc type E, PD, EX, no rounding profiles, strategy 40, Collective.
    Material master sales view
    Rounding on Sales order
    MD04 before MRP run
    MD04 after MRP run
    MD04 in Feet
    Production order conversion
    Please let me know if you can not see these images.
    I really appreciate your help.
    Sorry for the delay in reply. I was travelling.
    Thanks

Maybe you are looking for