<?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: Fetching the data from List tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-data-from-list-tables/m-p/3702213#M891387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think that is not because of the database table, but may be you are not making sure the internal table which you are using in FOR ALL ENTRIES is blank or what.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the internal table does not contain entries than it will fetch all the data from the database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So befor writing FOR ALL ENTRIES make sure the internal table which you are using must contain atleast a entry in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2008 04:48:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-15T04:48:29Z</dc:date>
    <item>
      <title>Fetching the data from List tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-data-from-list-tables/m-p/3702211#M891385</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;I am trying to fetching that data from List table S501. based on other internal table using "FOR ALL ENTRIES".&lt;/P&gt;&lt;P&gt;It taking much time to get the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i tried to get the data from MCHB table using the above procedure. it taking less time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May i know the procedure how to fetch the data very fastly from the list tables like S501&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lucky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 16:21:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-data-from-list-tables/m-p/3702211#M891385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T16:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the data from List tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-data-from-list-tables/m-p/3702212#M891386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i dont think there is a shortcut..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to define all possible keys.. even if there are no contents for most of them..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for eg, define ranges for SPMON, vkorg etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in selection query,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;specify all of them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;spmon in R_spmon and&lt;/P&gt;&lt;P&gt;vkorg in r_vkorg     and&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;compare with your current code, and see whether atleast some improvement is there...  i have noticed at least 25 % improvement..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 16:53:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-data-from-list-tables/m-p/3702212#M891386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T16:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the data from List tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-data-from-list-tables/m-p/3702213#M891387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think that is not because of the database table, but may be you are not making sure the internal table which you are using in FOR ALL ENTRIES is blank or what.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the internal table does not contain entries than it will fetch all the data from the database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So befor writing FOR ALL ENTRIES make sure the internal table which you are using must contain atleast a entry in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 04:48:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-data-from-list-tables/m-p/3702213#M891387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T04:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the data from List tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-data-from-list-tables/m-p/3702214#M891388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sujamol Augustine  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes you are right..... there was increase in perfromance to 25%if we use the primary keys  fields  even if not necessary.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lucky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 04:59:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-data-from-list-tables/m-p/3702214#M891388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T04:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the data from List tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-data-from-list-tables/m-p/3702215#M891389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hemant,&lt;/P&gt;&lt;P&gt;My internal table is having the data.&lt;/P&gt;&lt;P&gt;and also i used the following statment before going to fetch&lt;/P&gt;&lt;P&gt;if itab[] is not initial.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 05:03:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-the-data-from-list-tables/m-p/3702215#M891389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T05:03:43Z</dc:date>
    </item>
  </channel>
</rss>

