cancel
Showing results for 
Search instead for 
Did you mean: 

Sales document - Quantity is editable even after creating invoice

Former Member
0 Kudos

Dear Gurus,

There is an issue where for a particular material and the customer combination, the quantity in the sales order remains editable ( it is not grayed out) even though the PGi and billing are completed.

Please let us know the places where any config needs to be checked for the same.

Thanks in advance.

-Krishna

Accepted Solutions (0)

Answers (4)

Answers (4)

Lakshmipathi
Active Contributor
0 Kudos
the quantity in the sales order remains editable ( it is not grayed out) 
    even though the PGi and billing are completed

Yes this is a standard feature. Even for that line item, if the status of Accounting document is "Cleared", you can amend the quantity in sale order, over and above the delivered / invoiced quantity. If you dont want this functionality, you have to go for sale order exit.

thanks

G. Lakshmipathi

Former Member
0 Kudos

Hi,

Try this user exit - USEREXIT_FIELD_MODIFICATION include MV45AFZZ.

Also check with the help of ABAPer

User exits in the program MV45AFZZ - USEREXIT_FIELD_MODIFICATION or USEREXIT_SAVE_DOCUMENT

SEREXIT_FIELD_MODIFICATION -> you can disable/enable screen fields by using this user exit as you want quantity in VA02.

screen-name = 'RV45A-KWMENG' OR " Order quantity

screen-name = 'VBEP-WMENG' OR " Order qty in Schedule Lines

screen-name = 'RV45A-KMPMG'. " Order quantity in "Structure" tab

SCREEN-INPUT = 0.

This will help you to resolve your issue.

REgards,

KRishna O

Former Member
0 Kudos

The field is Order quantity in VA02 : VBAP-KWMENG

Former Member
0 Kudos

Just to add, the accounting document has also been cleared.

Former Member
0 Kudos

For your reference , I am forwarding you one of the Discussion Thread regarding the same issue.Kindly go through this link.

Best Regards,

Ankur

Former Member
0 Kudos

Kindly let us know the Field where Order Quantity is in Editable Mide.

Best Regards,

Ankur

Former Member
0 Kudos

Kindly check if the Invoice is still Open & has not been posted to Accouting ,it will show n Editable Mode. Kindly make teh Accouting Document Cleared which will make Order Qty Field in Grey mode.

Best Regards,

Ankur