sapdev logo background
sapdev logo sapdev logo
Comments

ABAP SELECTION-SCREEN LDB VERSION Statement syntax, information and example SAP source code



Return to Statement index



SELECTION-SCREEN BEGIN OF VERSION

Short Reference

ABAP Syntax(Obsolete) 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 . 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-idf , where idf 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, group radio button groups, and block
blocks from the version directly. 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.

Latest notes: 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
.
If logical databases are no longer created, you do not need to use the variant of the statement SELECT-OPTIONS .
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




SELECTION-SCREEN_LDB_FIELD
SELECTION-SCREEN_LINE




comments powered by Disqus