Hey Clemens,
For your kind information I have not declared range table I have declared an internal table of type like range table.
I think you may know, an range table declared by your code
" DATA rtab {TYPE RANGE OF type}|{LIKE RANGE OF dobj} " with more than 2000 entries will give dump if it is been used for fetching data from DB.
In my code I have declared Internal table like range table type. In this way the internal table can be used as like range table and it also increases the data limit from 2000 to around 15000 while fetching data.
And I am well aware for ABAP syntax and coding.
Kindly first check and for any further clarification do let me know.
Regards
M Nair