The code for the START-OF-SELECTION event in a report is executed before starting any database accesses, meaning before the first data record of the highest table in the logical database hierarchy is read. The code’s purpose is to initialize all the variables used when reading data from the database. Particularly additional fields or help variables that are used for filling key fields from connected additional tables can also be initialized here. Selection screen entries can also be checked. The START code is transparent to the end-user.
Choose the pushbutton
Code
in the InfoSet maintenance screen and the
START Code
field help to create or maintain START Code.
Choose
Check
to check your code for syntax errors.