Skip to content

ABAP Keyword Documentation →  ABAP - Dictionary →  ABAP CDS in ABAP Dictionary →  ABAP CDS - Access Control →  ABAP CDS - DCL Statements →  ABAP CDS - DEFINE ROLE →  ABAP CDS - DEFINE ROLE, condition 

ABAP CDS - DEFINE ROLE, Left Side Host Expressions

Instead of an element of the protected CDS entity, one of the following expressions can be used on the left side of literal conditions, PFCG conditions, and user conditions:

  • The actual value of a parameters of the CDS entity replaced by $parameters.pname

Conditions with left side host expressions are evaluated before the expression is passed to the database and evaluate as a true or false predicate.


  • The operators LIKE and NOT LIKE are mapped to the relational operator for character-like data type CP. This enables non-case-sensitive pattern searches.
  • Left side host expressions cannot be used on the left side of PFCG mappings or generic aspects.

Other versions: 7.31 | 7.40 | 7.54


Runtime support for session variables and literals on the left side is an indirect consequence of inheritance with parameter replacement and also exists in DCL source code (for reasons of consistency). Direct use is not recommended.