Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Row based security using hierarchies

$
0
0

Hi,

      I am working on designing a calculation view that requires row based security using hierarchical relations. Here is the scenario...

 

CV1: Is a calculation view of type CUBE that has all the facts/measures and has Cost Center.

CV2: Is a DIMENSION calculation view that has a flat structure of the Cost Center hierarchy i.e. it has a column for CostCenter (child) and Parent_CostCenter(parent). The Cost Center hierarchy reflects the hierarchy in SAP, where one or more cost centers roll up in to higher level Cost Centers. The hierarchy has multiple levels.

CV3: Join CV1 and CV2 on CostCenter

 

Each reporting user is assigned a Cost Center.

 

The CV3 is a reporting calculation view that requires row based security on Cost Center i.e. The analytical privileges should pick the CostCenter of the user logged in and show only that data which belongs the user's CostCenter and the child CostCenters based on the hierarchy.

 

I thought of defining a parent-child hierarchy and enable the SQL access. But this works only for the CVs with a Star join which will join only the DIMENSION calculation views. But my CV1 is a CUBE calculation view, so I cannot go about using the SQL access for the hierarchy.

 

Any thoughts?


Viewing all articles
Browse latest Browse all 5653

Trending Articles