ARTICLE
Include Programs
Include programs are used to split ABAP source code into individual
repository objects . An ABAP program
can be created in the program
attributes using the program type
include program. Include programs do not need to contain introductory
statements for programs and cannot be generated independently from the
ABAP compiler. When using the statement
INCLUDE , however, include programs can be integrated into
compilation units .
An include program must contain complete statements. It can include
other include programs but not it cannot include itself. An include
program does not need to contain complete processing blocks.
ABAP_PGL Do not use include
programs more than once
Notes
For the global declaration
section of an ABAP program, a special top
include is available which is included in the compilation of
individual include programs of a program.
Master programs such as
class pools or
function groups are organized in
include programs automatically by ABAP Workbench.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved