How To Fix F5180 - Use only specific tax codes or only "**"


SAP Error Message - Details

  • Message type: E = Error

  • Message class: F5 - Document Editing

  • Message number: 180

  • Message text: Use only specific tax codes or only "**"

  • Show details Hide details
  • What causes this issue?

    During transactions which are subject to withholding tax, a check and
    calculation of input tax can only be correctly carried out if a tax
    code is explicitly specified for all incoming line items or '**' is
    used.

    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?

    Change the incoming line items correspondingly.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message F5180 - Use only specific tax codes or only "**" ?

    The SAP error message F5180, which states "Use only specific tax codes or only '**'," typically occurs in the context of tax code validation during financial transactions. This error indicates that the system is enforcing a restriction on the tax codes that can be used in a particular transaction or scenario.

    Cause:

    1. Configuration Settings: The error is often caused by configuration settings in the SAP system that restrict the use of certain tax codes. This can be due to:

      • Tax code determination settings in the financial accounting module.
      • Specific settings in the tax configuration that limit the use of tax codes based on certain criteria (e.g., country, transaction type).
    2. Transaction Type Restrictions: Certain transaction types may only allow specific tax codes to ensure compliance with local tax regulations.

    3. Master Data Issues: The error may also arise if the master data (e.g., vendor or customer master records) is set up in a way that restricts the use of certain tax codes.

    Solution:

    1. Review Tax Code Configuration:

      • Go to the transaction code OBYZ (or the relevant configuration path) to review the tax code settings.
      • Ensure that the tax codes you are trying to use are allowed for the specific transaction type.
    2. Check Transaction Type Settings:

      • Verify the settings for the transaction type you are using. Ensure that the tax codes you are trying to apply are permitted for that transaction.
    3. Update Master Data:

      • Check the master data for the relevant vendor or customer. Ensure that the tax classification and other relevant fields are correctly set up to allow the use of the desired tax codes.
    4. Consult with Tax Experts:

      • If the configuration appears correct but the error persists, consult with your tax compliance team or SAP functional consultant to ensure that the tax codes being used comply with local regulations.
    5. Use Allowed Tax Codes:

      • If the system is configured to only allow specific tax codes, ensure that you are using one of those codes. If necessary, update your transaction to use a valid tax code.

    Related Information:

    • SAP Notes: Check SAP Notes for any known issues or updates related to tax code validation. You can search for relevant notes in the SAP Support Portal.
    • Documentation: Review SAP documentation related to tax configuration and tax code determination for your specific version of SAP.
    • Testing: After making any changes, perform testing in a development or quality assurance environment to ensure that the changes resolve the issue without introducing new problems.

    By following these steps, you should be able to identify the cause of the F5180 error and implement a solution to resolve it.

    • 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