<?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: how to call logical database in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-logical-database/m-p/3210708#M765438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To call logical database for example LFM1, in your report program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to SE38, create program zxxxx choose executable and specify the logical DB name . Save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zxxxx.&lt;/P&gt;&lt;P&gt;nodes lfm1, lfa1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET LFM1 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : lfm1-ekogr, lfm1-lifnr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET LFA1.&lt;/P&gt;&lt;P&gt;write:/ ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Dec 2007 05:20:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-24T05:20:20Z</dc:date>
    <item>
      <title>how to call logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-logical-database/m-p/3210706#M765436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    plz explain me how to call logical database in a report program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Dec 2007 14:39:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-logical-database/m-p/3210706#M765436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-22T14:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to call logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-logical-database/m-p/3210707#M765437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your report program screen go to menu bar and click goto --&amp;gt;attribute then you find pop up, in that u find logical database. In that enter your logical database name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these link for more details.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db99b435c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db99b435c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2d4d358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2d4d358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.itcserver.com/blog/2006/06/26/events-in-abap/" target="test_blank"&gt;http://www.itcserver.com/blog/2006/06/26/events-in-abap/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Dec 2007 01:51:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-logical-database/m-p/3210707#M765437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-23T01:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to call logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-logical-database/m-p/3210708#M765438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To call logical database for example LFM1, in your report program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to SE38, create program zxxxx choose executable and specify the logical DB name . Save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zxxxx.&lt;/P&gt;&lt;P&gt;nodes lfm1, lfa1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET LFM1 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : lfm1-ekogr, lfm1-lifnr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET LFA1.&lt;/P&gt;&lt;P&gt;write:/ ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 05:20:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-logical-database/m-p/3210708#M765438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-24T05:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to call logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-logical-database/m-p/3210709#M765439</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;u have to specify the logical database name in the attribute screen of program ,then in program u have to specify the nodes statement like tables,then using get and put statement u can acess the logical database&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 11:01:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-logical-database/m-p/3210709#M765439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T11:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to call logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-logical-database/m-p/3210710#M765440</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 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. &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. This is particularly useful for programs with type 1. &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;Logical Databases - Views of Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A logical database provides a particular view of database tables in the R/3 System. It is always worth using logical databases if the structure of the data that you want to read corresponds to a view available through a logical database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data structure in a logical database is hierarchical. Many tables in the R/3 System are linked to each other using foreign key relationships. Some of these dependencies form tree-like hierarchical structures. Logical databases read data from database tables that are part of these structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advantages of Logical database -&lt;/P&gt;&lt;P&gt;1) No need of programming for retrieval , meaning for data selection&lt;/P&gt;&lt;P&gt;2) Easy to use standard user interface, have check completeness of user input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disadvantages &lt;/P&gt;&lt;P&gt;1) Fast in case of lesser no. of tables But if the table is in the lowest level of hierarchy, all upper level tables should be read so performance is slower.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GO THROUGH THE LINKS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/saptab.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/saptab.htm&lt;/A&gt;&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;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3110478"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_Logical_Database_FAQ.html" target="test_blank"&gt;www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_Logical_Database_FAQ.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.sap-img.com/abap/abap-interview-question.htm" target="test_blank"&gt;www.sap-img.com/abap/abap-interview-question.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm" target="test_blank"&gt;www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm&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;&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;&lt;/P&gt;&lt;P&gt;Use Tcode SE36 For creating Logical Database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a simple Program on Logical database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NODES: spfli,sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;WRITE 'Test Program for GET'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Fetching SPFLI table&lt;/P&gt;&lt;P&gt;GET spfli.&lt;/P&gt;&lt;P&gt;WRITE: / 'Carrid:', spfli-carrid,&lt;/P&gt;&lt;P&gt;'Connid:', spfli-connid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Fetching SFLIGHT table&lt;/P&gt;&lt;P&gt;GET sflight.&lt;/P&gt;&lt;P&gt;SKIP 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / 'Carrid:', sflight-carrid,&lt;/P&gt;&lt;P&gt;'Connid:', sflight-connid.&lt;/P&gt;&lt;P&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="3211596"&gt;&lt;/A&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="3198627"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/60/183d78163011d2953c0000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/60/183d78163011d2953c0000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="430310"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example program&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/9f/db9be035c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/9f/db9be035c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD POINTS IF USEFUL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2008 03:39:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-logical-database/m-p/3210710#M765440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-02T03:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to call logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-logical-database/m-p/3210711#M765441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U might probably be asking using LDB's Screen in the selection screen , U can use it by specifyingthe Logical database to be used by clicking on GOTO-&amp;gt;ATTRIBUTES-&amp;gt;here in the logical Database specify the LDB to be used ex. PNPCE etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if found usefull,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2008 11:12:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-logical-database/m-p/3210711#M765441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-02T11:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to call logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-logical-database/m-p/3210712#M765442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one is dfinately thru Attributes but other is that u can code in pgm &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report Ztest using database PNP.&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;&lt;/P&gt;&lt;P&gt;Naveen Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 13:54:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-logical-database/m-p/3210712#M765442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T13:54:00Z</dc:date>
    </item>
  </channel>
</rss>

