Ansicht
Dokumentation
ABENCDS_ANNOTATIONS_SCOPES - CDS ANNOTATIONS SCOPES
Addresses (Business Address Services) PERFORM Short ReferenceThis documentation is copyright by SAP AG.
- Scopes for Annotations
Annotations can be specified in ABAP CDS source code for the following scopes by using annotation syntax. The scopes in which an annotation can be specified are determined with the @Scope annotation in the corresponding annotation definition.
- in front of the statement DEFINE ANNOTATION
- Entity annotations for a CDS entity
- in front of the statements DEFINE VIEW ENTITY, DEFINE VIEW ENTITY AS PROJECTION, DEFINE TABLE FUNCTION, DEFINE HIERARCHY, DEFINE CUSTOM ENTITY, DEFINE ABSTRACT ENTITY, DEFINE VIEW.
- View annotations for a CDS view. View annotations are subdivided into:
- View entity annotations in front of the statement DEFINE VIEW ENTITY
- Projection view annotations in front of the statement DEFINE VIEW ENTITY AS PROJECTION
- DDIC-based view annotations in front of the statement DEFINE VIEW
- Which view annotation can be used where is not governed by the @Scope annotation, but is documented for each DEFINE statement.
- in front of the statement EXTEND VIEW or EXTEND VIEW ENTITY
- in front of the statement DEFINE TABLE FUNCTION
- in front of the statement DEFINE HIERARCHY
- Parameter annotations for a parameter of a CDS view
- in front of and after the parameter
- Parameter annotations for a parameter of a CDS table function
- in front of and after the parameter
- Parameter annotations for a parameter of an CDS custom entity
- in front of the parameter
- Parameter annotations for a parameter of an CDS abstract entity
- in front of the parameter
- Element annotations for an element of the SELECT list of a CDS view
- in front of and after the element
- Element annotations for an element in the element list of a CDS table function
- in front of and after the element
- in front of the statement ANNOTATE
- In the statement DEFINE SERVICE
- Role annotations for a CDS role
- in front of the statement DEFINE ROLE
- in front of the statement DEFINE PFCG_MAPPING
The ABAP annotations that are possible for a scope are documented under ABAP annotations. For framework-specific annotations by SAP, see the tables in the document Framework-specific annotations.
Note
The annotations specified in the source code of a CDS entity can be annotated or overridden using the annotations of CDS metadata extensions.
CL_GUI_FRONTEND_SERVICES - Frontend Services TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 11699 Date: 20240424 Time: 183956 sap01-206 ( 77 ms )