cancel
Showing results for 
Search instead for 
Did you mean: 

Level Hierarchy in CDS to be consumed by Smart Tree Table

kapilkarwa
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (0)