Skip to Content
avatar image
Former Member

User exit for setting tax indicator in Sale order

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 25, 2008 at 02:57 AM

    Hello ,

    have a look at MV45AFZ* for SO user exits.

    regards

    Prabhu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 25, 2008 at 06: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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.

  • avatar image
    Former Member
    Oct 07, 2008 at 08:31 PM

    Issue Resolved

    Add comment
    10|10000 characters needed characters exceeded