<?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: LDBs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ldbs/m-p/1516405#M237608</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried the 'GET &amp;lt;db table1&amp;gt; LATE' event ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Aug 2006 17:06:54 GMT</pubDate>
    <dc:creator>suresh_datti</dc:creator>
    <dc:date>2006-08-28T17:06:54Z</dc:date>
    <item>
      <title>LDBs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ldbs/m-p/1516400#M237603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to find the last record from logical database. For ex., I have 'Get &amp;lt;db table1&amp;gt;' for getting the header details and 'Get &amp;lt;db table2&amp;gt;' for getting the item details corresponding to the first header. For each header, there are multiple items. I have to calculate the totals after the end of last line item. So, How to find the last item from second 'Get' statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When iam debugging, the cursor is going to first 'Get' to get the other header details once it completes all the line items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any statement to find the last record? Pls. help me regd this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx,&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 15:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ldbs/m-p/1516400#M237603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T15:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: LDBs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ldbs/m-p/1516401#M237604</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;there are macros which you can use to get the last or first records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is HR specific. But i am not sure of the other modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Get last IT 0000 record&lt;/P&gt;&lt;P&gt;  RP-PROVIDE-FROM-LAST P0000 SPACE PN-BEGDA PN-ENDDA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly you can use RP-PROVIDE-FROM-FIRST&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 15:54:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ldbs/m-p/1516401#M237604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T15:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: LDBs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ldbs/m-p/1516402#M237605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the information.&lt;/P&gt;&lt;P&gt;But, how to check/use the macros and where to check these in ABAP. Can you please elaborate with an example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 16:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ldbs/m-p/1516402#M237605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T16:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: LDBs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ldbs/m-p/1516403#M237606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The macros are stored in the Table TRMAC (Macros in ABAP/4 programs).&lt;/P&gt;&lt;P&gt;You can check out for the Macros you need from this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 16:28:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ldbs/m-p/1516403#M237606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T16:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: LDBs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ldbs/m-p/1516404#M237607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Vinod&lt;/P&gt;&lt;P&gt;&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;good info about Logical Database. you can check the link.&lt;/P&gt;&lt;P&gt;&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;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;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;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;&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;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;1. transaction code SLDB.&lt;/P&gt;&lt;P&gt;2.enter name z&amp;lt;ldb-name&amp;gt;&lt;/P&gt;&lt;P&gt;3.create&lt;/P&gt;&lt;P&gt;4.short text&lt;/P&gt;&lt;P&gt;5.create&lt;/P&gt;&lt;P&gt;6. name of root node (here Ekko)&lt;/P&gt;&lt;P&gt;7. enter short text (f6)&lt;/P&gt;&lt;P&gt;8.node type -&amp;gt; data base table.&lt;/P&gt;&lt;P&gt;9.create&lt;/P&gt;&lt;P&gt;10 change logical DB&lt;/P&gt;&lt;P&gt;riht click on ekko and insert node&lt;/P&gt;&lt;P&gt;here node name ekpo&lt;/P&gt;&lt;P&gt;11.create &lt;/P&gt;&lt;P&gt;12. click on selections &lt;/P&gt;&lt;P&gt;13. press no Should the changed structure of Z&amp;lt;ldb name&amp;gt; be saved first.&lt;/P&gt;&lt;P&gt;14.select tables which you want to join.&lt;/P&gt;&lt;P&gt;15.transfer&lt;/P&gt;&lt;P&gt;16 now you have to o to coding part.&lt;/P&gt;&lt;P&gt;17. save&lt;/P&gt;&lt;P&gt;activate.&lt;/P&gt;&lt;P&gt;19.click to src code&lt;/P&gt;&lt;P&gt;double click on first include and activate&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;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 17:01:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ldbs/m-p/1516404#M237607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-28T17:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: LDBs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ldbs/m-p/1516405#M237608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried the 'GET &amp;lt;db table1&amp;gt; LATE' event ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2006 17:06:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ldbs/m-p/1516405#M237608</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-08-28T17:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: LDBs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ldbs/m-p/1516406#M237609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Suresh. Its almost done using late on first dbtable. Rewards are awarded..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2006 08:26:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ldbs/m-p/1516406#M237609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-01T08:26:46Z</dc:date>
    </item>
  </channel>
</rss>

