Skip to Content
0
Jan 03, 2023 at 02:30 AM

Service Binding - Fiori Element App Preview Only Loads 20 records.

320 Views Last edit Jan 03, 2023 at 02:57 AM 3 rev

As title says:

  1. I created a Custom Entity with custom RAP class
  2. Then I exposed it via "Service Definition"
  3. Then I bound the service via "Service Binding"
  4. I ran the Fiori Element App Preview which is available after publishing the service in "Service Binding"

Issue:

1. When pressing Go button, which should fetch all data, the preview app only query 20 records

$skip=0&$top=20&<br>

screenshot.png

Scrolling down doesn't fetch the next 20 records. I'm handling the top & skip from my custom RAP class:

SELECT (lv_select_string) FROM /dmo/customer
WHERE (dyn_clause)
ORDER BY (lv_orderby_string)
INTO CORRESPONDING FIELDS OF TABLE @lt_result
UP TO @lv_top ROWS
OFFSET @lv_skip.

Not sure of it's a limitation of the Preview Fiori, or there is a way to force it to use auto growing in List Report.