INCLUDE prog


Basic form

INCLUDE prog.

Effect

Includes the program prog in the main program for syntax check and generation purposes.
Include programs are used to divide very large programs into smaller more manageable units. They also allow you to create common program components.

Example

INCLUDE LSPRITOP.

Notes

The whole of an INCLUDE statement must appear on one line where it is the only statement allowed. The include program must consist of complete statements (and comments). You can use the service report RSINCL00 to generate reference lists for include programs.

Index
© SAP AG 1996