Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Program Layout 

Modularization Statements

Each ABAP program is divided into processing blocks. Each accessible statement of an ABAP program that does not belong to the global declaration part of the program belongs to a processing block.

The possible processing blocks are:

Processing blocks can be defined in any order in the source code of an ABAP program. Non-declarative statements that appear between or after closed processing blocks cannot be accessed and can never be executed. The syntax check reports dead source code of this nature as errors. Declarative statements that appear between or after closed processing blocks are part of the global data declarations of an ABAP program and are visible in all subsequent processing blocks.

Macros and include programs can be used to modularize source code while avoiding processing blocks.

Other versions: 7.31 | 7.40 | 7.54

Programming Guideline

ABAP Objects as a Programming Model

Continue

Procedures

Dialog Modules

Event Blocks

Source Code Modules