Skip to Content
author's profile photo
Former Member

ldb1

1- What are logical databases? What are the advantages/disadvantages of logical databases?

2- Is a logical database a requirement/must to write an ABAP query?

3 -How do you document ABAP programs?

4- What is output determination?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 06, 2005 at 12:51 PM

    1) 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.

    However, from Release 4.5A, it has also been possible to call logical databases using the function module LDB_PROCESS. This allows you to call several logical databases from any ABAP program, nested in any way. It is also possible to call a logical database more than once in a program, if it has been programmed to allow this. This is particularly useful for programs with type 1.

    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.

    2) No, you can code it all yourself.

    3) You can use in-line comments

    4) Output determination is configuration which tells the system when and how to output paperwork to specific recipients.

    Regards,

    Rich Heilman

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 06, 2005 at 12:52 PM

    Hi,

    <b>Logical databases</b> are special ABAP programs that read data from database tables. They are used by executable (type 1) programs. At runtime, you can regard the logical database and the executable program (reports) as a single ABAP program, whose processing blocks are called by the runtime environment in a particular, pre-defined sequence

    also Check this link,

    http://help.sap.com/saphelp_erp2004/helpdata/en/fc/eb2d4d358411d1829f0000e829fbfe/frameset.htm>

    Hope it helps u.

    Thanks&Regards,

    Ruthra

    Add comment
    10|10000 characters needed characters exceeded