SAP SELECTION-SCREEN LDB VERSION ABAP Statements



Get Example source ABAP code based on a different SAP table
  


• BEGIN OF VERSION SELECTION-SCREEN (obsolete)
• EXCLUDE SELECTION-SCREEN (obsolete)
• PARAMETERS SELECTION-SCREEN EXCLUDE (obsolete)
• SELECT-OPTIONS SELECTION-SCREEN EXCLUDE (obsolete)
• RADIOBUTTON GROUPS SELECTION-SCREEN EXCLUDE (obsolete)
• BLOCKS SELECTION-SCREEN EXCLUDE (obsolete)
• IDS SELECTION-SCREEN EXCLUDE (obsolete)
• END OF VERSION SELECTION-SCREEN (obsolete)

SELECTION-SCREEN BEGIN OF VERSION
Short Reference

ABAP_SYNTAX_OBS
SELECTION-SCREEN BEGIN OF VERSION vers text.
...
SELECTION-SCREEN EXCLUDE ${ ${PARAMETERS para$}
$| ${SELECT-OPTIONS selcrit$}
$| ${RADIOBUTTON GROUPS group$}
$| ${BLOCKS block$}
$| ${IDS id$} $}.
...
SELECTION-SCREEN END OF VERSION vers.

What does it do?
These variants of the statement SELECTION-SCREEN define a version vers of the standard selection screen for the logical database. vers expects a positive number with a maximum of three digits. text expects a text symbol from the database program in the form text-idf, where idf is the three-character ID of the text symbol. SELECTION-SCREEN statements that have the addition EXCLUDE are the only statements that can be specified within the first and last statement and these statements can only be specified there.
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 inner SELECTION-SCREEN EXCLUDE statements remove the directly specified para selection parameters, selcrit selection criteria, group 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 properties, the number vers can be entered in the Selection Screen Version field. This version is then used instead of the complete 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 input field.



Latest notes:

A selection screen version can also be entered as a standard value in the program properties of the database program itself. The number 1000 must then be entered in the properties of an executable program that wants to use the complete standard selection screen. The version used in the database program can be identified using the function module RS_SELSCREEN_VERSION.
If logical databases are no longer created, it is no longer necessary to use this variant of the statement SELECT-OPTIONS.
ABAP_HINT_END

Return to menu