How To Fix >5407 - Tax country &1 is not intended for company code &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: >5 -

  • Message number: 407

  • Message text: Tax country &1 is not intended for company code &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 >5407 - Tax country &1 is not intended for company code &2 ?

    The SAP error message 5407 indicates that there is a mismatch between the tax country and the company code in your configuration. Specifically, it means that the tax country specified in the transaction is not set up for the company code you are using.

    Cause:

    1. Configuration Issue: The tax country is not assigned to the company code in the tax configuration settings.
    2. Incorrect Data Entry: The tax country code entered in the transaction may be incorrect or not applicable to the specified company code.
    3. Missing Tax Jurisdiction: The tax jurisdiction for the specified tax country may not be defined for the company code.

    Solution:

    To resolve this error, you can follow these steps:

    1. Check Tax Configuration:

      • Go to the SAP Customizing Implementation Guide (SPRO).
      • Navigate to Financial Accounting (New) > Financial Accounting Global Settings (New) > Tax on Sales/Purchases > Basic Settings > Define Tax Countries.
      • Ensure that the tax country in question is assigned to the relevant company code.
    2. Assign Tax Country to Company Code:

      • If the tax country is not assigned, you will need to add it. This can typically be done in the same configuration area where you defined tax countries.
      • Make sure to check the settings for both sales tax and purchase tax if applicable.
    3. Review Master Data:

      • Check the master data for the customer or vendor involved in the transaction to ensure that the correct tax country is specified.
      • Ensure that the company code is correctly set up in the master data.
    4. Check Transaction Data:

      • Review the transaction data to ensure that the correct tax country is being used. If the tax country is being derived from the address, ensure that the address is correct.
    5. Consult Documentation:

      • If you are unsure about the configuration, consult the SAP documentation or reach out to your SAP support team for assistance.

    Related Information:

    • Transaction Codes: You may use transaction codes like OBY6 (to check company code settings) and OBD2 (to check tax codes) to navigate through the relevant settings.
    • SAP Notes: Check for any relevant SAP Notes that may address specific issues related to tax configuration and error messages.
    • Testing: After making changes, perform a test transaction to ensure that the error is resolved.

    By following these steps, you should be able to resolve the error message 5407 and ensure that the tax country is correctly configured for the specified company code.

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author