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

Explain the different types of mode (run code) in call transaction method?

567


What are the advantages and disadvantages of using views in abap programming ?

656


Describe the difference between macro and subroutine?

637


How to set an Enhancement point for a custom report?

1145


singleton class

935






What is tcode se16? For what is it used.

591


Explain the disadvantage of using exec sql statement in abap?

522


In order to upload purchase order details, how you handle multiple values for a single field?

569


any one can tell me which is the tables can store in ddic plese dont say db02l,please give me different ways of resideing the tables ?

1987


What are the different types of laws. What are they?

600


What are field symbols and field groups? Have you used component idx of structure clause with field groups?

610


I am uploading 100 records out of which say 59th record has error so what will happen if I am using synchronous or asynchronous method of bdc? Can we update the database using local update mode how? : abap bdc

2573


What are the steps to execute session method?

602


What is meant by stacked list?

601


What is the difference between open_form and close_form?

621