on 12-18-2019 3:24 AM
Hi and greeting all masters,
Need help upon my first integration between SAPUI5 application with ASP.Net OData API.
I've develop ASP.Net API using latest version, but have downgrade it to version 2 to make sure it work with SAPUI5. The data source defined in manifest have been recognize perfectly.
During binding into table, SAPUI5 have request my odata api $batch frequently and not stop. I've take sample from SAPUI5 demo kit which using Nothwind svc as odata datasource.
Photos to describe whats is the problem
Can you master-master help me on this issue and possibility what have cause it
Thanks you very much for your kind helps
Hi,
Can you check your model settings?
There should be a "useBatch" property set to false if you want to prevent that call.
Referring to : https://answers.sap.com/questions/152808/how-to-stop-batch-call-is-odata-v2-version-in-sap-.html
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abdel,
I've try that. useBatch = false, but then the request changes to skip=0&take=0 request. Still same behavior, which is keep requesting from the OData server.
Now, i've change the way to grabs the data by using ajax request within the controller. I thinks, this problem is reside in our OData api. Because, by using Northwind services, same request working fine, which is just on call of request. By using our own OData api, the sap keep requesting the api.
Anyway, thanks Abdel for your response
User | Count |
---|---|
65 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.