SAP CDS F1 ABSENT LIST ANNOTATION



Get Example source ABAP code based on a different SAP table
  



ABAP_CDS_DDL - DEFINE ABSTRACT ENTITY, element_annot

ABAP_SYNTAX
... @annotation ...

What does it do?
Specifies an annotation annotation in the definition of an element or CDS association of an CDS abstract entity as element annotation. The character @ must be placed directly in front of the name annotation of the annotation. In a CDS abstract entity, element annotations can only be specified in front of an element or a CDS association and not specified after it using @ < .
The elements and CDS associations of CDS entities can be assigned to the element annotations grouped under element_annot.

ABAP_EXAMPLE_VX5
The following DDL source code shows a CDS abstract entity with element annotations:
DDLS DEMO_CDS_ABSTRACT_ENTITY_ELEM
The class CL_DEMO_CDS_ABSTRACT_ENTITY_EL shows that the element annotations of the CDS abstract entity can be evaluated using the class CL_DD_DDL_ANNOTATION_SERVICE. In this case, there are also derived annotations for the data element used for typing and annotations from a CDS metadata extension. The metadata extension is specified as an example for ANNOTATE ENTITY.
ABAP_EXAMPLE_END