SAP CDS F1 ANNOTATE VIEW PARA LIST



Get Example source ABAP code based on a different SAP table
  


• PARAMETERS ABAP_CDS_ANNOTATE_VIEW

ABAP_CDS_DDL - ANNOTATE, parameter_list

ABAP_SYNTAX
... PARAMETERS
@parameter_annot1
$[@parameter_annot2
...$]
pname1$[,
@parameter_annot1
$[@parameter_annot2
...$]
pname2,
...$]

What does it do?
Specifies annotations for the following parameters:
Parameter list of an CDS abstract entity
Parameter list of a CDS view entity
Parameter list of a ABAP_CDS_V1_VIEW
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.



Latest notes:

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 (parameter passing in CDS view entities is described here , parameter passing in ABAP_CDS_V1_VIEWS is described here).
The program ABAP_DOCU_MDE_ANNOS shows all annotations that can be specified in metadata extensions.
NON_V5_HINTS
Parameter annotations can be specified here only if this is allowed in their annotation definition using the annotation @MetadataExtension.usageAllowed:true.
A parameter that is not in the parameter list of the entity is handled like a regular parameter in the evaluation of annotations with the class CL_DD_DDL_ANNOTATION_SERVICE.
ABAP_HINT_END