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: 

User exit for setting tax indicator in Sale order

Former Member
0 Kudos

Hi All,

I want to know if there is a way (user exit) that could look at the Sales Order Type , particular Item Pricing Condition and Ship-to party State and set the materialu2019s tax classification (VBAP/TAXM1) to u201C0u201D (Exempt) ?

Thanks in Advance!

Sonali.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello ,

have a look at MV45AFZ* for SO user exits.

regards

Prabhu

5 REPLIES 5

Former Member
0 Kudos

Hello ,

have a look at MV45AFZ* for SO user exits.

regards

Prabhu

Former Member
0 Kudos

try user exit MV45AFZZ in that write ur code in the form USEREXIT_MOVE_FIELD_TO_VBAP , in that change the tax condition based on ur requirement in XVBAP structure .

Hope this solves ur problem.

Regards,

Ramesh.

0 Kudos

Thank You for your reply.

I will try the user exit.

Thanks,

Sonali.

0 Kudos

Hi Ramesh,

I have put the code in the user exit, and I am able to set the tax classification indicator but I have a problem... Before setting the indicator I need to check for the Usage code of the line item (This code I am using instead of checking the Pricing condition) . I am able to read all the values of line item in VBAP structure in the user exit except for the first time this user exit is hit as soon as a line item is entered it is not picking up the Usage code. That field is blank.

But if add another line item and go into the user exit I can see the previous line item Usage code in XVBPA table.

Do you have any idea why usage code is missing in VBAP structure in the user exit or is there any other table or structure where I can get the usage code?

Thanks in Advance!

Sonali.

Former Member
0 Kudos

Issue Resolved