on 2024 Jul 02 2:50 PM
Hello guys,
I'm facing an issue with my Fiori List Report App where it displays identical records, even though the underlying CDS View contains distinct data. I have verified that the data in the CDS View is correct, but the app still shows multiple rows with the same values for all fields. I suspect there might be a problem with data binding or the OData service configuration, but I haven't been able to pinpoint the exact cause.
As you can see on my screenshot from the CDS View, the data there is being read successfully from the database, but in the Fiori App it's not showing properly. Is there any annotation that I should add additionally for batching the data or what should I do so that it works?
Any help would be greatly appreciated!
Thank you!
Request clarification before answering.
The problem is the primary keys. They have to be unique for every row that is returned.
This should fix the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi hitesh2,
the issue was as you said in the primary key. Since I´ve chosen other primary key, the results are correct.
Thank you a lot for your response!
Best wishes
Angeliya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Angeliya, are those entries complete duplicates or only for the date/time?
Do you have duplicates for other times as well? Check out the binding of the rows with UI5 Inspector
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi and thank you for the fast response,
where exactly can I check the response from the OData ? Is it somewhere in the dev tools from the console ?
Thank you in advance !
Best wishes,
Angeliya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
11 | |
9 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.