on 01-05-2024 9:55 AM
Hello Experts,
I am trying to create Hierarchy report using CDS annotation & Fiori Elements. I found this documentation where below annotation has been used to refer Hierarchy CDS view definition but seems only works for cloud.
https://help.sap.com/docs/abap-cloud/abap-rap/implementing-hierarchical-view
@OData.hierarchy.recursiveHierarchy:[{ entity.name: '/DMO/I_EmployeeHN_HR' }]
Is there any similar kind of annotation available to refer the Hierarchy CDS view in S4HANA OP system ? if not, is there any other way we can achieve this behavior ?
Thanks a lot.
I can relate to what Muthu is saying. I am currently on S/4HANA on-premise 2023 version and am getting the following error on eclipse. I am quite confident that the underlying hierarchy implementation, consumption/interface views etc are following the correct annotations etc. I even tried implementing the CDS views/hierarchies/SD/SBs from Dominik Eira Elias's session on Hierarchy Support in RAP to the letter.
Error during compilation. See next line for details.Error in entity 'XXXX(CDS)': Hierarchy for view XXXX is not supported
If it helps, these are the software component versions on my on-prem system
SAP_BASIS 758
SAP_ABA 75I
SAP_GWFND 758
SAP_UI 758
Perhaps @Andre_Fischer or @dominik_ee could comment 🙂
Regards,
Tharindu W
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
8 | |
6 | |
6 | |
6 | |
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.