on 2025 Jun 12 6:10 AM
Hi All,
I'm working on creation of Query CDS which is used in SAC/AFO for building dashboards. In this we want to Implement a Hierarchy in a particular field I have created a custom table where I have maintained the hierarch nodes accordingly.
I want consume this hierarchy through the CDS to AFO/SAC.
I have tried using annotations in base cube like this ,
I defined the hierarchy in a cds with self association. and through annotations I imported the hierarchy on field called ZdimGrpaccnt.
Then I consumed this CDS in a Query CDS.
While consuming it in AFO the hierarchy is not enabled on the column.
Also I tried through define hierarchy Approach. It is also not working
While testing the hierarchy through the Class and table function, I'm getting the hierarchy as needed.
Can Somebody please suggest how to achieve hierachy in AFO/SAC in this scenerio.
please provide some detailed steps of what needs to be done.
Many Thanks in Advance,
Regards,
Arasu
Request clarification before answering.
Hello @THENNARASU @gowripujithakapu
I'm not sure, but it seems, you have not found this support page?
https://wiki.scn.sap.com/wiki/display/BI/Using+Hierarchy+in+CDS
It seems in your Query cds view, you are missing the annotation: @Consumption.filter.selectiontype: #HIERARCHY_NODE
Hopefully, you find some more helpful information there?!
BR, Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In mycase, it worked by using standard hierarchy cds node instead of custom one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.