4 weeks ago
Hi,
We need to consume a parameterized view in CAP Node.js (which under the hood is a HANA Calculation View) in a Fiori Elements for oData v4 "AnalyticalTable" application.
We find documentation for how to do this in oData v2: https://sapui5.hana.ondemand.com/sdk/#/topic/8e3b6be7128344e9bdcfceb3219f0de7
XML based annotations here: https://sapui5.hana.ondemand.com/sdk/#/topic/4bd7590569c74c61a0124c6e370030f6.html#loio4bd7590569c74...
ABAP CDS examples here: https://community.sap.com/t5/technology-blog-posts-by-members/sap-fiori-list-report-utilizing-cds-vi...
But we do not find documentation, guides or examples for how to do that with CAP. The view looks like this
@CDS.persistence.exists
@cds.persistence.calcview
entity MyView(IP_MYPARAM::MY_PARAM) {
@analytics.Dimension: true
key MyDimension : String;
@analytics.Measure: true
@Aggregation.default: #SUM
MyMeasure : Decimal;
}
Does anyone have a working sample or other guidance?
Thanks in advance!
//Carl
Request clarification before answering.
User | Count |
---|---|
24 | |
22 | |
8 | |
5 | |
5 | |
4 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.