cancel
Showing results for 
Search instead for 
Did you mean: 

Order Reason

Former Member
0 Kudos

Hi,

Can we limit/assign order reason per sales document type?

e.g. Order Type OR => will only see reasons 01 to 04 in the dropdown list

Order Type RE = will only display reasons 05 to 10 in the dropdown list

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kahel

As suggested already you need to do the enhancement in the USEREXIT_MOVE_FIELD_TO_VBAK. In addition you need to add a Z table and define the allowed order reasons for the sales order type. The validation would be based on the entries in this table.

Thanks

Indranil

Answers (3)

Answers (3)

Former Member
0 Kudos

You can Limit the order reasons based order type in SAP AFS solution only

Lakshmipathi
Active Contributor
0 Kudos

Try with User exits in the program MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAK

thanks

G. Lakshmipathi

reazuddin_md
Active Contributor
0 Kudos

Through Enhancement only you can achieve this.

Code should be included in below include & form exit.

Program: MV45AFZB

USEREXIT_CHECK_VBAP

Regards,

Reazuddin MD