‎2007 Oct 14 1:47 PM
Hai Gurus,
I am new to ABAP. and I wants to know about LDB concepts.
1. What is LDB and where it is used ?
2. I wants to step by step process with using SE36 ? (With Demo)
Please Help Me..
‎2007 Oct 14 1:54 PM
Hi
Logical databases are special ABAP programs that retrieve data and make it available toapplication programs. The most common use of logical databases is still to read data fromdatabase tables by linkin 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 theprogram, stores them in the program if necessary, and then passes them line by line to theapplication program or the function module LDB_PROCESS using an interface work area .
For further info
check link http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
Reward points if helpful
Message was edited by:
Raghu Devagiri
‎2007 Oct 14 2:40 PM
Hi Reddy,
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.
One can attach a LDB in a report by going to GoTo--Attributes and menton the name of the LDB there.
Every LDB has a default selection screen which can or cannot be hidden.Also,one can modify it using the keyword Exclude.
By using the LDB,there is no need to write the select statement sin your program if the LDB fits your requirement.But if in case,you need data from one more table which is not included in the LDB hierarchical stucture,you can write the select statement and fetch the data.
Ideally,we do not create our own LDBs but instead can copy the standard ones and modify them accordingly and use them in the reports.
For more detailed informaton regarding the LDB,you can refer to the link below:
http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
In case you have any further clarifications,do let me know.
Regards,
Puneet Jhari.