Modularisation Branches and Loops
All statements between two event keywords or between an event keyword and a FORM statement are a processing block. When an event occurs, the system processes the processing block after the corresponding event keyword. Each statement in an ABAP/4 report program is part of a processing block or a subroutine. Statements which do not follow an event keyword or a FORM-ENDFORM block are automatically part of the processing block of the default event START-OF-SELECTION.
Note. All statements between an ENDFORM statement and an event keyword or between an ENDFORM statement and the end of the program are never processed. Do not place any statements there. Place all subroutines at the end of your program.
Related: LOOP AT with WHERE Clause
Events that occur at runtime of a report program which uses logical databases, or has selection screens and processes tables (exept GET events):
- Point before the selection screen is displayed.
- Point after processing user input on the selection screen while the selection screen is still active.
- Point after processing the selection screen and before accessing database tables using a logical database.
You must be Loged in to download file