How To Fix F7158 - There are no company codes for taxes on sales/purchases group &


F7158 - Overview

  • Message type: E = Error

  • Message class: F7 - Program Error Messages

  • Message number: 158

  • Message text: There are no company codes for taxes on sales/purchases group &

  • Show details Hide details
  • What causes this issue?

    The tax on sales and purchases group &V1& is not assigned to a company
    code.

    Procedure for System Administrators

    Assign the tax on sales and purchases group to the appropriate company
    code.

    <DS:TRAN.OBC6>Proceed</>
    ENDIF

    Error message extract from SAP system. Copyright SAP SE.


F7158 - Details

  • The SAP error message F7158, which states "There are no company codes for taxes on sales/purchases group &," typically occurs when the system is unable to find any company codes associated with the specified tax on sales/purchases group. This can happen for various reasons, such as configuration issues or missing data.
    
    Cause: Missing Configuration: The tax on sales/purchases group may not be properly configured in the system. No Company Codes Assigned: The specific tax group may not have any company codes assigned to it. Incorrect Tax Group: The tax group being referenced may not exist or may have been incorrectly specified in the transaction. Data Inconsistency: There may be inconsistencies in the master data or configuration settings.
    Solution: To resolve the error, you can follow these steps: Check Tax Configuration: Go to the SAP transaction code OBYZ (for tax on sales/purchases). Verify that the tax on sales/purchases group in question is correctly configured. Ensure that the relevant company codes are assigned

    Already have an account? Login here!




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


F7158 - Related SAP Errors

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