ABAP Keyword Documentation → ABAP - Reference → Obsolete Language Elements → Obsolete Processing of External Data → Logical Databases (Obsolete) → Logical Databases - Components → Logical Databases - Further Elements
Logical Databases - Selection Views
Selection views are collections of fields from different database tables. At runtime, additional selections for the fields of these selection views can be defined using dynamic selections. These additional selections are passed to the database and reduce the number of database reads. Before this can happen, the database tables must be defined for dynamic selections in the selection include of the logical database and the database program must be programmed accordingly.
Selection views can be edited by choosing Extras → Selection Views in Logical Database Builder. They are identified by a three-character key that describes the origin of the selection view: SAP for predefined selections views or CUS for customer-defined selection views. In this way, users can define the selection view that best meets their requirements for a given logical database.
If a selection view is to be used in a logical database, the only permitted name is STANDARD and it must be associated with a logical database. In selection views not associated with a special logical database, any name can be chosen.
The following rules apply when constructing dynamic selections on selections screens of logical databases: Only those selection views are used that have the name STANDARD and that are associated with the logical database. If a customer-defined selection view (with key CUS) exists, this view is used; if not, the predefined selection view is used. If there is no selection view with the name STANDARD associated with the logical database, dynamic selections are constructed across all fields of all tables in the logical database.
Selection views have the following elements:
- Function groups
- Tables/nodes
- Fields of the table/node
Other versions:
7.31 | 7.40 | 7.54