ABAP Keyword Documentation → ABAP − Reference → Obsolete Language Elements → Obsolete Processing of External Data → Logical Databases (Obsolete) → Logical Databases - Statements → Statements in Logical Databases → SELECTION-SCREEN - ldb_options
SELECTION-SCREEN - ldb_additions
Other versions: 7.31 | 7.40 | 7.54
Obsolete Syntax
... FOR {TABLE|NODE} node [ID id] ...
Extras
1. ... FOR {TABLE|NODE} node
2. ... ID id
Effect
These additions of the statement SELECTION-SCREEN
assign a node of the logical database and/or an ID to selection screen elements of a
logical database.
Addition 1
... FOR {TABLE|NODE} node
Effect
This addition means that all the screen elements created with SELECTION-SCREEN
in the selection include for a logical database must be assigned to a node
in the structure for the logical database. If a node belongs to type T, the addition TABLE
can be used instead of NODE
. For a description of the node types, see the statement NODES
.
When the standard selection screen is created for an
executable program that is linked to the logical database, it only displays screen elements for which an
interface work area
is declared with NODES
or TABLES
for the assigned node
or a node below it in the hierarchy. If the function
module LDB_PROCESS is used, the assigned node node
must be requested so that the screen element is created.
The addition FOR TABLE|NODE
must be specified for the variants
of the statement SELECTION-SCREEN
with
POSITION
,
PUSHBUTTON, SKIP
,
TAB
, or
ULINE
. In the variant using
COMMENT
, either a node must be assigned or the addition FOR FIELD
specified.
The addition FOR TABLE|NODE
cannot be used in statements to define blocks or lines with the additions BEGIN|END OF LINE
, BEGIN|END OF BLOCK
, or BEGIN|END OF TABBED BLOCK
, or when copying elements with an INCLUDE
.
Notes
- If none of the elements in a block or a line are created on the selection screen, the entire block or line is not created.
-
If logical databases are no longer created, this variant of the statement
SELECT-OPTIONS
does not need to be used either.
Addition 2
... ID id
Effect
This addition defines an ID id
containing a maximum of three characters for
a screen element defined in the selection include for a logical database with the statement SELECTION-SCREEN
. The ID must be specified directly.
The ID can be used to exclude screen elements from a selection screen version with the statement SELECTION-SCREEN EXCLUDE
.
Variants of the statement SELECTION-SCREEN
can be used to combine an ID definition
with COMMENT
,
DYNAMIC SELECTIONS
,
FIELD SELECTION
,
FUNCTION KEY
,
INCLUDE
,
PUSHBUTTON
,
SKIP,
TAB, and ULINE
.
Note
An ID cannot be defined for blocks defined using
BEGIN OF BLOCK
or BEGIN OF [TABBED] BLOCK
, since these are already identified by the name of the block.