cancel
Showing results for 
Search instead for 
Did you mean: 

Orders already invoiced status can still change the amount/qty order

Former Member
0 Kudos

HI Experts,

How to configure the amount/quantity of Sales Order should not be able to change the amount once the invoice is created?

Thanks a lot!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

When you will change the quantity in sales order which is fully invoiced you will receive the warning message, then system still allows to change the quantity, if you will change that warning message to error message then system will restrict you to modify the already invoiced sales order.

please confirm me if above solution works or not.

Br / Prashant

Former Member
0 Kudos

Hi,

I already changed the Warning Message to Error message using transaction code OVAH. But it will only work if the current value is less than the last value. It will not display an Error message if the value is greater then last value.

Thanks a lot!

Answers (4)

Answers (4)

Former Member
0 Kudos

Used User-Exit MV45FZZ to disable the field with the condition to check Subsequent Documents (Invoice) is available.

Former Member
0 Kudos

You can also check the use of status profile in the sales document type for the controlling the change status of such Sales orders.

Regards

Dany

Former Member
0 Kudos

Hi,

Not sure how the Status Profile works though.

I wanted to have a configuration first than putting it to ABAP.

Thanks a lot!

Former Member
0 Kudos

Hi,

You can try to change the completion rules in item category to either 'B' or 'C' to try out.

Thanks.

Former Member
0 Kudos

Hi

You can user the user exit to restrict the change of quantity in the order after invoice happened . the user exit is USEREXIT_FIELD_MODIFICATION in the progran MV45FAA.with the help of ABAPER you can achieve this.

For Price you can maintain the condition type as not modifiable at v/06.

Please let me if you need further clarification.

Thanks and Regards

Praveen S

Former Member
0 Kudos

Dear Cecilio,

this is possible with the user exit modification stating that

if VA02 then make the order quantity and amount fields disable.

user exit : FORM USEREXIT_FIELD_MODIFICATION

PROGRAM : MV45AFZZ.

IF sy-tcode EQ 'VA02'.

IF vbak-vkorg EQ 'YOUR SALES ORGNS'.

screen-input = 0.

Regards,

balajia