Você está na página 1de 1

ABAP Program Types

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.

Text
Program Type Execution Global Declarations Processing Blocks Dynpros
Pools
SUBMIT statement or by
Local interfaces and
Executable calling a dynpro or All except function
classes, all other declarative Yes Yes
program selection screen using a modules
statements
transaction code
A global class of the class
Calling a visible method
library, local interfaces and
Class pool using CALL METHOD or a Methods only No Yes
classes, TYPES and
transactions code
CONSTANTS statements
Calling a function module
Local interfaces and All except event
Function group using CALL FUNCTION
classes, all other declarative blocks for reporting Yes Yes
or function pool or a dynpro using a
statements events
transaction code
A global interface of the
Interface pool None None No No
class library
All except function
Local interfaces and
Calling a dynpro using a modules and event
Module pool classes, all declarative Yes Yes
transaction code blocks for reporting
statements
events
External calls to local Local interfaces and Event block LOAD-
Subroutine
procedures (subroutines classes, all other declarative OF-PROGRAM, No Yes
pool
or methods) statements subroutines, methods
Type group or TYPES and CONSTANTS
None None No No
type pool 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.

Você também pode gostar