SELECTION-SCREEN BEGIN OF VERSION vers text.
...
SELECTION-SCREEN EXCLUDE { {PARAMETERS para}
| {SELECT-OPTIONS selcrit}
| {RADIOBUTTON GROUPS radi}
| {BLOCKS block}
| {IDS id}.
...
SELECTION-SCREEN END OF VERSION vers.
These statements define a version vers of the standard selection screen for the logical database. You must specify a positive figure a maximum of three characters in length for vers, and for text, a text symbol from the database program in the form text-###, where ### represents the three-character ID of the text symbol. You can only make SELECTION-SCREEN statements that have EXCLUDE additions, and these only within the first and last statements.
The definition of a version must be specified after the definition of the standard selection screen. Each version is based on the standard selection screen. The internal SELECTION-SCREEN EXCLUDE statements remove the specified para parameters, the selcrit selection criteria, radi radio button groups, and block blocks from the version. The IDS addition removes all the elements of the standard selection screen for which the ID id was created when they were defined with the addition ID.
When an executable program is linked with a logical database in the
program attributes, you can enter
the number vers in the Selection
Screen Version field, so that this version is used instead of the full standard selection screen
from the logical database. The content of the text symbol specified in text is used as a description of the version in the input help
(F4) for the entry field.
You can also enter a selection screen version as a standard value in the program attributes of the database
program. You must then enter the number 1000 in the attributes of an executable program that is to use
the full standard selection screen. You can determine which version has been used in the database program using the function module RS_SELSCREEN_VERSION.