Skip to content

ABAP Keyword Documentation →  ABAP - Dictionary →  ABAP CDS in ABAP Dictionary →  ABAP CDS - Annotations →  ABAP CDS - Specifying Annotations →  ABAP CDS Metadata Extensions →  ABAP CDS - DDL for Metadata Extensions →  ABAP CDS - ANNOTATE ENTITY, VIEW 

ABAP CDS - ANNOTATE, parameter_list

Other versions: 7.31 | 7.40 | 7.54




Specifies annotations for the following parameters:

The parameters in a CDS metadata extension introduced using ANNOTATE. A comma-separated list pname1, pname2, ... prefixed with annotations @parameter_annot can be specified after PARAMETERS. There must not be comma after the last element of the list.

Each parameter pname specified after PARAMETERS should appear in the parameter list of the entity extended using ANNOTATE. If not, the syntax check produces a warning. All parameters defined there can be used exactly once. Valid SAP annotations @parameter_annot can be specified before these as parameter annotations. It is not possible here to specify annotations after the name of a parameter pname with the syntax @<parameter_annot.

At least one parameter pname of the extended entity must be specified after PARAMETERS. At least one parameter annotation @parameter_annot must be specified before each parameter of the list. If this is not the case, PARAMETERS cannot be used.


  • A parameter must be specified directly with its name. It cannot be specified using the syntax :pname or $parameters.pname, which is used within the entity for its addressing.

  • A parameter that is not in the parameter list of the entity is handled like a normal parameter in the evaluation of annotations with the class CL_DD_DDL_ANNOTATION_SERVICE.

  • The program ABAP_DOCU_MDE_ANNOS shows all annotations that can be specified in metadata extensions.