Show TOC Entering content frame

Procedure documentation Expanding Includes Locate the document in its SAP Library structure

Use

You use this procedure to expand includes, which are part of your program. When you expand an include, all the source code from the include is within the main program, and you can modify the source code without having to switch to another window.

Note

You can use this function only in the Back-End Editor mode of 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 ® More functions ® Expand include.

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.

       4.      Save your changes.

There are two ways to do this:

¡        Choose This graphic is explained in the accompanying text with the quick info text Save. The expanded include will be saved as part of the main program and the include program will be removed from the object list.

¡        Position the cursor at the beginning of the include and choose Edit ® More functions ® Save include. In this case, the changes to the include will be saved separately. If you then choose Save, you will only save the changes to the main program.

Result

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

Note

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

Leaving content frame