Skip to Content
0

Filter query not working in fiori offline app

Aug 29, 2017 at 02:24 PM

42

avatar image
Former Member

Offline configuration in sap mobile services

[endpoint]
Name=com.zhex.fiori.offline
prepopulate_offline_db=Y
prepopulate_offline_db_interval=1440

[defining_request]

name=FunctionLocSet?$filter=Planning_plant eq '1000'

is_shared_data=Y
refresh_interval=15
track_deltas=AUTO
delta_token_lifetime=0

In manifest.json file

"sap.mobile": { "_version": "1.1.0", "definingRequests": { "FunctionLocSet": { "dataSource": "mainService", "path": "/FunctionLocSet?$filter=Planning_plant eq '1000'" } } }

Data is not loading in the generated app, but it working in online version .

If filters is removed as below, data is loading in the app.

[defining_request]

name=FunctionLocSet

If any has faced this issue below are the versions used.

SAP HAT version 1.28.2

SAP SDK - sp15

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers