Ansicht
Dokumentation

ABAPSELECTION-SCREEN_LDB_ADDITIONS - SELECTION-SCREEN LDB ADDITIONS

ABAPSELECTION-SCREEN_LDB_ADDITIONS - SELECTION-SCREEN LDB ADDITIONS

BAL_S_LOG - Application Log: Log header data   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

SELECTION-SCREEN, ldb_additions

Short Reference



... FOR ${TABLE$|NODE$} node $[ID id$] ...

Additions

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 of the logical database. If a node has 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 of an executable program is created 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 must not 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, it is no longer necessary to use this variant of the statement SELECT-OPTIONS.

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.






CL_GUI_FRONTEND_SERVICES - Frontend Services   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 5896 Date: 20240426 Time: 141740     sap01-206 ( 96 ms )