ABAP Keyword Documentation → ABAP - Reference → Calling and leaving program units → Exiting Program Units → Exiting Processing Blocks
Normal Exiting of a Processing Block
A processing block is exited normally upon reaching its end. For processing blocks that are concluded
with an END
statement, this is the end. Event blocks that are not explicitly concluded with a statement have an implicit conclusion after their last statement.
Depending on the processing block exited, the runtime environment behaves as follows:
- With procedures the program returns to after the point where they were called. The output parameters, for which the pass by values are defined, are passed to the attached actual parameters.
- With dialog modules, the program returns to after the point in the dynpro flow logic where they were called.
- With event blocks, the control is given back to the runtime environment and the current process of the runtime environment continues with the program execution.