cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to set Odata Server Side Pagination

hnguyen_kinaxis
Explorer
0 Likes
924

Hello,

We are trying to override the default server page size for some odata2 endpoint with pretty large dataset. 

https://community.sap.com/t5/integration-blog-posts/handling-large-data-with-sap-cloud-platform-inte...

But is there is something similar for other odata other than SuccessFactors?

  • We have tried to do this in IGM without success.
    SPRO
    -> ABAP Platform
    -> Application Server
    -> System Administration
    -> Maintain V2 Odata Customizing
    Set Paging size = 1000


What did we miss?

Regards,

Accepted Solutions (0)

Answers (1)

Answers (1)

hnguyen_kinaxis
Explorer
0 Likes

The issue is that in our SAP instance default $skiptoken is 100, which causes perfomance issues for large dataset. We are trying to find a way to bump it up to at least 50000 without success.

junwu
SAP Champion
SAP Champion
0 Likes
don't know what you are talking, if you want to have more data, just ask for more, why it is related to server page size?
hnguyen_kinaxis
Explorer
0 Likes
I can always have a complete data in chunks of 100 records each; which results in too many iterations. It would be nice to bump up the server page size in order to reduce the number of iterations.
junwu
SAP Champion
SAP Champion
0 Likes
then you just ask $top=500 to get 500 records, if it is properly implemented odata.
litox
Explorer
0 Likes
As long as I understand, if you are relying on $skiptoken (server-side pagination) then you cannot use the $top parameter (client-side pagination) just like that. Apparently the implementation applies first the $top and then the token, which is contrary to the standard..