Académique Documents
Professionnel Documents
Culture Documents
The type of an ABAP program determines, for example, which declarations and processing
blocks a program can contain and how it can be executed in the ABAP runtime environment.
The following table lists all program types for standalone programs (compilation units ) and what
impact each of these has on their properties.
Program Type Execution
Global Declarations
Text
Pools
Yes
Methods only
No
Yes
Yes
Yes
No
No
Yes
Event block
LOAD-OFPROGRAM,
subroutines,
methods
No
Yes
None
No
No
Executable
program
SUBMIT statement
or by calling a
dynpro or selection
screen using a
transaction code
Class pool
Calling a function
Function
module using CALL Local interfaces and
group or
FUNCTION or a
classes, all other
function pool dynpro using a
declarative statements
transaction code
Interface pool None
Calling a dynpro
Module pool using a transaction
code
Subroutine
pool
Type group or
None
type pool
TYPES and
CONSTANTS
statements
The second table column indicates the type of execution primarily intended for the program. The
third column indicates which declarations can be made in the global declaration section of a
program of the specified type. The fourth column indicates which processing blocks the program
can contain. The fifth column indicates whether your own dynpros are supported, and the last
column indicates whether you can create your own text pools.