Skip to content

ABAP Keyword Documentation →  ABAP - Dictionary →  ABAP CDS in ABAP Dictionary →  ABAP CDS - Access Control →  ABAP CDS - DCL Statements 

ABAP CDS - DCL Restrictions for ABAP CDS - Hierarchies

CDS hierarchies can be protected using access control. It must be guaranteed, however, that individual rows are not filtered out if they are part of a logical block in the hierarchy construction. Otherwise the hierarchies constructed by the database could be destroyed and hierarchy operators produce undefined results.

For this reason, access controls only allow language elements in CDS hierarchies whose effects are not specific to rows. This means the following are allowed:

  • PFCG conditions without fields ( ( ) = ASPECT PFCG_AUTH( ... ) )
  • Conditions under exclusive use of left side host expressions. This enables protection for a CDS hierarchy using the hierarchy directory specified by a parameter.
  • The special conditions TRUE, FALSE, and VOID. These should not, however, be used directly in CDS access controls.

Other versions: 7.31 | 7.40 | 7.54