Cds_view_annotation_query

DDL: CDS_VIEW_ANNOTATION_QUERY SQL: CDSVIEWANNOQRY Type: view

CDS View Header Annotations

Cds_view_annotation_query is a CDS View that provides data about "CDS View Header Annotations" in SAP S/4HANA. It reads from 1 data source (Cds_View_Annotation_Position) and exposes 3 fields with key fields DDLSourceName, AnnotationName.

Data Sources (1)

SourceAliasJoin Type
Cds_View_Annotation_Position ddh from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName CDSVIEWANNOQRY view
EndUserText.label CDS View Header Annotations view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY DDLSourceName ddldependency ddlname
KEY AnnotationName Cds_View_Annotation_Position AnnotationName
AnnotationValue Cds_View_Annotation_Position AnnotationValue
@AbapCatalog.sqlViewName: 'CDSVIEWANNOQRY'
@EndUserText.label: 'CDS View Header Annotations'
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.serviceQuality:  #D
@ObjectModel.usageType.sizeCategory:  #M
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view Cds_view_annotation_query 

 as select from Cds_View_Annotation_Position as ddh

left outer to one join ddldependency
on ddh.CDSName = ddldependency.objectname
and ddldependency.state = 'A' and ddldependency.objecttype = 'STOB'
//and ddddlsrc.as4local = 'A'


 {
  key ddldependency.ddlname as DDLSourceName, 
  key ddh.AnnotationName as AnnotationName,
  ddh.AnnotationValue as AnnotationValue
}where ddldependency.ddlname is not null and ddh.AnnotationName != '' and ddh.AnnotationValue != ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"CDS_VIEW_ANNOTATION_POSITION",
"DDLDEPENDENCY"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/