cancel
Showing results for 
Search instead for 
Did you mean: 

Sales document type Wise Order Reason display

Former Member
0 Kudos

Dear All,

I have requirement where when a sales order is registered using an order type .Only the order types applicable for that order type should appear in the drop down list.

Eg : I have order reasons

01 -Bulk Rejection

02-Line Rejection

03-Samples

04-Damaged in Transit etc.

If is choose the order type OR only the order reasons

01 - Bulk Rejection and 02 - line rejection should appear in the srop down list while order registration.Is this possible .Kindly help.

Regards,

K.Vivek

Accepted Solutions (1)

Accepted Solutions (1)

former_member1249468
Contributor
0 Kudos

Hi ,

Yes we can do this by using exit program:MV45AFZZ ,and abaper can control the same in run time process.Pls provide logic for fields VBAK:AUGRU(Order reason) and AUART to use the same in exit program.

Regards,

Pasapula.

Edited by: Pasapula on Jul 27, 2009 2:42 PM

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for the info .Using the Exit i am able to restrict the selection of order reason .

Regards,

K.Vivek

Former Member
0 Kudos

The same can be maintained in the User Exit that if the Order type is OR than it should accept Order reason as "01" or "02" , otherwise throw an error.

Best Regards,

Ankur