Skip to Content

Level Hierarchy in CDS to be consumed by Smart Tree Table

We are developing Level Hierarchy in CDS to be consumed by Smart Tree Table, but not getting how can we set levels in hierarchy in CDS as annotations are available for parent child relation.

We have two cds dimension views:

1. ProfitCenter ( ProfitCenterName and ProfitCenterCode)

2. JournalEntry ( ProfitCenterCode , GLNumber and GLAmount)

We want GLNumber to be child of ProfitCenterName and GLAmount as aggregation amount for ProfitCenter.

Can we do level hierarchy in CDS. if yes then how, as we need OData generated via CDS Consumption view to consumed directly in our SAPUI5 smart Table.

Note: CDS is been developed via SAP Hana Studio in ABAP Prespective

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers