<?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: Reading Huge Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886722#M1141889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks everyone for your answers.&lt;/P&gt;&lt;P&gt;just before I close this, I want to make sure of one thing. I am reading some ABAP helps related to this.&lt;/P&gt;&lt;P&gt;and I am wondering can I use something like this to copy data from a database table to an internal table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT LINES OF &amp;lt;itab1&amp;gt; [FROM &amp;lt;n1&amp;gt;] [TO &amp;lt;n 2&amp;gt;] INTO TABLE &amp;lt;itab2&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this is possible only to copy data from one internal table to another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 28 Dec 2008 18:57:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-28T18:57:57Z</dc:date>
    <item>
      <title>Reading Huge Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886715#M1141882</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;I need to read a table with large number of records ( &amp;gt; 800 K ) &lt;/P&gt;&lt;P&gt;sometimes, the system will terminate the my report because it is taking too much time to read &lt;/P&gt;&lt;P&gt;from the table, I am reading all the records and  I store them in an internal table (not smart!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I am thinking of just reading a record by record and process each record, to process each record I need to read again from another table. I tried to use cursor to read record by record but I got runtime error I guess because I am reading again from the database (another table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way to read a table sequentially, where in each time I read 500 records, store them in internal table and process them, then I read the next 500 records and do the same until I read all records in the table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Dec 2008 06:39:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886715#M1141882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-25T06:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Huge Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886716#M1141883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Dec 2008 06:48:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886716#M1141883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-25T06:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Huge Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886717#M1141884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Package Size might help to solve the problem, so if I specified 500 as the package size, 500 records will be stored in the internal table , how can I get the next 500 records until I process all the records ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Dec 2008 07:22:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886717#M1141884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-25T07:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Huge Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886718#M1141885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Misbah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u tell me on basis of  which field are you reading the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2008 12:22:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886718#M1141885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-26T12:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Huge Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886719#M1141886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sumit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am reading all the fields, basically I need to extract all the records (all fields too)  in this huge table and also I need to use the key to read related data from other tables too. finally each record with all its related data will be stored in a text file (one file per record).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2008 18:57:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886719#M1141886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-26T18:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Huge Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886720#M1141887</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;Dont use nested loops, select endselect statement that will take more time so  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take all the required fields into a structure and select from the table it will work the best.&lt;/P&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;Rajesh S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Dec 2008 10:41:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886720#M1141887</guid>
      <dc:creator>former_member632458</dc:creator>
      <dc:date>2008-12-27T10:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Huge Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886721#M1141888</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 you always want to read the entire database table with all its fields, then you should run the report in background to avoid the timeout. Otherwise there is no way out but to restrict the database selection by using where clause in your select statment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Dec 2008 21:27:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886721#M1141888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-27T21:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Huge Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886722#M1141889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks everyone for your answers.&lt;/P&gt;&lt;P&gt;just before I close this, I want to make sure of one thing. I am reading some ABAP helps related to this.&lt;/P&gt;&lt;P&gt;and I am wondering can I use something like this to copy data from a database table to an internal table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT LINES OF &amp;lt;itab1&amp;gt; [FROM &amp;lt;n1&amp;gt;] [TO &amp;lt;n 2&amp;gt;] INTO TABLE &amp;lt;itab2&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this is possible only to copy data from one internal table to another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Dec 2008 18:57:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886722#M1141889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-28T18:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Huge Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886723#M1141890</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;If you are always extracting data from the dable then you run report in background mode and avoid timeout problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Md.MahaboobKhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 05:27:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-huge-table/m-p/4886723#M1141890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T05:27:34Z</dc:date>
    </item>
  </channel>
</rss>

