SAP LDB STATEMENTS

Get Example source ABAP code based on a different SAP table
  


ARTICLE

Statements in Logical Databases
The following statements or additions for statements can be used in logical databases only. If you no longer create logical databases, then you no longer require these statements.

Database programm
The database program of a logical database provides other programs with data about interface work areas. The name of a database program is SAPDBldb, where ldb stands for the name of the logical database. A special addition and statement both exist for the database program of a logical database.
Addition DEFINING DATABASE for the statement REPORT
Statement PUT

Selection Include
A standard selection screen can be defined in the selection include of a logical database. The standard selection screen of the logical database is grouped together with the standard selection screen of an executable program that is linked to the logical database, to form a shared standard selection screen. The name of this selection include is DBldbSEL, where ldb stands for the name of the logical database.
The elements of the standard selection screen of a logical database are defined using the usual commands: PARAMETERS , SELECT-OPTIONS and SELECTION-SCREEN.
The following elements are using exclusively for creating the selection screen of a logical database:
Special variants of the statement SELECTION-SCREEN
Special additions of the statement PARAMETERS
Special additions of the statement SELECT-OPTIONS