SELECTION-SCREEN INCLUDE SELECT-OPTIONS selcrit
[OBLIGATORY [OFF]]
[NO INTERVALS [OFF]]
[NO-EXTENSIONS [OFF]]
[MODIF ID modid]
[ID id].
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-EXTENSIONS, 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, NO INTERVALS or NO-EXTENSIONS 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.
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.