ERP Database - The Unofficial ERP Knowledge Base

Facebook Twitter del.icio.us Digg it
ERP Database contains a huge collection of articles related to ERP System and Software. Many of the articles are specifically related to SAP. All these ERP/SAP articles are freely available to everyone.

If you would like to submit an article or share any document related to ERP or any specific ERP software. Please mail it to support@erpdb.info. Please make sure that the documents are not copyrighted.
Social Bookmarks:

Logical Databases in ABAP

Print This Post Email This Post Written by admin on Jul 28th, 2008 | Filed under: ABAP

Logical Databases

A Logical database is an ABAP Program that reads the data from database tables and makes the data avaliable to the ABAP Programs. The Logical database provides a system generated selection screen. The ABAP program must specifically refer to the logical database name in theĀ  program attributes. The Coder does not have to worry about the screen design or coding any SQL in order to get the required data. The logical database handles it automatically.

The logical database is hierarchical in structure composed of several nodes. A developer can control the depth of the data retrieval by using the GET <NODE> statement. It may not be a good idea to use a logical database if the only data your program requires is in the last node of a deep hierarchy. The more performance friendly approach would be to program the data retrieval.

The developer can call the logical database directly from the ABAP program using the function module LDB_PROCESS.

Share

If you like this post, you may as well like these too:

  1. ABAP Programs: Using a Logical Database REPORT ZSOURCE1502. * Work areas TABLES: CUSTOMERS, BOOKINGS. * Reading data GET CUSTOMERS. WRITE / CUSTOMERS-NAME. GET BOOKINGS. WRITE: AT /3 BOOKINGS-FLDATE....
  2. What is a Logical Database? A Logical Database is a special data-retrieval program delivered by SAP, with its own dynamic Selection Screens. You need to code only the processing logic (GET, CHECK, etc., statements). The...
  3. Logical Database FAQs Logical Database Frequently Asked Questions FAQs 1. Preparation of the data records by the L.D.B and reading of the data records in the actual report are accomplished with the command...



2 Responses to “Logical Databases in ABAP”

  1. i want to generate the out put data dynamically.i have a selection screen with 6 inputfields.out of that i have two fileds with date_from and date_to.i have to generate an output file with headers and data dynamically with the base of date_from and date_to.suppose

    date_from : 02.2007

    date_to : 09.2009

    then i want the data with headers start from 02.2004 to 09.2009 dynamically.

    itz very urgent plz helpme out.

  2. You have to provide me more information.

    What data do you want in the file?

Leave a Reply