SAP ABAP PROGRAM STATEMENT
Get Example source ABAP code based on a different SAP table
ARTICLE
Introductory Statements for Programs
The introductory statements for programs are:
The introductory statement of each program depends on the
All statements that follow the introductory statements in the source ABAP Code Snippet are handled as a single unit by ABAP Compiler.
The first statement of every independent ABAP program must be an introductory statement, and each program can only contain one of these statements. The only other statement allowed in the first position ABAP Code Snippet In this case, an introductory statement for a program must appear in the first position of the program after the include program has been resolved when the program is generated.
Executable programs, module pools, function groups, class pools, interface pools, subroutine pools, and type groups are standalone
Type groups, also known as type pools, are standalone programs from a logical point of view. However, they do not contain executable code but only type definitions and constant definitions. For this reason, type groups have their own introductory program statement, the
Note
It is not obligatory, from a syntax point of view, to assign introductory program statements to the program types defined in the