Ansicht
Dokumentation

ABENCDS_ANNOTATIONS - CDS ANNOTATIONS

ABENCDS_ANNOTATIONS - CDS ANNOTATIONS

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

- Annotations

A CDS annotation enriches CDS objects with metadata. It can be specified in fixed annotation syntax for specific scopes of a CDS object, namely specific places in a piece of CDS source code.

CDS annotation definitions can be used to create CDS annotations themselves as CDS objects. A definition of this type specifies exactly how it is specified as part of the annotation syntax in CDS source code. The naming and software component of an annotation definition also expresses the semantics of the annotation. This includes annotation documentation containing further information about the meaning of the annotation and its environment.

The metadata specified by annotations is saved internally when a CDS object is activated. The system class CL_DD_DDL_ANNOTATION_SERVICE is used to evaluate the annotations of CDS entities.

Only those annotations should be specified that have an annotation definition and the way they are specified should follow the rules in the definition. SAP delivers a set of predefined SAP annotations.

Note

Currently, only those SAP annotations predefined by SAP should be used.

  • Only those annotations should be specified in CDS source code for which an annotation definition exists.
  • Partners and customers cannot currently define their own annotations.





Addresses (Business Address Services)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3059 Date: 20240329 Time: 153359     sap01-206 ( 39 ms )