
To enable certain functions (for example, ABAP syntax check, navigation, and so on) in the ABAP source code editor, you need to select a main program for the include program.
Typically, an include program is used by exactly one main program. This main program is then automatically selected by ABAP Development Tools (ADT).
If an include program is used in several main programs, you need to select a specific main program in order for the functionality to be executed.
In SAP NetWeaver 7.4 SP08 or higher, you can select a specific main program for a multiple-use include program in the Properties view.
Whenever a specific functionality is executed that requires a main program, but none is selected, a dialog is opened. You then need to select a main program in the Properties view.
All the functions that are now executed in the ABAP source code editor, take the selected main program into consideration.
The selection is valid until you select a new main program or you close ADT.