What does it do? Defines a CDS access policy> access_policy> in the CDS DCL> to be used as a medium for further definitions. An ACCESSPOLICY> contains the definition of one of the following objects (which must have the same name as the access policy):
A PFCG mapping> DEFINE PFCG_MAPPING>>
A user-defined aspect DEFINE ASPECT>>. DEFINE ACCESSPOLICY> can be used to specify the optional annotation @access_policy_annot >> in front of the actual definition of the access policy.
Latest notes:
Separate DCL source code> must be created for each CDS access policy.
The DCL source code> of a CDS access policy must have the same name as this policy. NON_V5_HINTS ABAP_HINT_END