How To Fix >0228 - Tax code &1 not defined in calculation schema &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: >0 - General Basis texts

  • Message number: 228

  • Message text: Tax code &1 not defined in calculation schema &2

  • 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 >0228 - Tax code &1 not defined in calculation schema &2 ?

    The SAP error message 0228 indicates that a specific tax code is not defined in the calculation schema being used for a particular transaction. This error typically arises during the processing of financial documents, such as invoices or payment transactions, where tax calculations are required.

    Cause:

    1. Missing Tax Code Definition: The tax code specified in the transaction is not defined in the calculation schema.
    2. Incorrect Configuration: The calculation schema may not be properly configured to include the tax code.
    3. Transaction Type: The transaction type being processed may not be compatible with the tax code.
    4. Changes in Tax Regulations: Updates or changes in tax regulations may not have been reflected in the system.

    Solution:

    1. Define the Tax Code:

      • Go to the SAP configuration (SPRO) and navigate to the relevant area for tax configuration.
      • Ensure that the tax code in question is defined in the system. You can check this in the following path:
        • Financial Accounting (FI) > Financial Accounting Global Settings (New) > Tax on Sales/Purchases > Basic Settings > Define Tax Codes for Sales and Purchases.
      • If the tax code is missing, create it and ensure it is properly configured.
    2. Check Calculation Schema:

      • Verify that the calculation schema being used includes the tax code. You can check this in the following path:
        • Financial Accounting (FI) > Financial Accounting Global Settings (New) > Tax on Sales/Purchases > Basic Settings > Define Calculation Schema.
      • Ensure that the tax code is assigned to the correct calculation schema.
    3. Review Transaction Type:

      • Ensure that the transaction type you are processing is compatible with the tax code. Some tax codes may only be applicable to specific transaction types.
    4. Consult Documentation:

      • Review any recent changes in tax regulations or system updates that may have affected tax code definitions.
    5. Testing:

      • After making the necessary changes, test the transaction again to ensure that the error is resolved.

    Related Information:

    • Transaction Codes: You may use transaction codes like OB40 (for defining tax codes) and OBYZ (for defining calculation schemas) to access the relevant configuration screens.
    • SAP Notes: Check SAP Notes for any known issues or updates related to tax code configuration and calculation schemas.
    • User Authorization: Ensure that you have the necessary authorizations to make changes to tax codes and calculation schemas.

    If the issue persists after following these steps, it may be beneficial to consult with your SAP support team or a functional consultant who specializes in financial accounting within SAP.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker