How To Fix M8156 - Use either a specific tax code or '**' only


SAP Error Message - Details

  • Message type: E = Error

  • Message class: M8 - Invoice Verification/Valuation

  • Message number: 156

  • Message text: Use either a specific tax code or '**' only

  • Show details Hide details
  • What causes this issue?

    In transactions subject to withholding tax, the system can only check
    and calculate the input tax correctly if all the supplier items have a
    tax code or <LB>**</> is used for all items.

    How to fix this error?

    Change the supplier document items accordingly.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message M8156 - Use either a specific tax code or '**' only ?

    The SAP error message M8156 ("Use either a specific tax code or '' only") typically occurs in the context of material management and inventory transactions, particularly when dealing with tax codes in purchasing documents or inventory postings. This error indicates that the system requires a specific tax code to be used for the transaction, or it allows the use of a wildcard ('') to represent all tax codes, but not both at the same time.

    Cause:

    1. Incorrect Tax Code Configuration: The tax code used in the transaction may not be valid or properly configured in the system.
    2. Mixed Use of Tax Codes: The transaction may be attempting to use both a specific tax code and the wildcard '**', which is not allowed.
    3. Master Data Issues: The material master or vendor master data may not have the correct tax information set up.
    4. Transaction Type Restrictions: Certain transaction types may have restrictions on how tax codes can be applied.

    Solution:

    1. Check Tax Code: Verify that the tax code being used in the transaction is valid and correctly configured in the system. You can do this by checking the tax code settings in the SAP configuration (transaction code OB40 for tax codes).

    2. Use Specific Tax Code or Wildcard: Ensure that you are using either a specific tax code or the wildcard '**', but not both. If you need to apply a specific tax code, remove the wildcard from the transaction.

    3. Review Master Data: Check the material master and vendor master records to ensure that the tax information is correctly maintained. You can use transaction codes like MM03 (Material Master Display) and XK03 (Vendor Master Display) to review the relevant data.

    4. Consult Configuration: If you have access to the configuration settings, review the settings related to tax determination in the SAP system. This may involve checking the tax classification settings for materials and vendors.

    5. Testing: After making the necessary changes, test the transaction again to ensure that the error is resolved.

    Related Information:

    • SAP Notes: Check for any relevant SAP Notes that may provide additional insights or solutions for this specific error message.
    • Documentation: Refer to SAP documentation regarding tax code configuration and material management processes for further understanding.
    • User Forums: Consider searching or posting in SAP community forums for additional user experiences and solutions related to this error.

    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 the relevant area.

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