SELECTION-SCREEN - ldb_additions
Short Reference
ABAP Syntax(Obsolete) ... FOR {TABLE|NODE} node [ID id] ... .
ABAP_ADDITIONS:
1 ... FOR {TABLE|NODE} node
2 ... ID id
What does it do? 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 .
ABAP_ADDITION_1 ... FOR {TABLE|NODE} node
What does it do? 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 , you can use the
TABLE addition instead of NODE . For a description of the
node types, see the NODES statement.
When the system generates the standard selection screen 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 you use the function
module LDB_PROCESS , the assigned node node must be
requested so that the screen element is created.
The FOR TABLE|NODE addition must be specified for the variants
of the SELECTION-SCREEN statement with
POSITION ,
PUSHBUTTON ,
SKIP ,
TAB , or
ULINE . You must either assign
a node or specify the FOR FIELD addition for the variant with
COMMENT .
The FOR TABLE|NODE addition 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 .
Latest 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, you do not need to use the
variant of the statement SELECT-OPTIONS .
ABAP_ADDITION_2 ... ID id
What does it do? 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 a SELECTION-SCREEN
statement. The ID must be specified directly.
The ID can be used to exclude screen elements from a selection screen
version with a
SELECTION-SCREEN EXCLUDE statement.
You can use variants of a SELECTION-SCREEN statement to combine
an ID definition with COMMENT
, DYNAMIC SELECTIONS ,
FIELD SELECTION ,
FUNCTION KEY ,
INCLUDE ,
PUSHBUTTON ,
SKIP ,
TAB , and
ULINE .
Latest notes: You cannot define an ID for blocks defined with
BEGIN OF BLOCK or
BEGIN OF [TABBED] BLOCK ,
since these are already identified by the name of the block.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved