<?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: logical database in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/2174519#M461690</link>
    <description>&lt;P&gt;Hi&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;LDB offers an easy-to-use selection screens. You can modify the pre-generated selection screen to your needs. It offers check functions to check whether user input is complete, correct, and plausible. It offers reasonable data selections. It contains central authorization checks for data base accesses. Enhancements such as improved performance immediately apply to all report programs that use the logical database.&lt;/P&gt;&lt;P&gt;Less coding s required to retrieve data compared to normal internel tables. &lt;/P&gt;&lt;P&gt;Tables used LDB are in hierarchial structure.&lt;/P&gt;&lt;P&gt;Mainly we used LDBs in HR Abap Programming.&lt;/P&gt;&lt;P&gt;Where all tables are highly inter related so LDBs can optimize the performance there.&lt;/P&gt;&lt;P&gt;Check this Document. All abt LDB's&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fabap%2fabap-code-samples%2fldb+browser.doc" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fabap%2fabap-code-samples%2fldb+browser.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;GO THROUGH LINKS - &lt;/P&gt;&lt;P&gt;[Removed by the moderator.]&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;/people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Removed by the moderator.]&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Gothru the blog which provides info on LDB's:&lt;/P&gt;&lt;P&gt;/people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases &lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;</description>
    <pubDate>Thu, 10 May 2007 12:28:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-10T12:28:06Z</dc:date>
    <item>
      <title>logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/2174516#M461687</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;         could you give me some basic funda of logical database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;points will be rewarded &lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 12:13:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/2174516#M461687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T12:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/2174517#M461688</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;     Logical databases, InfoSets, and table joins are all different techniques for consolidating data from multiple database tables. Logical databases are pre-defined paths for accessing database tables. These paths can be made available to various reports in code form. Logical databases are especially useful if the structure of the data you want to read corresponds to a hierarchical view. This can be realized using a logical database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this :-&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if found helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 12:15:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/2174517#M461688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T12:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/2174518#M461689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi deepu&lt;/P&gt;&lt;P&gt;         you said Logical databases are predefined paths.can't we define he those paths as per needs?&lt;/P&gt;&lt;P&gt;         how these paths are made available to various reports?&lt;/P&gt;&lt;P&gt;         why the logical database is used only when the data corresponds to hierarchical view?.&lt;/P&gt;&lt;P&gt;     please answer&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, 10 May 2007 12:22:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/2174518#M461689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T12:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/2174519#M461690</link>
      <description>&lt;P&gt;Hi&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;LDB offers an easy-to-use selection screens. You can modify the pre-generated selection screen to your needs. It offers check functions to check whether user input is complete, correct, and plausible. It offers reasonable data selections. It contains central authorization checks for data base accesses. Enhancements such as improved performance immediately apply to all report programs that use the logical database.&lt;/P&gt;&lt;P&gt;Less coding s required to retrieve data compared to normal internel tables. &lt;/P&gt;&lt;P&gt;Tables used LDB are in hierarchial structure.&lt;/P&gt;&lt;P&gt;Mainly we used LDBs in HR Abap Programming.&lt;/P&gt;&lt;P&gt;Where all tables are highly inter related so LDBs can optimize the performance there.&lt;/P&gt;&lt;P&gt;Check this Document. All abt LDB's&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fabap%2fabap-code-samples%2fldb+browser.doc" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fabap%2fabap-code-samples%2fldb+browser.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;GO THROUGH LINKS - &lt;/P&gt;&lt;P&gt;[Removed by the moderator.]&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;/people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Removed by the moderator.]&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Gothru the blog which provides info on LDB's:&lt;/P&gt;&lt;P&gt;/people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases &lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2007 12:28:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/2174519#M461690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T12:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/2174520#M461691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            The LDB's are nothing but the code is already written and the data is already extected.&lt;/P&gt;&lt;P&gt;NOw if u know the purpose of an LDB and if u want to get the same output as per the functionality of the LDB then u will maintain this LDB in ur program attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then u have to simply supply the attributes to it as PUT and get the output by using GET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can't we define he those paths as per needs?&lt;/P&gt;&lt;P&gt;The path is already defined . U have to use it in ur scenario accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how these paths are made available to various reports?&lt;/P&gt;&lt;P&gt;Maintain this in ur Report attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why the logical database is used only when the data corresponds to hierarchical view?.&lt;/P&gt;&lt;P&gt;Bcoz it's based on the NODAL Catalogue.&lt;/P&gt;&lt;P&gt;All nodes are built as per the data requested.&lt;/P&gt;&lt;P&gt;So each node's child segemnts are populated and then the values are extracted.&lt;/P&gt;&lt;P&gt;SO it's used in a hierarchical view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.k&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 12:29:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/2174520#M461691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T12:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/2174521#M461692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ganesh,&lt;/P&gt;&lt;P&gt;hope this might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;logical data base are special abap program that retrive data from data base and make it available for the application program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just go to:&lt;/P&gt;&lt;P&gt; goto-&amp;gt; atrribute-&amp;gt; logical data base (there give PNP) in se 38 and save &lt;/P&gt;&lt;P&gt;write you report and exicute(no need to give parameters) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the parameter are supllied to the report by the ldb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regrads&lt;/P&gt;&lt;P&gt;anuj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 12:00:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/2174521#M461692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T12:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/2174522#M461693</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;&amp;lt;b&amp;gt;What is logical database?&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;The LDB is special type of ABAP program that combines the contents of certain related database tables and retrieve some related data and make it available to application programs. &lt;/P&gt;&lt;P&gt;In other words, a LDB is a method by which ABAP programs read and process the data. The sequence in which the data is supplied to the  program is determined by a tree structure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LDB usually consists of the following components.&amp;#149; Structure&lt;/P&gt;&lt;P&gt;&amp;#149; Selections&lt;/P&gt;&lt;P&gt;&amp;#149; Database programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logical databases have a tree structure.&lt;/P&gt;&lt;P&gt;A logical database can contain a maximum of 300 tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPDBPNP is the name of the database program for the &lt;/P&gt;&lt;P&gt;logical database PNP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;How are logical database used1&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt; Logical databases when generating an ABAP programo   The selection screen generated contains the selections (SELECT-OPTIONS AND PARAMETERS) of both the logical database and the  program.                                                                                &lt;/P&gt;&lt;P&gt;o   The only database-specific selections displayed on the selection screen are those needed by the program for data retrieval purposes       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;2. Logical databases at run-time of an ABAP program      &amp;lt;/b&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;At run-time, the system processes the events in the program                                                  &lt;/P&gt;&lt;P&gt;          and in the  logical database in the following order &lt;/P&gt;&lt;P&gt;    o   Before displaying the selection screen, certain initializations&lt;/P&gt;&lt;P&gt;               (e.g. calculating default values such as  key date, etc.) are &lt;/P&gt;&lt;P&gt;       performed for the selection screen by the logical database &lt;/P&gt;&lt;P&gt;       and the  program. &lt;/P&gt;&lt;P&gt;    o   The selection screen is displayed and the user enters data in                  the  input fields.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o   The logical database and the program check that the input is    correct and complete , but also that the user has the appropriate   authorizations. If an error occurs, some fields are made  ready for input again, so that the user can make the necessary correction(s).                                                                                &lt;/P&gt;&lt;P&gt;o   In the event START-OF-SELECTION, the ABAP program&lt;/P&gt;&lt;P&gt;     performs any  preliminary work (for ex, importing files). &lt;/P&gt;&lt;P&gt;o  The logical database reads the selected data and the  program &lt;/P&gt;&lt;P&gt;     processes it within the GET events according to  the sequence&lt;/P&gt;&lt;P&gt;     specified by the structure.&lt;/P&gt;&lt;P&gt;o   In the event END-OF-SELECTION, the ABAP program performs &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Srinu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 12:23:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/2174522#M461693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T12:23:57Z</dc:date>
    </item>
  </channel>
</rss>

