on 08-31-2020 12:47 PM
I have an odata service with an entityset Employee. I binded this entityset in my ui5 app in a table. Now the problem is that I get different sets everytime. When I test it in SAP GW, it works perfectly. I have 10 entries and everytime I call the get method, I receive all my 10 entries, but in my ui5 view, I get random entries. For example one time I get 7 out of 10, one time all of them, one time 5 out of 10 and so on. It is never the same. Do you know why this can happen?
yeah Right it shouldn’t affect. Then next what i you can do is run Odata URI from network tab directly into gateway and check how many records you are getting. Also try to debug in backend logic might be getting filtered on some criteria may be roles specific or user specific.
Thanks,
Dhiraj M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Normally result-set for odata call differs based on filters or client side paging(skip,top). Just check the Url by pressing F12(inspect element) and check odata uri in network tab. You will get the clue there only.
Thanks,
Dhiraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.