Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1/3
ABAP Tutorials
START-OF-SELECTION
processing (it can be explicitly coded, but need not be). All ABAP statements that are not part of
a processing block (after an event keyword) or a
FORM-ENDFORM
block are automatically part of the
START-OF-SELECTION
processing block if they are coded above all other event keywords or subroutines. The Syntax
Check will offer a warning if it detects that a line of code is inaccessible due to being severed
from an event processing block.
START-OF-SELECTION can be used to set default values of program-defined variables, or to
code WRITE statements to be output to the screen.
The other set of events that occur occur while the ABAP processor is processing the output list
of a report program are called output events.
2/3
ABAP Tutorials
TOP-OF-PAGE
occurs the moment the first line of the first page is written to the screen.
NEW-PAGE
also invokes the
TOP-OF-PAGE
event.
TOP-OF-PAGE DURING LINE-SELECTION allows a programmer to display headers for detail
lists (other than the basic list).
TOP-OF-PAGE DURING LINE-SELECTION is triggered with a WRITE, SKIP or ULINE
statement on a detail list.
Proper usage of LINE-COUNT is to include the number of lines per page, as well as how many
lines are reserved for the footer.
For example, the following statement will display 50 lines of output, and then 3 lines of footer
information. REPORT YPROG LINE-COUNT 53(3).
3/3