Ansicht
Dokumentation

ABENCDS_DCL_ROLE_RULES - CDS DCL ROLE RULES

ABENCDS_DCL_ROLE_RULES - CDS DCL ROLE RULES

General Material Data   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

- DEFINE ROLE, access_rules

1. ... conditional_rule$|grant_rule
     $[conditional_rule$|grant_rule$]
      ...


2. ... inherited_rule
     $[conditional_rule$|grant_rule$]
     $[conditional_rule$|grant_rule$]
      ...


Effect

Access rules that can be specified in curly brackets in the statement DEFINE ROLE to define a CDS role in CDS DCL. Each access rule defines access to a CDS entity. There are three types of access rule:

  • Full access rules grant_rule that grant unrestricted access

Multiple access rules can be combined in a single CDS role, but an inherited access rule inherited_rule can only occur once.

The access conditions defined by the individual access rules are joined with a logical "or". In the same way, the access rules defined by different CDS roles for a CDS entity are joined by a logical "or".

Note

It is advisable to use only one access rule in a CDS role.






PERFORM Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3490 Date: 20240329 Time: 133335     sap01-206 ( 27 ms )