Skip to Content

CDS View Restrict Hierarchy with Certain Default Nodes

Mar 13 at 07:01 AM


avatar image

Hello Friends,

I am trying to restrict My CDS view with certain nodes say for only profit and loss.

I am getting complete hierarchy in Fiori but unable to restrict it with certain nodes.

As you can see in screenshot, I am getting complete Hierarchy. Balance sheet, Profit & Loss, etc. I just want it to be restricted for Profit and Loss (Z010/03000000) Unable to find any annotation for the same.

Can some one guide me how to do that.



hier-cds.jpg (46.1 kB)
hier.jpg (101.8 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Tatjana Lisovskaja 2 days ago


Try using annotation @Consumption.filter.defaultHierarchyNode, example 9 from

Sample below is relater to Internal Order custom CDS view, which Hierarchy Node is taken from table


hrrp_node.hryid - InternalOrderHierarchy,

substring( hrrp_node.hrynode, 8, 35 ) - HierarchyNode

10 |10000 characters needed characters left characters exceeded