Skip to content

ABAP Keyword Documentation →  ABAP - Dictionary →  ABAP CDS in ABAP Dictionary →  ABAP CDS - Annotations 

ABAP CDS - Definition of Annotations

The CDS annotations that can be specified in CDS source code can be dictated by CDS annotation definitions. A CDS annotation definition defines a CDS annotation as a CDS object. It describes how this annotation is intended to be used in CDS source code. The description covers the following:

An annotation is defined in a separate piece of DDLA source code and is transported with this code. DDLA source code for annotation definitions can define precisely one identically named CDS annotation using the CDS DDL statement DEFINE ANNOTATION (this annotation can, however, be the main annotation of subannotations). DDLA source code of this type can only be edited in the ABAP Development Tools (ADT) DDLA source code can also be displayed in Repository Browser in ABAP Workbench.

Other versions: 7.31 | 7.40 | 7.54


Notes

  • Customers and partners cannot currently define their own annotations. Only SAP annotations should currently be used.

Continue

ABAP CDS - DDL for Annotation Definitions