ABAP Keyword Documentation → ABAP − Reference → SAP GUI User Dialogs → Selection Screens → Create Selection Screens → SELECTION-SCREEN → SELECTION-SCREEN INCLUDE
SELECTION-SCREEN INCLUDE SELECT-OPTIONS
Other versions: 7.31 | 7.40 | 7.54
Syntax
SELECTION-SCREEN INCLUDE SELECT-OPTIONS selcrit
[OBLIGATORY [OFF]]
[NO INTERVALS [OFF]]
[NO-EXTENSION [OFF]]
[MODIF ID modid]
[ID id].
Effect
The addition SELECT-OPTIONS creates the screen elements for the
selection criterion selcrit on the current
selection screen.
selcrit expects a selection criterion already declared using the statement
SELECT-OPTIONS on a previous selection screen. All the properties of the selection criterion are taken from the original selection screen.
The additions OBLIGATORY, NO INTERVALSNO-EXTENSION,
and MODIF ID have the same meaning as in the statement
SELECT-OPTIONS and overwrite the corresponding properties taken from
the original selection screen. If the selection criterion was declared using the additions OBLIGATORY
or NO INTERVALS on the original selection screen, these properties can be deactivated on the current selection screen by specifying OFF.
The addition ID can only be used in a selection include for a
logical database.
Note
The addition INCLUDE in this variant ensures that the
selection table selcrit can be filled with values from multiple selection screens at the same time.