How To Fix TR158 - Table belongs to class '&' and not to class 'E' or 'G'


TR158 - Overview

  • Message type: E = Error

  • Message class: TR - Change and Transport System

  • Message number: 158

  • Message text: Table belongs to class '&' and not to class 'E' or 'G'

  • Show details Hide details
  • What causes this issue?

    A table which does not have class <ZH>E</> or <ZH>G</> was entered.
    Name ranges can only be reserved for tables belonging to class <ZH>E</>
    or <ZH>G</>.

    System Response

    Name ranges are not entered for this table.

    How to fix this error?

    The table class of the affected table should be checked and changed to
    <ZH>E</> or <ZH>G</> if necessary.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message TR158 - Table belongs to class '&' and not to class 'E' or 'G' ?
    The SAP error message TR158 indicates that there is an issue with the transport of a table that belongs to a specific class, but the system is expecting it to belong to a different class. Specifically, the message states that the table belongs to class '&' and not to class 'E' or 'G'. 
    
    Cause: This error typically occurs when you are trying to transport a table that is not classified correctly according to the transport layer's expectations. In SAP, objects are classified into different classes, and each class has specific rules regarding transport. The classes 'E' (for customizing) and 'G' (for repository objects) are commonly used for transport purposes. If a table is classified under a different class (like 'A' for application objects), it cannot be transported in the same way.
    Solution: To resolve this issue, you can take the following steps: Check the Table Class: Verify the class of the table that is

    Already have an account? Login here!




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:
  • TR157 Table name field is not filled
    What causes this issue? The <LS>Table name</> field was not filled.System Response The <LS>Table name</> field is displayed ...

  • TR156 Key contains field with a special data type
    What causes this issue? The key of the selected table contains one or more fields which do not have the data type character or numeric.System Respons...

  • TR159 Specify the namespace
    What causes this issue? No entry was made in the field <LS>Namespace</>.System Response The user is asked to enter a namespace descripti...

  • TR160 Table is not active
    What causes this issue? The specified table is inactive or does not exist.System Response Entry of name ranges for non-existent tables is rejected.H...

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