Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Sales Order type

Former Member
0 Kudos

Hi

I am creating a user exit for transaction VA01. In this I am checking for order type 'OR'. But when I create a sales order with order type OR the user exit is getting some other order type. I have got this through debugging. What might be the problem.

Thanks in advance.

regards,

Eswar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Eswar,

I hope you are using field VBAK-AUART. For Domain AUART there is a Conversion Routine assigned as AUART which changes the Input value to the Internal Stored value.

For order type 'OR' the internal value is 'TA'. So in your logic check for 'TA' instead of 'OR'.

Hope this helps.

3 REPLIES 3

Former Member
0 Kudos

can u give the code and user exit name .

tell me your business requirement as well .

regards,

vijay

Former Member
0 Kudos

Eswar,

I hope you are using field VBAK-AUART. For Domain AUART there is a Conversion Routine assigned as AUART which changes the Input value to the Internal Stored value.

For order type 'OR' the internal value is 'TA'. So in your logic check for 'TA' instead of 'OR'.

Hope this helps.

Former Member
0 Kudos

Check table TVAK for the order type OR

in code let it be

CHECK VBAK-AUART = 'TA'.

regards,

vijay