<?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/1503087#M232732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;  You can even try the example given in the abapdocu document. It will be useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls try this and reward the points if yoyu think its useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sushil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Sep 2006 06:15:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-06T06:15:05Z</dc:date>
    <item>
      <title>Logical Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503083#M232728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI everyone,&lt;/P&gt;&lt;P&gt;I have to develop a report in HR, does anybody know what is a Logical Database and hot to create it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the tables used are pa0001, pa0002, pa0014, pa0007&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 06:01:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503083#M232728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T06:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503084#M232729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Logical database is the one which you can call directly into the report program. It will give you the following:&lt;/P&gt;&lt;P&gt;1) selection-screen &lt;/P&gt;&lt;P&gt;2) Select- Data&lt;/P&gt;&lt;P&gt;3) Authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it is very useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example is PNP logical database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For creating Logical database:&lt;/P&gt;&lt;P&gt;You have to go to SE36 tcode and then create ur zldb:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this give these tables pa0001, pa0002, pa0014, pa0007 as nodes and write the select statements...put zldb...and proceed further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reference, you can view PNP logical databse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sushil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 06:04:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503084#M232729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T06:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503085#M232730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much, I will try it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 06:11:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503085#M232730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T06:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503086#M232731</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;For information about LDB and its structure kindly refer the following threads which i`d answered to various queries on LDB.&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="2312262"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from that, before proceeding to create your own LDB kindly consider the following points ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Check whether standard LDBs PNP, PCH would solve ur problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. For a report which links only 4 transparent tables, is it really necessary that you have an LDB. Since You can have a better performing report by using joins. Consider the options of INNER JOINS before proceeding further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helfpul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 06:14:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503086#M232731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T06:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503087#M232732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;  You can even try the example given in the abapdocu document. It will be useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls try this and reward the points if yoyu think its useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sushil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 06:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503087#M232732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T06:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503088#M232733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;GOOD&lt;/P&gt;&lt;P&gt;GO THROUGH THIS LINK&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;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;MRUTYUN^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 06:28:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503088#M232733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T06:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503089#M232734</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;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;Check this for LDB&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/EN/c6/8a15381b80436ce10000009b38f8cf/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/c6/8a15381b80436ce10000009b38f8cf/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cs.ucc.ie/~abf/CS507-8/l37c.pdf" target="test_blank"&gt;http://www.cs.ucc.ie/~abf/CS507-8/l37c.pdf&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Good tutorial to start with.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_FunctionalAreas_LogicalDB.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_FunctionalAreas_LogicalDB.asp&lt;/A&gt;&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;Also check this thread,&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="1959601"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Prakhar Saxena&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 06:29:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503089#M232734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T06:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503090#M232735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sai,&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;*----&lt;/P&gt;&lt;HR originaltext="-------------------------------" /&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 06:29:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503090#M232735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T06:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503091#M232736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used inner joins before, so its better to use inner joins or use the LDB?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 07:14:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503091#M232736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T07:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503092#M232737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;  If its an HR report uyou can use PNP or PCH ldb instead of inner joins. You can select the selection screen of your choice as well as you can get the authorization also by using the LDB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For restricting the access to the database while using Logical database, you can use the provide...end provide statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sushil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 07:24:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503092#M232737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T07:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503093#M232738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to use the Logical Databse PNP, but i am geting an error&lt;/P&gt;&lt;P&gt;"pernr is not defned for the current logical database"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any customisation to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 11:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database/m-p/1503093#M232738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-06T11:11:06Z</dc:date>
    </item>
  </channel>
</rss>

