3 weeks ago
Hello,
I would like to create an OData V2 using SEGW so that I can populate the output data using ABAP code. At the same time, I would like to use this output to create a KPI using the "Manage KPIs and Reports" Fiori app. However, as it is described in the SAP KBA 2595272, it must have data aggregation enabled (sap:semantics="aggregate" in the Entity Type metadata).
In CDS I would be able to do this using annotations as described here: OData V2 Interpretation of Aggregation Annotations. However, in the sample CDS that allows you to create a KPI (C_EWM_WarehouseTaskQ_2), there is no such annotation. I assume that since it is an analytics query, it might be enough to automatically create these annotations in the metadata. Am I right?
In OData V2 created with SEGW, I was able to find that you can add annotations after selecting the Generation Strategy "2 Service with Vocabulary-Based Annotations". However, these annotations are quite different from what can be found in the CDS views. Therefore, I am struggling trying to find a solution to the problem described above, how to add the aggregation to an Entity Type and thanks to this be able to select the related Entity Set for KPI creation. I was able to find some documentation describing the Vocabularies available in SEGW, but I couldn't get it to work: OData Vocabularies
Could you please help me to configure these annotations? Thanks in advance.
User | Count |
---|---|
83 | |
11 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.