<?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: mutiple selects on one table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mutiple-selects-on-one-table/m-p/4694968#M1103425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at itab.
  move-corresponding itab to itab1.
  v_no = v_no + 1.
  if v_no = 1000.
     job_open.......
     submit &amp;lt;another report and call the bapi inside this program&amp;gt; and pass the internal table itab1.
     job_close......
     refresh itab1.
     clear v_no.
  endif.
endloop.  
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Nov 2008 19:30:44 GMT</pubDate>
    <dc:creator>former_member194669</dc:creator>
    <dc:date>2008-11-10T19:30:44Z</dc:date>
    <item>
      <title>mutiple selects on one table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mutiple-selects-on-one-table/m-p/4694964#M1103421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table with 20,000 to 60,000 records.  Using a select up to n rows statement how can i select 1000 records at a time, process the data, then grab the next 1000?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 19:12:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mutiple-selects-on-one-table/m-p/4694964#M1103421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-10T19:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple selects on one table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mutiple-selects-on-one-table/m-p/4694965#M1103422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess that's not a performance oriented approach..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grab all into one internal table first and then process in batches...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 19:14:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mutiple-selects-on-one-table/m-p/4694965#M1103422</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-11-10T19:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple selects on one table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mutiple-selects-on-one-table/m-p/4694966#M1103423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if you use Select upto 1000 rows all the records matching the where condition is retrieved into the buffer but only 1000 records are fetched from buffer.&lt;/P&gt;&lt;P&gt;better not to use select upto in this case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 19:16:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mutiple-selects-on-one-table/m-p/4694966#M1103423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-10T19:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple selects on one table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mutiple-selects-on-one-table/m-p/4694967#M1103424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;let me re-try this.  currently i select all the records into an internal table.  The problem is that i have to read that table line by line to pass it to a bapi causing a time out error.  How can i break my itab so it process the information in batches?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 19:22:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mutiple-selects-on-one-table/m-p/4694967#M1103424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-10T19:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple selects on one table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mutiple-selects-on-one-table/m-p/4694968#M1103425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at itab.
  move-corresponding itab to itab1.
  v_no = v_no + 1.
  if v_no = 1000.
     job_open.......
     submit &amp;lt;another report and call the bapi inside this program&amp;gt; and pass the internal table itab1.
     job_close......
     refresh itab1.
     clear v_no.
  endif.
endloop.  
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 19:30:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mutiple-selects-on-one-table/m-p/4694968#M1103425</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-11-10T19:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple selects on one table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mutiple-selects-on-one-table/m-p/4694969#M1103426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;The problem is that i have to read that table line by line to pass it to a bapi causing a time out error.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the read table use the &lt;STRONG&gt;Binary Search&lt;/STRONG&gt; addition for sure... it reduces the processing time of read to half.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 19:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mutiple-selects-on-one-table/m-p/4694969#M1103426</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-11-10T19:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: mutiple selects on one table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mutiple-selects-on-one-table/m-p/4694970#M1103427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the PACKAGE SIZE option of the SELECT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 20:12:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mutiple-selects-on-one-table/m-p/4694970#M1103427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-10T20:12:03Z</dc:date>
    </item>
  </channel>
</rss>

