Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WS116 - Tax code & with tax type & (&) not allowed


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 116

  • Message text: Tax code & with tax type & (&) not allowed

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WS116 - Tax code & with tax type & (&) not allowed ?

    SAP Error Message:
    WS116 - Tax code & with tax type & (&) not allowed


    Cause:

    This error occurs when a tax code is used in a transaction that is not allowed for the specified tax type. In other words, the tax code assigned to a line item or document is not valid for the tax type configured or expected in the system for that particular transaction or country.

    Common scenarios include:

    • Using a tax code that is not defined for the tax type in the country or company code.
    • Tax code and tax type mismatch due to incorrect configuration or master data.
    • Attempting to post a document with a tax code that is not allowed for the tax category (e.g., input tax vs output tax).
    • Incorrect tax procedure or condition records that link tax codes and tax types improperly.

    Explanation of the Message Variables:

    • & (first) = Tax code used in the transaction.
    • & (second) = Tax type expected or configured.
    • & (third) = Additional info, often the tax type or country code.

    Solution:

    1. Check Tax Code Configuration:

      • Go to transaction FTXP (Maintain Tax Codes).
      • Verify that the tax code used is correctly defined for the country and tax type.
      • Ensure the tax code is active and valid for the company code and transaction type.
    2. Verify Tax Type Assignment:

      • Check the tax type assigned to the tax code.
      • Tax types typically include:
        • H - Input tax
        • J - Output tax
        • K - Special tax types
      • Make sure the tax code is assigned to the correct tax type as per the transaction.
    3. Review Tax Procedure and Condition Records:

      • Use transaction OBYZ to check the tax procedure assigned to the company code.
      • Use FTXP and OBQ1 to verify condition records and tax code assignments.
      • Ensure that the tax procedure allows the tax code and tax type combination.
    4. Check Document and Line Item Tax Data:

      • Review the document where the error occurs.
      • Confirm that the tax code entered matches the expected tax type for the line item.
    5. Adjust Master Data or Transaction Data:

      • If the tax code is incorrect, correct it in the transaction.
      • If the tax code is missing or wrongly assigned, update the master data accordingly.
    6. Consult Country-Specific Tax Configuration:

      • Some countries have specific tax types and codes.
      • Ensure compliance with local tax regulations and SAP country version settings.

    Additional Information:

    • This error is common in FI (Financial Accounting) and MM (Materials Management) modules during invoice posting or tax calculation.
    • It is important to maintain consistency between tax codes, tax types, and tax procedures.
    • If custom tax codes are created, ensure they are properly integrated into the tax procedure.
    • Sometimes, this error can occur after system upgrades or changes in tax configuration, so review recent changes if the error suddenly appears.

    Summary:

    Aspect Details
    Error Message WS116 - Tax code & with tax type & (&) not allowed
    Cause Tax code used is not valid for the tax type in the transaction
    Solution Verify and correct tax code and tax type assignments in FTXP, OBYZ, and related configuration
    Transactions to Check FTXP, OBYZ, OBQ1, FB60/FB70 (posting), MIRO (invoice verification)

    If you need further assistance, please provide:

    • The tax code and tax type values from the error message.
    • The transaction where the error occurs.
    • Company code and country details.

    This will help in giving more precise guidance.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant