Ansicht
Dokumentation

ABENCDS_F1_DCL_ASPECT_ANNOTATIONS - CDS F1 DCL ASPECT ANNOTATIONS

ABENCDS_F1_DCL_ASPECT_ANNOTATIONS - CDS F1 DCL ASPECT ANNOTATIONS

ABAP Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

ABAP CDS - DEFINE ACCESSPOLICY, aspect_annot

Syntax

... @annotation ...

Effect

Specifies an annotation annotation in the definition of an access policy before the definition of an aspect with DEFINE ASPECT. The character @ must be placed before the name annotation of the annotation. The table below shows the possible ABAP annotations that can be specified, and their meanings. All other annotations are user-defined annotations.

annotation value Default Value Meaning
EndUserText.label Character string with a maximum of 80 characters - Short text describing the aspect

Note

Aspects and access policies are not currently implemented, since there is no tool available for assigning assignment roles.

Example

Defines an aspect aspacmtst_country with the annotation @EndUserText.label whose text can, for example, be displayed to consumers on the interface.

@EndUserText.label: 'Country code of an employee'
aspect aspacmtst_country as
  SELECT FROM sacm_cds_snwd_ad { country }
    WHERE $User IN toemployee.login_name;






Addresses (Business Address Services)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2674 Date: 20240418 Time: 160230     sap01-206 ( 29 ms )