ABAP Keyword Documentation → ABAP - Reference → 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 SELECT-OPTIONS
addition creates the screen elements for the
selection criterion selcrit
on the current
selection screen.
You must specify a selection criterion for selcrit
that has already been
declared with a SELECT-OPTIONS
statement on a previous selection screen. All the properties of the selection criterion are copied from the original selection screen.
The OBLIGATORY
, NO INTERVALS
NO-EXTENSION
,
and MODIF ID
additions have the same meaning as in the
SELECT-OPTIONS
statement and overwrite the corresponding properties copied
from the original selection screen. If the selection criterion was declared with OBLIGATORY
orNO INTERVALS
additions on the original selection screen, you can deactivate these properties on the current selection screen by specifying OFF
.
The ID
addition can only be used in a selection include for a
logical database.
Note
The INCLUDE
addition in this variant ensures that the
selection table selcrit
can be filled with values from several selection screens at the same time.