<?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: calling Ldb in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344049#M173710</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can't attach 2 LDBs to a report but u can call the back ground programs associated with those LDBs as per ur requirement &amp;amp; call the respective first screens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jun 2006 14:13:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-06T14:13:31Z</dc:date>
    <item>
      <title>calling Ldb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344046#M173707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i call 2 logical database screens in one program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is i have to combine to standard programs as one program ,but problem is each standard program of first 2 selection screen blocks is calling through  logical data base selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any solution for this .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 14:06:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344046#M173707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T14:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: calling Ldb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344047#M173708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess we can't call 2 ldb's in one screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this demo program for ldbs&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;RFBELJ00&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also chk this link&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Naresh Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 14:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344047#M173708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T14:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: calling Ldb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344048#M173709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i dont think you can use 2 LDBs at a time. just find out all the selection parameters used in your LDBs and include it in your default selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Aswin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 14:11:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344048#M173709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T14:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: calling Ldb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344049#M173710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can't attach 2 LDBs to a report but u can call the back ground programs associated with those LDBs as per ur requirement &amp;amp; call the respective first screens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 14:13:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344049#M173710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T14:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: calling Ldb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344050#M173711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi aswin &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;already i created selection screen using one ldb declarations  but controlling of data is going to default ldb screen only  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats the problem .......its not giving correct output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 14:15:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344050#M173711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T14:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: calling Ldb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344051#M173712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;explanation needed in detail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 14:15:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344051#M173712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T14:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: calling Ldb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344052#M173713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii&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;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;&lt;/P&gt;&lt;P&gt;REPORT z_ldb.&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;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;In the attributes of your program  you must have  entered the name of the logical database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is through there the selection screen comes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 14:21:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344052#M173713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T14:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: calling Ldb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344053#M173714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can probably use the function module LDB_PROCESS to meet your reqt. Pl take a look at DEMO_LOGICAL_DATABASE on how to use this function.&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;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 16:26:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344053#M173714</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-06-06T16:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: calling Ldb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344054#M173715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using the submit programs and getting the necessary input from firts programs pass it to another progam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 16:52:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344054#M173715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T16:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: calling Ldb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344055#M173716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try calling an LDB from function module and check ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the link for reference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/saphelp_erp2005/helpdata/en/64/237f8cd43711d1950b0000e8353423/frameset.htm"&amp;gt;Calling a Logical Database Using a Function Module&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 17:16:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344055#M173716</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-06-06T17:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: calling Ldb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344056#M173717</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;You can call 2 LDB's through function module LDB_PROCESS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to call above FM twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'LDB_PROCESS'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;           ldbname                     = 'SDF'&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;           callback                    = it_callback&lt;/P&gt;&lt;P&gt;           selections                  = it_selscreen&lt;/P&gt;&lt;P&gt;           exceptions&lt;/P&gt;&lt;P&gt;                ldb_selections_error        = 1&lt;/P&gt;&lt;P&gt;                ldb_selections_not_accepted = 2&lt;/P&gt;&lt;P&gt;                free_selections_error       = 3&lt;/P&gt;&lt;P&gt;                callback_no_event           = 4&lt;/P&gt;&lt;P&gt;                callback_no_program         = 5&lt;/P&gt;&lt;P&gt;                callback_no_cbform          = 6&lt;/P&gt;&lt;P&gt;                others                      = 7.&lt;/P&gt;&lt;P&gt;       if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;       get bsis.&lt;/P&gt;&lt;P&gt;       endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also refer to DEMO_LOGICAL_DATABASE program for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vikram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward for helpful replies!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 18:25:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-ldb/m-p/1344056#M173717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T18:25:41Z</dc:date>
    </item>
  </channel>
</rss>

