How To Fix ED556 - Include was only expanded for display. (Cannot be saved)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: ED - ABAP/4 Editor messages

  • Message number: 556

  • Message text: Include was only expanded for display. (Cannot be saved)

  • Show details Hide details
  • What causes this issue?

    You want to save an expanded include. The include, however, was only
    expanded for display.
    Since the editor cannot lock individual blocks of text against changes,
    it is possible that you have changed the include text cancelled for
    display.

    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 do not want to save the include, you can compress it. You can
    copy the include text into a file beforehand, so that your changes are
    not lost.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message ED556 - Include was only expanded for display. (Cannot be saved) ?

    The SAP error message "ED556 Include was only expanded for display. (Cannot be saved)" typically occurs when you are trying to modify or save an include program in the ABAP Workbench, but the system is preventing you from doing so. This is often due to the fact that the include is not meant to be directly edited or saved in the way you are attempting.

    Cause:

    1. Display Mode: The include program is opened in display mode rather than change mode. This can happen if you do not have the necessary authorizations or if the program is locked for editing.
    2. System Restrictions: Some includes are part of standard SAP code and are not meant to be modified directly. SAP restricts changes to ensure system integrity and stability.
    3. Transport Request: If you are trying to save changes without being in a proper transport request, the system may prevent you from saving.

    Solution:

    1. Check Authorizations: Ensure that you have the necessary authorizations to edit the include. You may need to contact your SAP administrator to verify your permissions.
    2. Open in Change Mode: Make sure you are opening the include in change mode. You can do this by using the transaction SE38 or SE80 and selecting the appropriate option to edit.
    3. Use a Z-Program: If you need to make changes to standard includes, consider creating a Z-Program (custom program) that includes the necessary logic instead of modifying the standard include directly.
    4. Transport Request: If you are working in a development environment, ensure that you are working within a transport request. You can create a transport request in the SE09 or SE10 transaction.
    5. Check for Locks: Ensure that the include is not locked by another user. You can check this using transaction SM12.

    Related Information:

    • SAP Notes: Check SAP Notes for any specific guidance or updates related to the error message. You can search for relevant notes in the SAP Support Portal.
    • ABAP Development Guidelines: Familiarize yourself with SAP's guidelines for ABAP development, which often recommend against modifying standard includes directly.
    • Custom Enhancements: Consider using enhancement techniques such as user exits, BAdIs, or enhancement spots to implement custom logic without modifying standard code.

    If the issue persists after trying the above solutions, it may be beneficial to consult with your SAP Basis or ABAP development team for further assistance.

    • 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