Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Fetch data in packages from a table

Former Member
0 Likes
538

Hi,

I need to fetch data in certain packages from a sap table in a RFC function.

That means, each call of the function should send backa table with a certain number of rows.

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.


Example:

  • I have a table with 2 mio records and with each function call, I want to read a package of 100000 records.
  • The first call should result in the first 100000 records
  • the second call in a package of 100000 records, but from 100000 to 199999.
  • and so on....

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.

Thank You very much & best regards,

Michael

1 REPLY 1
Read only

che_eky
Active Contributor
0 Likes
474

I do not believe there is a solution to this when using a RFC.