09-24-2008 7:59 PM
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.
09-25-2008 3:57 AM
Hello ,
have a look at MV45AFZ* for SO user exits.
regards
Prabhu
09-25-2008 3:57 AM
Hello ,
have a look at MV45AFZ* for SO user exits.
regards
Prabhu
09-25-2008 7:59 AM
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.
09-25-2008 4:27 PM
Thank You for your reply.
I will try the user exit.
Thanks,
Sonali.
09-25-2008 7:53 PM
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.
10-07-2008 9:31 PM