Ansicht
Dokumentation

ABENCDS_F1_CUSTOM_ELEMENT_ANNO - CDS F1 CUSTOM ELEMENT ANNO

ABENCDS_F1_CUSTOM_ELEMENT_ANNO - CDS F1 CUSTOM ELEMENT ANNO

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

- DEFINE CUSTOM ENTITY, element_annot

... @annotation ...

Effect

Specifies an annotation annotation in the definition of an element or CDS association of an CDS custom entity as element annotation. The character @ must be placed directly in front of the name annotation of the annotation. In a CDS custom entity, element annotations can only be specified in front of an element or a CDS association.

All element annotations described in topic CDS DDL - element_annot can be used to annotate elements and associations in a CDS custom entity.

Example

The following DDL source code shows a CDS custom entity with element annotations:

The program DEMO_CDS_CUSTOM_ENTITY_ELEM shows that the element annotations of the CDS custom entity can be evaluated using the class CL_DD_DDL_ANNOTATION_SERVICE. The result set contains not only the direct element annotations, but also derived annotations which are defined for the data element used for typing.






ROGBILLS - Synchronize billing plans   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2205 Date: 20240418 Time: 120719     sap01-206 ( 33 ms )