SAP Knowledge Base Article - Preview

3735801 - Hierarchy for Vew is not supported when creating OData V4 Service Binding with @odata.hierarchy.recursivehierarchy in RAP

Symptom

  • Trying to create a hierarchy (tree structure) in a custom RAP report using native annotations.
  • The report is exposed as an OData V4 service with UI binding.
  • There is a need to display the data as a hierarchical tree based on one field that connects the records.
  • When adding the hierarchy annotation, the following error occurs: "Error in entity 'ZXXX(CDS)': Hierarchy for view ZXXX is not supported".


Read more...

Environment

SAP S/4HANA 2023

Product

SAP S/4HANA 2023

Keywords

rap, odata v4, service binding, hierarchy annotation, @odata.hierarchy.recursivehierarchy, sadl, hierarchy for view is not supported, error during compilation, on‑premise 2023, s/4hana 2025, publish service, eclipse abap development, recursive hierarchy , KBA , BC-ESI-ESF-BSA , Business Service Adaptation , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.