cancel
Showing results for 
Search instead for 
Did you mean: 

Tree Table (read-only) in ABAP Restful

davidgbarbero
Participant
0 Kudos

Hello all,

I am trying to implement an ABAP Restful Odata service with an entity which will be shown in a hierarchical manner (in a TreeTable type SmartTable). I have done this many times before with a regular SEGW Odata service and some annotations in the MPC_EXT class.

Is it possible to create a Tree Table from an entity created in ABAP Restful? I do not seem to find any kind of example or documentation about it.

Any input wil be much appreciated.

Thank you!

View Entire Topic
gregorw
Active Contributor
0 Kudos

Hi David,

in the BTP ABAP Environment this feature is now supported: Implementing Hierarchies.

CU
Gregor

vikasmatha12
Explorer
0 Kudos

Hi @Andre_Fischer ,

Can we achieve this Tree Hierarchy in S4 Hana On-Prem or PCE as well using Fiori Elements. Thanks.

wolfgangkrantz
Discoverer
0 Kudos
In 2023 On Premise it works too. Just allow this in CL_SADL_ALLOW_LISTS for HIERARCHY_SCENARIO. In BAS/VS Code change the manifest entry to "TreeTable", "hierarchyQualifier": "<your_cds_hierarchy_view_entity>" Eclipse Preview don't work in 2023