Get Example source ABAP code based on a different SAP table
ABAP_CDS - 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. BEGIN_SECTION VERSION 5 OUT 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. END_SECTION VERSION 5 OUT 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>.
Defining annotations>
Specifying annotations>
Evaluating annotations>
SAP annotations>
Latest notes: 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. NON_V5_HINTS ABAP_HINT_END