what are logical and physical databases

Answer Posted / hari

LOGICAL DATABASE:
=================
To read data from a database tables we use logical database.
A logical database provides read-only access to a group of
related tables to an ABAP/4 program.

Advantages: i)check functions which check that user input is
complete, correct,and plausible. ii)Meaningful data
selection. iii)central authorization checks for database
accesses. iv)good read access performance while retaining
the hierarchical data view determined by the application
logic. dis advantages: i)If you donot specify a logical
database in the program attributes,the GET events never
occur. ii)There is no ENDGET command,so the code block
associated with an event ends with the next event statement
(such as another GET or an END-OF-SELECTION).


Logical databases are special ABAP programs that retrieve
data and make it available to application programs. The most
common use of logical databases is still to read data from
database tables by linking them to executable ABAP programs.

Logical databases contain Open SQL statements that
read data from the database. You do not therefore need to
use SQL in your own programs. The logical database reads the
program, stores them in the program if necessary, and then
passes them line by line to the application program or the
function module LDB_PROCESS using an interface work area.

A logical database provides a particular view of
database tables in the R/3 System. It is always worth using
logical databases if the structure of the data that you want
to read corresponds to a view available through a logical
database.

The data structure in a logical database is
hierarchical. Many tables in the R/3 System are linked to
each other using foreign key relationships. Some of these
dependencies form tree-like hierarchical structures. Logical
databases read data from database tables that are part of
these structures.

Physical Database is actual Database.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a table attribute? : abap data dictionary

560


How collect statement is different from append?

527


What are the events used in interactive reports?

610


Can a filed occur in several field groups?

588


What happens if only one of the commands set screen and leave screen is used without using the other?

582






What is a data class? : abap data dictionary

623


How to create a check box/option button in a list?

2456


In the abap/4 dictionary tables can be defined independent of the underlying database (t/f). : abap data dictionary

699


Explain sap abap 3-tier architecture?

729


What are the update types possible? : abap data dictionary

552


How is conversion of data types done between abap/4 & db layer? : abap data dictionary

645


What is protect & endprotect?

567


Which function module would you use to check the user’s authorization to access files before opening a file?

600


Explain the advantages/disadvantages of logical databases?

555


Difference between user exit and badis?

607