Expanding Includes 

Use

You can expand includes that you use in your programs. The system then displays the entire contents of the include within the program, allowing you to modify it without having to switch to another window.

You can only use this function in the backend editor in the ABAP Editor.

Procedure

  1. Open the program containing the include statement. Make sure you are in change mode.
  2. Position the cursor on the line containing the include statement.
  3. Choose Edit ® Other functions ® Expand include.
  4. The system displays the entire contents of the include within your main program.

    The include area is delimited by comment lines that indicate the start and the end of the include.

  5. Save your changes to the include.

There are two ways to do this:

Result

When you expand an include, the expansion applies until you explicitly cancel it.

To cancel the expansion, position the cursor at the beginning of the include and choose Edit ® Other functions ® Compress include. If you have changed the include, the system asks if you want to save your changes.