cancel
Showing results for 
Search instead for 
Did you mean: 

Quantity in Sales order

Former Member
0 Kudos

Hi,

I have the scenario like Sales order --> Delivery --> Invoice --> Accounting..

Once i create Delivery document with reference to Sales order, the quantity in the sales order line item should not alove any changes. where can i control this...

Pls suggest me

Thanks and regards,

SUBBU

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member550050
Active Contributor
0 Kudos

Hi

Once i create Delivery document with reference to Sales order, the quantity 
in the sales order line item should not alove any changes

Go to t code OVAH and for message no V4 --- 096 change the settings from warning to error

With this the qty in a sales order will not be allowed to be changed if the delivery doc for that sales order is created and saved

A simple customization can solve your problem

Regards

Raja

Lakshmipathi
Active Contributor
0 Kudos

SAP has given the provision to change the quantity is due to the fact that at any point of time, customer will amend the order quantity and in such instances, you may have to reduce or increase the quantity.

If you want to control this, either in your existing routine itself which is assigned in VTLA, you can write this logic such that the order quantity cannot be edited in VA02. On the other hand, you can try with sale order user exit in the program MV45AFZZ - USEREXIT_READ_DOCUMENT

thanks

G. Lakshmipathi