Calling Standard Selection Screens 

PBO des Selektionsbilds

The standard selection screen of an executable program consists of

As long as at least one input field is defined for the standard selection screen, it is called fully automatically between the INITIALIZATION and START-OF-SELECTION events. During selection screen processing, the ABAP runtime environment generates special selection screen events. In the flow of an executable program, these events occur between the INTIALIZATION and the START-OF-SELECTION event. You can define event blocks for these events in the program.

REPORT DEMO.

NODES SPFLI.

SELECTION-SCREEN BEGIN OF BLOCK MYSEL WITH FRAME TITLE T01.
  PARAMETERS: DEPTIME LIKE SPFLI-DEPTIME,
              ARRTIME LIKE SPFLI-ARRTIME.
SELECTION-SCREEN END OF BLOCK MYSEL.

INITIALIZATION.
  T01 = 'Times'.

...

If the executable program is linked to logical database F1S, the following selection screen is displayed automatically when the program is started:

The top three blocks are defined in the logical database. The bottom block is defined in the program itself.