How To Fix MEPO179 - Enter a tax code or remove the tax country


SAP Error Message - Details

  • Message type: E = Error

  • Message class: MEPO - New Purchase Order Dialog

  • Message number: 179

  • Message text: Enter a tax code or remove the tax country

  • Show details Hide details
  • What causes this issue?

    The tax code is empty, but the tax country is filled.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Either enter a tax code or remove the tax country.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message MEPO179 - Enter a tax code or remove the tax country ?

    The SAP error message MEPO179 ("Enter a tax code or remove the tax country") typically occurs in the context of purchasing documents, such as purchase orders or contracts, when the system expects a tax code to be specified but finds that it is missing or incorrectly configured.

    Cause:

    1. Missing Tax Code: The tax code field is empty, and the system requires a tax code to calculate taxes for the transaction.
    2. Incorrect Tax Country: The tax country specified in the document does not have a corresponding tax code defined in the system.
    3. Configuration Issues: There may be issues with the configuration of tax codes in the system, such as missing entries in the tax code table or incorrect settings in the tax determination process.
    4. Document Type Restrictions: Certain document types may require tax codes, and if the document type does not allow for tax codes, this error may occur.

    Solution:

    1. Enter a Tax Code:

      • Navigate to the relevant purchasing document (e.g., purchase order or contract).
      • Locate the tax code field and enter a valid tax code that corresponds to the tax country specified.
    2. Remove the Tax Country:

      • If the transaction does not require tax calculation, you can remove the tax country from the document.
      • Ensure that the document is configured correctly to not require tax information if that is the intended scenario.
    3. Check Tax Code Configuration:

      • Go to the configuration settings in SAP (transaction code SPRO).
      • Navigate to the tax configuration section and ensure that the tax codes are correctly defined for the relevant tax country.
      • Verify that the tax codes are active and properly linked to the relevant tax jurisdiction.
    4. Consult with Finance/Tax Team:

      • If you are unsure about which tax code to use, consult with your finance or tax department to ensure compliance with local tax regulations.
    5. Review Document Type Settings:

      • Check the settings for the document type you are using to ensure that it is configured to handle tax codes appropriately.

    Related Information:

    • Transaction Codes: You may need to use transaction codes like ME21N (Create Purchase Order), ME22N (Change Purchase Order), or ME31K (Create Contract) to access the relevant documents.
    • Tax Code Table: The tax codes are usually maintained in the table T007 (Tax Codes) in SAP.
    • Documentation: Refer to SAP documentation or help resources for detailed guidance on tax configuration and handling tax codes in purchasing documents.

    If the issue persists after trying the above solutions, it may be beneficial to consult with your SAP support team or a functional consultant who specializes in the MM (Materials Management) module for further assistance.

    • 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 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