Show TOC Entering content frame

Calling Standard Selection Screens Locate the document in its SAP Library structure

 

The standard selection screen of an executable program consists of

·        the selections of a logical database that may be linked to the program

·        all selection screen elements from the declaration part of a program that are not assigned to a user-defined selection screen.

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.

If a standard selection screen is defined in an executable program, the system calls this same program again automatically after it has completely executed once and displayed the standard selection screen. If values have been initialized at the LOAD-OF-PROGRAM and INITIALIZATION events, they will be overwritten by the previous user entries. These user entries themselves can only be overwritten at the PBO of the selection screen.

Example

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:

This graphic is explained in the accompanying text

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

 

 

 

 

 

 

Leaving content frame