How To Fix WS164 - Not possible to calculate tax for document &1 (see messages)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 164

  • Message text: Not possible to calculate tax for document &1 (see messages)

  • 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 WS164 - Not possible to calculate tax for document &1 (see messages) ?

    Certainly! Here's a detailed explanation for the SAP error message WS164: "Not possible to calculate tax for document &1 (see messages)":


    Error Message:

    WS164 - Not possible to calculate tax for document &1 (see messages)


    Cause:

    This error occurs when the SAP system is unable to determine or calculate the tax for a particular document (e.g., billing document, invoice, or accounting document). The root causes can be:

    1. Missing or Incorrect Tax Codes:

      • The tax code assigned to the document line items is missing, invalid, or not maintained properly.
    2. Incomplete or Incorrect Master Data:

      • Customer or vendor master data lacks necessary tax-related information (e.g., tax classification, tax jurisdiction).
      • Material master data missing tax classification or tax category.
    3. Tax Procedure or Condition Records Issues:

      • The tax procedure assigned to the company code or transaction is incomplete or incorrectly configured.
      • Condition records for tax calculation are missing or not maintained for the relevant tax codes.
    4. Incorrect Document Data:

      • Missing or incorrect country, region, or tax jurisdiction data in the document.
      • Document date or posting date outside the validity period of tax condition records.
    5. Configuration Issues:

      • Tax calculation procedure not assigned to the company code or sales area.
      • Incorrect or missing tax determination settings in customizing.
    6. System or Integration Issues:

      • Incomplete or failed tax calculation due to system errors or missing integration with external tax engines (e.g., SAP Tax Service, Vertex).

    Solution:

    To resolve the WS164 error, follow these steps:

    1. Check the Detailed Error Messages:

      • The message suggests "see messages" — check the application log or message log for more specific error details.
      • Use transaction codes like VF03 (Display Billing Document) or FB03 (Display Document) and check the messages.
    2. Verify Tax Codes:

      • Ensure that the tax codes used in the document are valid and maintained in the system.
      • Use transaction FTXP to check tax codes.
    3. Check Master Data:

      • Verify customer/vendor master data for correct tax classification and tax jurisdiction.
      • Check material master data for tax classification.
    4. Review Tax Procedure and Condition Records:

      • Check the tax procedure assigned to the company code (SPRO ? Financial Accounting ? Tax on Sales/Purchases ? Basic Settings ? Assign Tax Procedure).
      • Verify condition records for tax codes using VK13 or FTXP.
    5. Check Document Data:

      • Ensure that the document has correct country, region, and tax jurisdiction data.
      • Verify document date and posting date are within valid periods for tax condition records.
    6. Review Configuration:

      • Confirm that the tax procedure is correctly assigned to the company code and sales area.
      • Check tax determination settings in customizing.
    7. Recalculate Tax:

      • Try to recalculate tax manually if possible.
      • In billing documents, use the "Recalculate Tax" function.
    8. Check for Notes or Patches:

      • Search SAP Notes for any known issues related to tax calculation errors.
    9. External Tax Engines:

      • If using external tax calculation services, verify the integration and connectivity.

    Related Information:

    • Transaction Codes:

      • FTXP – Maintain Tax Codes
      • OBYZ – Assign Tax Procedure to Company Code
      • VK13 – Display Pricing Condition Records
      • VF03 – Display Billing Document
      • FB03 – Display Accounting Document
      • SPRO – Customizing (for tax configuration)
    • SAP Notes:

      • Check SAP Service Marketplace for notes related to WS164 or tax calculation issues.
    • Documentation:

      • SAP Help Portal: Tax on Sales/Purchases configuration and troubleshooting.
    • Common Scenarios:

      • Error often occurs during billing document creation or posting accounting documents.
      • Can be triggered by changes in tax codes, master data, or tax procedure configuration.

    If you provide the document number (&1) or additional messages, I can help you analyze the specific case further.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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