Skip to Content
0
Former Member
Jun 13, 2018 at 09:40 AM

SAPUI5 Table bound to OData Service - Only retrieves 500 entries

188 Views

Hi Community,

I have a SAPUI5 application that displays data from an Odata service in a sap.m.Table. Everything was fine as long as I had less entries than 500 which seems to be a limit, because it is not retrieving any further entries. How can I change that?

I would be fine by only displaying the 500 most recent entries, but right now, I get the 500 least recent ones. The data is from SAP's IoT service by the way.

This is how I bind the table to the Odata service. I tried to include "orderBy" in the path, but that didn't work at all.

<Table id="table" width="auto" items="{ path: '/T_IOT_8FD62A267991E0349BDE', sorter: { path: 'C_TRAININGDATE', descending: true}" growing="true" growingScrollToLoad="true">

Do you have any ideas how to either change the limit or retrieve the recent entries?

Thanks in advance!