A logical database is a special ABAP/4 program which combines the contents of certain database tables. You can link a logical database to an ABAP/4 report program as an attribute. The logical database then supplies the report program with a set of hierarchically structured table lines which can be taken from different database tables.
Reading a SAP standard logical database (DB M - MRP Documents) in your ABAP/4 program.
start-of-selection.
* get is equal to select * from....
get mdkp.
check field-name.
get mdtb.
check field-name
end-of-selection.
Return to SAP Hints and Tips on Configuration and ABAP/4 Programming