on ‎2020 Aug 11 6:49 AM
Requesting suggestion on a design perspective for an analytical list page . Since there is no BOPF involved in it, I cannot manipulate data, I need to display 70 columns in an analytical list page using Fiori elements. Out of 70 Columns only 5 columns are static values and rest 65 are calculated values. What should be the best design approach in this case for VDM designing ?
I could think of three ways here,
Regards
Mohinder
Request clarification before answering.
1. You can have a single class to handle this, check this api documentation, there you can find that you have something called entity name and in filters, you even have element name. -> this will only work with odata service query, if you access the view data via select query, it wil not work. And also note, if you are having any analytical table or aggregations, this will not work . (not sure somthing has been changed in the latest versions), you can check by adding any analytical annotation to the view.
2. Table functions are good, you can use them, but make sure they are optimized(performance) properly else, the view read will take more time. -> This will work even while directly accessing the view data in select query and in odata service.
3. This is really not a good idea, If possible, update the table column(which is part of the cds view) when the data is created, running a background job to update is not a good idea and like you said the data will not be real time.
You can use the above points while deciding the aproach.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks Mahesh,
1st Option: I am going to have the analytical list page where aggregation would be done on few columns to present the KPIs.
How different it would be if I create a SEGW project use CDS view, do the manipulation in DPC's versus publishing it directly through @Odata in CDS view and using Virtual Elements?
Regards
Mohinder
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.