Skip to content

ABAP Keyword Documentation →  ABAP - Dictionary →  ABAP CDS in ABAP Dictionary →  ABAP CDS - Data Definitions →  ABAP CDS - DDL for Data Definitions →  ABAP CDS - EXTEND VIEW 

ABAP CDS - EXTEND VIEW, extension_annot

Other versions: 7.31 | 7.40 | 7.54

Syntax

... @annotation ...

Effect

Specifies an annotation annotation as an extension annotation in the definition of a CDS view extension before the statement EXTEND VIEW. The character @ must be placed in front of the name annotation of the annotation. The annotation should be defined as a CDS object in a CDS annotation definition and the annotation definition annotation @Scope should be specified here using the value #EXTEND_VIEW.

The following tables show the possible ABAP annotations that can be specified and their meanings. The ABAP annotations are evaluated by the ABAP runtime environment for every CDS entity. Annotations with other identifiers are usually framework-specific annotations. These are not evaluated by the ABAP runtime environment but by other SAP frameworks instead.

The first column of the table displays the (possibly structured) name annotation of an ABAP annotation and the second column displays its meaning. The third column shows the possible annotation values. The fourth column shows the value set implicitly for the annotation value if the annotation is not used explicitly. The fifth column displays the default value set implicitly for value in accordance with the annotation definition if the annotation is specified without a value. If nothing is specified for the annotation value, the annotation should be specified without a value.

AbapCatalog Annotations

Technical settings of a CDS view extension.

Annotation Meaning Annotation Values Default Value if Not Used Default Value if Used Without Value
AbapCatalog.sqlViewAppendName Name of the append view of the CDS view extension Character string with a maximum of 16 characters consisting of letters, numbers and underscores and that starts with anamespace prefix. - -


Notes

  • Each definition of a CDS view extension must contain the ABAP annotation AbapCatalog.sqlViewAppendName that defines the name of the append view in ABAP Dictionary.

  • The name given to the append view can no longer be changed after the CDS view extension is transported into a follow-on system.


This translation does not reflect the current version of the documentation.