Skip to Content

Sales Order Quantity to Grey Out - Once Invoiced

Dear Gurus,

Just a quick question. My order quantities in sales order is shown editable even after the invoice is created fully for them. How to disable the user from changing the order quantity if the order is fully delivered or invoiced.

Can you please help me with your suggestions.

Thanks,

Safeer Rahman

P.S : i have searched the SCN to my best , however didn't find any solution thread which suits my purpose..

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Mar 04, 2016 at 10:04 AM

    Not sure, in the business scenario, there is no partial delivery in which case, you can set "A" for Completion Rule in your item category configuration

    G. Lakshmipathi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 02, 2016 at 10:00 AM

    In SO header status tab check for completeness.

    Add a comment
    10|10000 characters needed characters exceeded

    • In contrast to the suggestions in the other thread, I would go for additional code that checks for increase in order quantities for delivered items and for adding items and protect that with a z* authorization object, added to roles for system users, firefighter and 1-2 persons per sales operation. The rest of the business users would just get an error message preventing them from saving the document.

      For some reason I don't like the idea to lose another option for correcting problematic documents in PRD. When you give the responsibility to just 1-2 individuals in the organization, the situation is quite manageable.

  • author's profile photo Former Member
    Former Member
    Posted on Mar 07, 2016 at 10:23 AM

    Safeer, this is the standard behavior of the system that order qty can be changed even after invoice because business may require partial deliveries as mentioned by Mr. Lakshmipathi. I've few suggestions against your requirement take what suits you best

    1. You can limit order qty for each item to 1 using standard configuration but this works well mostly for UOM PC. Settings can be done in VOV7 for your item category by checking order qty =1 check box.

    2. Define a logic with the help of your abaper on sales order enhancement MV45AFZZ at FORM USEREXIT_FIELD_MODIFICATION to modify the qty field to display mode after the creation of subsequent documents. Also, FORM USEREXIT_SAVE_DOCUMENT_PREPARE can be used for this case.

    3. You can also set minimum order or delivery qty in material master sales org 1 tab under quantity stipulations, after setting the minimum qty, don't forget to set the error message to E in OVAH. Message would be V4-082 i believe as i've done this requirement once for my client and catered it using this option.

    Choice is yours what to go for, do revert with your findings against this. I'm quiet keen to know that which option you'll choose. Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 03, 2016 at 01:46 PM

    Hello Folks,

    FORM USEREXIT_SAVE_DOCUMENT_PREPARE has been deployed to meet this requirement.


    Thanks a lot for your time.


    Safeer Rahman

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.