<?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 Fetch data in packages from a table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data-in-packages-from-a-table/m-p/8867393#M1686838</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 need to fetch data in certain packages from a sap table in a RFC function.&lt;/P&gt;&lt;P&gt;That means, each call of the function should send backa table with a certain number of rows.&lt;/P&gt;&lt;P&gt;The thing is, that it must be possible to call the function and just read some package from, let's say, the middle of a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have a table with 2 mio records and with each function call, I want to read a package of 100000 records.&lt;/LI&gt;&lt;LI&gt;The first call should result in the first 100000 records&lt;/LI&gt;&lt;LI&gt;the second call in a package of 100000 records, but from 100000 to 199999.&lt;/LI&gt;&lt;LI&gt;and so on....&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me, how to set a cursor to the last record of the last read package? then it would be possible to read the next package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You very much &amp;amp; best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2012 11:47:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-07-17T11:47:02Z</dc:date>
    <item>
      <title>Fetch data in packages from a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data-in-packages-from-a-table/m-p/8867393#M1686838</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 need to fetch data in certain packages from a sap table in a RFC function.&lt;/P&gt;&lt;P&gt;That means, each call of the function should send backa table with a certain number of rows.&lt;/P&gt;&lt;P&gt;The thing is, that it must be possible to call the function and just read some package from, let's say, the middle of a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have a table with 2 mio records and with each function call, I want to read a package of 100000 records.&lt;/LI&gt;&lt;LI&gt;The first call should result in the first 100000 records&lt;/LI&gt;&lt;LI&gt;the second call in a package of 100000 records, but from 100000 to 199999.&lt;/LI&gt;&lt;LI&gt;and so on....&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me, how to set a cursor to the last record of the last read package? then it would be possible to read the next package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You very much &amp;amp; best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 11:47:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data-in-packages-from-a-table/m-p/8867393#M1686838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-17T11:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch data in packages from a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data-in-packages-from-a-table/m-p/8867394#M1686839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not believe there is a solution to this when using a RFC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 15:31:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data-in-packages-from-a-table/m-p/8867394#M1686839</guid>
      <dc:creator>che_eky</dc:creator>
      <dc:date>2012-07-17T15:31:32Z</dc:date>
    </item>
  </channel>
</rss>

