cancel
Showing results for 
Search instead for 
Did you mean: 

Not allow to change payment terms

Former Member
0 Kudos

When creating a sales order, not allow to change the payment terms. can I block it? Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

If you want to block the payment terms in sale order, two ways to achieve this.

- Via TCode shd0 (Screen Variant)

- User Exit in the program MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAK

Needless to mention that if you go with above user exit, you should also ensure that at item level also, it should not be changed.

thanks

G. Lakshmipathi

Former Member
0 Kudos

Actually, I want to disable the input box. Thanks!

Former Member
0 Kudos

In the include MV45AFZZ, use the exit USEREXIT_FIELD_MODIFICATION.

This will give you tremendous flexibility in terms of making the field greyed out based on n number of factors like users, org elements, doc types customers etc etc.

Answers (1)

Answers (1)

reazuddin_md
Active Contributor
0 Kudos

There 2 ways to process this,

Use SHD0- enter Transaction code.

create variant by blocking the "Payment terms" field in display mode.

assign this variant(Z) in VOV- doc type- Variant field.

which this variant is applicable to this doc type, payment terms will be in display mode for all the transactions for this doc type.

How you want to block this field? based on customer/material or doc type wise?