ABAP Keyword Documentation →  ABAP − Reference →  Obsolete Language Elements →  Obsolete Processing of External Data → 

Logical Databases (Obsolete)

A logical database is a special development object created and edited in Logical Database Builder. Its main component is an ABAP program that provides other ABAP programs with data from the nodes of a hierarchical tree structure. The most common purpose of logical databases is to extract data from database tables, however other applications are feasible. The framework for using logical database is integrated into the ABAP runtime environment.

Logical databases provide a hierarchical view across database tables associated using foreign key dependencies. If parts of these dependencies construct tree-like hierarchical structures, logical databases can read data from database tables that are components of these structures. In classic ABAP, logical databases are usually used in these hierarchical structures in accordance with the principle of input, processing, and output. The actual database reads are then wrapped in the logical database. The logical database reads the data, saves it locally in the program (if necessary) and passes it row by row to an interface work area.

As well as reusing predefined functions for reading data from database tables, logical databases can be implemented for further central tasks, such as defining uniform selection screens, central authorization checks, or making centralized enhancements to performance.

Notes



Continue
Logical Databases - Components
Logical Databases - Statements
Logical Databases - Use
Logical Databases - Examples