<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: what is logical database in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421526#M202306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shiva&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To read data from a database tables we use logical database. &lt;/P&gt;&lt;P&gt;A logical database provides read-only access to a group of related tables to an ABAP/4 program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;advantages:- &lt;/P&gt;&lt;P&gt;The programmer need not worry about the primary key for each table.Because Logical database knows how the different tables relate to each other,and can issue the SELECT command with proper where clause to retrieve the data. &lt;/P&gt;&lt;P&gt;i)An easy-to-use standard user interface. &lt;/P&gt;&lt;P&gt;ii)check functions which check that user input is complete,correct,and plausible. &lt;/P&gt;&lt;P&gt;iii)meaningful data selection. &lt;/P&gt;&lt;P&gt;iv)central authorization checks for database accesses. &lt;/P&gt;&lt;P&gt;v)good read access performance while retaining the hierarchical data view determined by the application logic.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;disadvantages:- &lt;/P&gt;&lt;P&gt;i)If you donot specify a logical database in the program attributes,the GET events never occur. &lt;/P&gt;&lt;P&gt;ii)There is no ENDGET command,so the code block associated with an event ends with the next event  &lt;/P&gt;&lt;P&gt;statement (such as another GET or an END-OF-SELECTION).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find it useful, please reward me for the same.&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karthik Potharaju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jun 2006 13:52:41 GMT</pubDate>
    <dc:creator>former_member189629</dc:creator>
    <dc:date>2006-06-22T13:52:41Z</dc:date>
    <item>
      <title>what is logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421523#M202303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the importance of logical database? Do we use it in programming?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 13:49:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421523#M202303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T13:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: what is logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421524#M202304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. A logical database is in fact&lt;/P&gt;&lt;P&gt;a program only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. This LDB provides two main things :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) a pre-defined selection screen&lt;/P&gt;&lt;P&gt;which handles all user inputs and validations&lt;/P&gt;&lt;P&gt;b) pre defined set of data &lt;/P&gt;&lt;P&gt;based upon the user selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. So we dont have to worry about from&lt;/P&gt;&lt;P&gt;which tables to fetch data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Moreover, this LDB Program,&lt;/P&gt;&lt;P&gt;handles all user-authorisations&lt;/P&gt;&lt;P&gt;and is efficient in all respects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. tcode is SLDB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 13:51:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421524#M202304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T13:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: what is logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421525#M202305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naren has provided good info about Logical Database. you can check the link..&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geekinterview.com/question_details/1506" target="test_blank"&gt;http://www.geekinterview.com/question_details/1506&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functions for displaying and changing logical databases: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call Transaction SE36 or &lt;/P&gt;&lt;P&gt;Choose ABAP Workbench -&amp;gt; Development -&amp;gt; Programming environ. -&amp;gt; Logical databases &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interaction between database program and report: &lt;/P&gt;&lt;P&gt;During program processing, subroutines are performed in the database program and events are executed in the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 13:51:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421525#M202305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T13:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: what is logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421526#M202306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shiva&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To read data from a database tables we use logical database. &lt;/P&gt;&lt;P&gt;A logical database provides read-only access to a group of related tables to an ABAP/4 program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;advantages:- &lt;/P&gt;&lt;P&gt;The programmer need not worry about the primary key for each table.Because Logical database knows how the different tables relate to each other,and can issue the SELECT command with proper where clause to retrieve the data. &lt;/P&gt;&lt;P&gt;i)An easy-to-use standard user interface. &lt;/P&gt;&lt;P&gt;ii)check functions which check that user input is complete,correct,and plausible. &lt;/P&gt;&lt;P&gt;iii)meaningful data selection. &lt;/P&gt;&lt;P&gt;iv)central authorization checks for database accesses. &lt;/P&gt;&lt;P&gt;v)good read access performance while retaining the hierarchical data view determined by the application logic.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;disadvantages:- &lt;/P&gt;&lt;P&gt;i)If you donot specify a logical database in the program attributes,the GET events never occur. &lt;/P&gt;&lt;P&gt;ii)There is no ENDGET command,so the code block associated with an event ends with the next event  &lt;/P&gt;&lt;P&gt;statement (such as another GET or an END-OF-SELECTION).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find it useful, please reward me for the same.&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karthik Potharaju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 13:52:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421526#M202306</guid>
      <dc:creator>former_member189629</dc:creator>
      <dc:date>2006-06-22T13:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: what is logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421527#M202307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="490352"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="257816"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 13:53:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421527#M202307</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-06-22T13:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: what is logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421528#M202308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Shiva&lt;/P&gt;&lt;P&gt;Go through the following Link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Logical database&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;very useful&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sreenivasulu P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 13:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421528#M202308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T13:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: what is logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421529#M202309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shiva nanda ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOGIGAL SYSTEM means usually the SLD entry "logical system" resp the name which is given by customizing in transaction SALE. It is only used for IDoc traffic. I dont know where you found that in the proxy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proxy deoes not require any logical name of the system. This is the entry made in transaction SALE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to following weblog for proxy.&lt;/P&gt;&lt;P&gt;/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy&lt;/P&gt;&lt;P&gt;/people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy&lt;/P&gt;&lt;P&gt;/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this demo of ABAP Proxy.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi&lt;/A&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logical databases are special ABAP programs that retrieve data and make it available to application programs. The most common use of logical databases is to read data from database tables by linking them to executable ABAP programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tasks of Logical Databases&lt;/P&gt;&lt;P&gt;1.Reading the same data for several programs. &lt;/P&gt;&lt;P&gt;2.Defining the same user interface for several programs. &lt;/P&gt;&lt;P&gt;3.Central authorization checks &lt;/P&gt;&lt;P&gt;4.Improving performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First part of your question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,if i am not wrong, LDB cannot be completely considered as object oriented programmming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have highlighted some important points above &lt;/P&gt;&lt;P&gt;For understanding this in detail you can go through the sap help .(if you donot know go through the below path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sap library&lt;/P&gt;&lt;P&gt;+ Basis Components&lt;/P&gt;&lt;P&gt;-Abap Programing and runtime enviornment&lt;/P&gt;&lt;P&gt;-BC-ABAP Programming(noe serach for ldb &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now your second part of question.&lt;/P&gt;&lt;P&gt;In the scenario which you have mentioned we can use ldb.But i am not sure whether it is a typical scenario of ldb.LDB is just a specific access routine to support database access for some application (report generation) needs.We can define a logical database to shorten our ABAP coding .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I am mentioning a link which shows a complete implementation of an LDB.&lt;/P&gt;&lt;P&gt;&lt;A href="http://homepages.wmich.edu/~r2raviko/HandsOnQuest/HO9.doc" target="test_blank"&gt;http://homepages.wmich.edu/~r2raviko/HandsOnQuest/HO9.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose after going through the reply(or sap help) and the link mentioned above all your doubts regarding LDB will be cleared. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck and reward me for the same&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Ashok.N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 13:56:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421529#M202309</guid>
      <dc:creator>ashok_kumar24</dc:creator>
      <dc:date>2006-06-22T13:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: what is logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421530#M202310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;In Human Resources (HR), the following logical databases can be used as a data source for HR InfoSets:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PNP &lt;/P&gt;&lt;P&gt;PAP &lt;/P&gt;&lt;P&gt;PCH&lt;/P&gt;&lt;P&gt;By selecting a logical database, you determine the HR data that can be reported on using an InfoSet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logical Database PCH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This logical database generally enables you to report on all HR infotypes. However, you are advised not to use this logical database unless you want to report on Personnel Planning data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logical Database PNP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use logical database PNP to report on HR master data. It is possible to use logical database PCH to access this data, but PNP meets such reporting requirements more quickly because it is best suited to the task of selecting persons. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logical database PNP enables you to access HR master data and infotypes from Personnel Planning. For example, you have the following options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reporting on the costs, number of attendees booked, and instructor for a business event on which an employee is booked &lt;/P&gt;&lt;P&gt;Reporting on working time and planned compensation for a position that an employee occupies &lt;/P&gt;&lt;P&gt;Reporting on the validity and proficiency of a qualification that an employee fulfils&lt;/P&gt;&lt;P&gt;From a technical perspective, this means you can use PNP to report on all of the infotypes that exist for objects (infotype 1000) that have a direct relationship (infotype 1001) with the Person object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ability to access infotypes from Personnel Planning using logical database PNP is a special feature that you can only use in the context of SAP Query and Ad Hoc Query. You cannot use this functionality for ABAP reports you programmed yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use logical database PNP to report on data from Personnel Time Management (infotypes 2000 to 2999) and Payroll (special payroll infotypes for the USA and customer infotypes; for more information, access Customizing for the Human Resources Information System and see Payroll Results).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logical Database PAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logical database PAP enables you to access data from Recruitment. &lt;/P&gt;&lt;P&gt;also check this link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/ca/d08606a44f11d1950c0000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/ca/d08606a44f11d1950c0000e82de14a/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 13:59:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421530#M202310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T13:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: what is logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421531#M202311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi shiva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi please go the following site to find more info abt it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/sapta003.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/sapta003.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Logical Database - SE36 &lt;/P&gt;&lt;P&gt;A logical database is a special ABAP/4 program which combines the contents of certain database tables. You can link a logical database to an ABAP/4 report program as an attribute. The logical database then supplies the report program with a set of hierarchically structured table lines which can be taken from different database tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reading a SAP standard logical database (DB M - MRP Documents) in your ABAP/4 program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;get is equal to select * from.... &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;get mdkp. &lt;/P&gt;&lt;P&gt;check field-name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get mdtb. &lt;/P&gt;&lt;P&gt;check field-name &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-selection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. To get a taste of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. create a new z program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. while creating type PNP&lt;/P&gt;&lt;P&gt;in logical database field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. paste this code and execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ABC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt;infotypes : 0001.&lt;/P&gt;&lt;P&gt;TABLES : PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;GET PERNR.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; PERNR-PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. The selection screen which u see&lt;/P&gt;&lt;P&gt;is coming from logical database PNP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Execute&lt;/P&gt;&lt;P&gt;7. U will get a list of pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPDBPNP&lt;/P&gt;&lt;P&gt;this is the main program of LDB PNP&lt;/P&gt;&lt;P&gt;which does the main work.&lt;/P&gt;&lt;P&gt;SAPDB + ldb name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 14:01:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-logical-database/m-p/1421531#M202311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T14:01:26Z</dc:date>
    </item>
  </channel>
</rss>

