How To Fix 5K021 - Enter either a formula number or an exemption indicator, but not both


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 5K - HR: Messages for Canada

  • Message number: 021

  • Message text: Enter either a formula number or an exemption indicator, but not both

  • 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 5K021 - Enter either a formula number or an exemption indicator, but not both ?

    The SAP error message 5K021 indicates that there is a conflict in the input data related to tax calculations, specifically when dealing with tax exemption indicators and formula numbers. This error typically arises in the context of tax determination in SAP, particularly when processing transactions that involve tax calculations.

    Cause:

    The error occurs when both a formula number and an exemption indicator are entered in the tax calculation fields. In SAP, you can either specify a formula number (which defines how tax is calculated) or an exemption indicator (which indicates that the transaction is exempt from tax), but not both at the same time. The system requires a clear directive on how to handle the tax calculation, and having both inputs creates ambiguity.

    Solution:

    To resolve this error, you need to ensure that only one of the two fields is populated:

    1. Check the Input Fields: Review the transaction or document where the error occurred. Look for the fields related to tax calculation, specifically the formula number and the exemption indicator.

    2. Remove One of the Inputs:

      • If you intend to apply a tax formula, ensure that the exemption indicator field is left blank.
      • If the transaction is meant to be tax-exempt, then clear the formula number field.
    3. Reprocess the Transaction: After making the necessary adjustments, try to save or process the transaction again.

    Related Information:

    • Tax Configuration: This error may be related to the configuration of tax codes and exemption handling in your SAP system. Ensure that the tax configuration is set up correctly in the SAP system.
    • Documentation: Refer to SAP documentation or help resources for more details on tax calculation procedures and how to configure tax codes and exemptions.
    • User Training: Ensure that users entering tax-related data are trained on the correct procedures to avoid this error in the future.

    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 tax configuration 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
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