cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RAP Hierarchy - Building a Tree

HelgaRaemaekers
Participant
687

Hello,

I'm trying to build a tree in RAP Abap. I am on S/4 HANA 2023 ON-PREMISE system and I was able to make the connection with the annotation in entity ZR_C_TREE_VRAGENLIJST_R (projection view): 

@odata.hierarchy.recursiveHierarchy: [{ entity.name: 'ZR_H_TREE_HIERARCHY' }]

However, by making my Service Binding, based on the Service Definition, I'm getting following error :

"Error during compilation.  See next line for details.  Error in entity 'ZR_C_TREE_VRAGENLIJST_R(CDS): Hierarchy for view ZR_C_TREE_VRAGENLIJST_R is not supported"  

Is there something missing, or what can I do to make this work?

greets,

Helga

Accepted Solutions (0)

Answers (0)