Cds_Field_Annotation

DDL: CDS_FIELD_ANNOTATION SQL: CDSFIELDANNO Type: view

CDS Field Annotations

Cds_Field_Annotation is a CDS View that provides data about "CDS Field Annotations" in SAP S/4HANA. It reads from 1 data source (Cds_Field_Annotation_Position) and exposes 6 fields with key fields CDSName, FieldName, AnnotationName. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
Cds_Field_Annotation_Position Cds_Field_Annotation_Position from

Associations (1)

CardinalityTargetAliasCondition
[1..1] Cds_Field_Annotation_Position _CdsFieldAnno $projection.CDSName = _CdsFieldAnno.CDSName and $projection.FieldName = _CdsFieldAnno.FieldName and $projection.ActualPosition = _CdsFieldAnno.ChangedPosition

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName CDSFIELDANNO view
EndUserText.label CDS Field Annotations view
ObjectModel.usageType.serviceQuality #P view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CDSName Cds_Field_Annotation_Position CDSName DD: Name of a structured object (e.g. entity, context)
KEY FieldName Cds_Field_Annotation_Position FieldName UI Group FieldName
KEY AnnotationName Cds_Field_Annotation_Position AnnotationName Zone name
AnnotationValue Cds_Field_Annotation_Position AnnotationValue Value from table
ActualPosition Cds_Field_Annotation_Position ActualPosition Test Position
NextAnnotationName _CdsFieldAnno AnnotationName Zone name

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view Cds_Field_Annotation.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CDSFIELDANNO

CREATE VIEW Cds_Field_Annotation AS
SELECT
  Cds_Field_Annotation_Position.CDSName AS CDSName,
  Cds_Field_Annotation_Position.FieldName AS FieldName,
  Cds_Field_Annotation_Position.AnnotationName AS AnnotationName,
  Cds_Field_Annotation_Position.AnnotationValue AS AnnotationValue,
  Cds_Field_Annotation_Position.ActualPosition AS ActualPosition,
  _CdsFieldAnno.AnnotationName AS NextAnnotationName
FROM Cds_Field_Annotation_Position
LEFT OUTER JOIN Cds_Field_Annotation_Position AS _CdsFieldAnno ON CDSName = _CdsFieldAnno.CDSName AND FieldName = _CdsFieldAnno.FieldName AND ActualPosition = _CdsFieldAnno.ChangedPosition  -- association [1..1]
;