cancel
Showing results for 
Search instead for 
Did you mean: 

SetSizeLimit not working with Abap Restful Odata Model

davidgbarbero
Participant
0 Kudos

Hello experts!

I have developed an OData V2 Abap Restful Model (RAP) and I am facing an issue I never had before with an Odata Model developed through SAP GW.

I am trying to set the model size limit to more than 100 (500 entries) but when requesting data, the answer is always bringing back a limit of 100 entries.

I have a treetable with operation Client and I want to load all entries at once (more than 100), but this approach is not working.

How do I set a model size limit with RAP?

Thank you very much

View Entire Topic
junwu
Active Contributor
0 Kudos

check what odata call is asking

davidgbarbero
Participant
0 Kudos

The OData call is asking for the entity set with no $top or $skip parameter

GET C60?sap-client=101 HTTP/1.1

The model size limit is set to 1000, but the answer to this request has a skip token, so I am guessing this parameters are set in the backend.