How To Fix 42858 - Substructure is not included


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 42 - Information Workbench

  • Message number: 858

  • Message text: Substructure is not included

  • Show details Hide details
  • What causes this issue?

    The substructure that was found is not used as an include in any
    structure.
    <ZH>Note</>
    If you use this substructure in another structure as a link, you get a
    second message: <LS>You refer to substructure(s) &1 &2 &3 &4</>.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    If you want to use the substructure in another structure, you must
    include the substructure.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 42858 - Substructure is not included ?

    The SAP error message 42858, which states "Substructure is not included," typically occurs when there is an issue with the structure definition in the ABAP Dictionary (DDIC). This error is often related to the use of structures and substructures in data definitions, particularly when a substructure is expected to be included in a main structure but is not properly defined or included.

    Cause:

    1. Missing Substructure Definition: The substructure that is supposed to be included in the main structure is not defined in the ABAP Dictionary.
    2. Incorrect Structure Declaration: The main structure may be incorrectly declared or may not reference the substructure correctly.
    3. Transport Issues: If the structure was recently transported from another system, the substructure may not have been included in the transport request.
    4. Changes in Data Dictionary: If changes were made to the data dictionary (like deleting or renaming a substructure), it could lead to this error.

    Solution:

    1. Check Structure Definitions: Go to the ABAP Dictionary (transaction SE11) and check the definitions of both the main structure and the substructure. Ensure that the substructure is defined and correctly included in the main structure.
    2. Include Substructure: If the substructure is missing, you need to create it or include it in the main structure. You can do this by editing the main structure and adding the substructure in the "Components" section.
    3. Transport Requests: If the issue is related to transport, ensure that all necessary objects are included in the transport request and that they have been successfully imported into the target system.
    4. Check for Naming Conflicts: Ensure that there are no naming conflicts or issues with the naming conventions that could prevent the substructure from being recognized.
    5. Activate Objects: After making changes, make sure to activate both the main structure and the substructure to ensure that the changes take effect.

    Related Information:

    • Transaction Codes: Use SE11 (Data Dictionary) to view and edit structures, SE80 (Object Navigator) for a broader view of objects, and SE37 (Function Module) if the error occurs in a function module context.
    • Debugging: If the error occurs during runtime, consider using the ABAP debugger to trace where the error is being triggered.
    • Documentation: Refer to SAP Help documentation for more details on structures and substructures in ABAP programming.

    If the problem persists after following these steps, it may be beneficial to consult with a technical SAP consultant or check SAP Notes for any known issues related to this error message.

    • 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