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

Close

How To Fix TR118 - Class W tables are allowed only with delivery class S


SAP Error Message - Details

  • Message type: E = Error

  • Message class: TR - Change and Transport System

  • Message number: 118

  • Message text: Class W tables are allowed only with delivery class S

  • Show details Hide details
  • What causes this issue?

    The delivery class was changed to a value other than <LS>S</>. However,
    class W tables exist as sub-objects. This is permitted only with
    delivery class (CONTFLAG) S.

    System Response

    Change rejected.

    How to fix this error?

    Either leave the delivery class as <LS>S</> or remove the class W
    tables functioning as sub-objects.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message TR118 - Class W tables are allowed only with delivery class S ?

    The SAP error message TR118 indicates that you are trying to create or modify a table with a delivery class that is not compatible with the specified class of the table. Specifically, the message states that "Class W tables are allowed only with delivery class S."

    Cause:

    In SAP, tables are assigned a delivery class that determines how the data in the table is treated in terms of transport and data management. The delivery classes are defined as follows:

    • Class A: Application tables that are transportable.
    • Class B: Application tables that are not transportable.
    • Class C: Customizing tables that are transportable.
    • Class D: Customizing tables that are not transportable.
    • Class E: Tables that are not transportable and are used for system data.
    • Class F: Tables that are not transportable and are used for system data.
    • Class S: System tables that are not transportable.

    Class W tables are typically used for work area tables, which are not meant to be transported between systems. The error occurs when you attempt to assign a delivery class to a Class W table that is not allowed.

    Solution:

    To resolve this error, you need to ensure that the delivery class of the table you are trying to create or modify is compatible with the Class W designation. Here are the steps you can take:

    1. Check the Table Definition: Review the table definition in the Data Dictionary (SE11) to see what delivery class is currently assigned.

    2. Change the Delivery Class: If the table is incorrectly assigned a delivery class that is not compatible with Class W, change it to a delivery class that is appropriate for your use case. For example, if the table is meant to be a work area table, ensure it is set to Class W and that it does not have a delivery class that is not allowed.

    3. Recreate the Table: If you are unable to change the delivery class due to restrictions, you may need to drop the table and recreate it with the correct settings.

    4. Consult Documentation: Refer to SAP documentation or consult with your SAP Basis or ABAP team for guidance on the appropriate delivery class for your specific use case.

    Related Information:

    • Transaction Codes: You can use transaction codes like SE11 (Data Dictionary) to view and modify table definitions.
    • SAP Notes: Check for any relevant SAP Notes that may provide additional context or solutions for this error.
    • Transport Management: Understanding how transport management works in SAP can help you avoid similar issues in the future.

    By following these steps, you should be able to resolve the TR118 error and ensure that your table definitions are correctly configured.

    • 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