Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WS671 - Tax flags are missing on item level (document &1 cannot save)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 671

  • Message text: Tax flags are missing on item level (document &1 cannot save)

  • 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 WS671 - Tax flags are missing on item level (document &1 cannot save) ?

    SAP Error Message:
    WS671 - Tax flags are missing on item level (document &1 cannot save)


    Cause:

    This error occurs when the system tries to save a document (such as a sales order, billing document, or purchase order), but the tax-related flags or tax classification data at the item level are missing or incomplete. The tax determination process requires certain tax flags or tax codes to be present on each item to correctly calculate taxes. If these are not maintained or are missing, the system cannot proceed with saving the document.

    Common scenarios causing this error include:

    • Missing or incomplete tax classification on the material master or customer/vendor master.
    • Incorrect or missing tax codes in the pricing or condition records.
    • Customizing issues in tax determination procedure.
    • Incomplete or missing tax-related data in the item details during document creation.

    Solution:

    1. Check Tax Classification:

      • Verify that the material master has the correct tax classification maintained (e.g., in MM02 under Sales: Sales Org. 2 or Basic Data).
      • Check the customer/vendor master data for correct tax classification.
    2. Verify Tax Codes:

      • Ensure that the tax codes are correctly assigned in the pricing conditions or item details.
      • Check if the tax codes are valid for the country and transaction type.
    3. Review Tax Determination Procedure:

      • Go to SPRO ? Sales and Distribution ? Basic Functions ? Tax on Sales/Purchases ? Basic Settings ? Check Procedure.
      • Ensure that the tax procedure is correctly assigned to the sales area and country.
      • Verify that the tax condition types are correctly maintained.
    4. Maintain Tax Flags on Item Level:

      • When creating or editing the document, ensure that tax flags or tax codes are entered at the item level.
      • If using custom developments or user exits, check if tax flags are being set properly.
    5. Recreate or Correct the Document:

      • Sometimes, deleting and recreating the document with correct tax data can resolve the issue.
      • Alternatively, use transaction codes like VF02 (billing document change) or VA02 (sales order change) to add missing tax data.
    6. Check OSS Notes:

      • Search SAP OSS Notes for WS671 or related tax flag issues for your SAP version.
      • Apply any relevant notes or patches.

    Related Information:

    • Transaction Codes:

      • VA01/VA02 - Create/Change Sales Order
      • VF01/VF02 - Create/Change Billing Document
      • ME21N/ME22N - Create/Change Purchase Order
      • MM02 - Change Material Master
      • XD02/VD02 - Change Customer Master
    • SAP IMG Path for Tax Configuration:

      • Sales and Distribution ? Basic Functions ? Tax on Sales/Purchases ? Basic Settings ? Check Procedure
    • SAP Notes and KBAs:

      • Search for SAP Notes related to WS671 or tax flags missing errors.
      • Example Note: 000123456 (hypothetical) - "Error WS671: Tax flags missing on item level"
    • Debugging:

      • If the issue persists, debugging the tax determination logic or user exits (e.g., USEREXIT_PRICING_PREPARE_TKOMP) may help identify missing tax flag assignments.

    Summary:

    The WS671 error indicates missing tax flags at the item level, preventing document saving. The fix involves ensuring proper tax classification and tax code assignment on materials, customers/vendors, and item details, along with correct tax procedure configuration. Checking and maintaining these tax-related data points resolves the issue.

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