Application Development 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: 

Error TSV_TNEW_PAGE_ALLOC_FAILED caused by Function CHANGEDOCUMENT_READ

Former Member
0 Kudos

Hi,

I met the error TSV_TNEW_PAGE_ALLOC_FAILED when I call the function CHANGEDOCUMENT_READ.

However, I only import a day , a table and a objectclass.

CALL FUNCTION 'CHANGEDOCUMENT_READ'

EXPORTING

date_of_change = c_day

objectclass = c_class

tablename = c_table

date_until = c_day

TABLES

editpos = i_editpos

EXCEPTIONS

no_position_found = 1

wrong_access_to_archive = 2

time_zone_conversion_error = 3

OTHERS = 4.

And when I debug it, I found it get very huge data(Both CDHDR and CDPOS have more than 500,000 records).

Any suggestion will be helpful.

Thanks,

Franklin

1 REPLY 1

Former Member
0 Kudos

It looks like you will read to call it multiple times including the parameters TIME_OF_CHANGE and TIME_UNTIL, But this will be very time consuming.

Check the documentation on these two parameters.

Rob