Vb_Core_Cdsviews_Extn
View Browser Core CDS Views With Extn
Vb_Core_Cdsviews_Extn is a CDS View that provides data about "View Browser Core CDS Views With Extn" in SAP S/4HANA. It reads from 8 data sources and exposes 27 fields with key field DDLSourceName. It has 7 associations to related views. Part of development package S_DICT_VB.
Data Sources (8)
| Source | Alias | Join Type |
|---|---|---|
| ARS_APIS_RELEASED_C1_OR_GROUPS | Cds_Release_Status | left_outer |
| Cds_Views_Info_Extn | Cds_Views_Info_Extn | from |
| Cds_View_Annotation_Position | CDSAnalyticType | left_outer |
| Cds_View_Annotation_Position | CDSDataCategory | left_outer |
| Cds_View_Annotation_Position | CDSModelingPattern | left_outer |
| Cds_View_Annotation_Position | CDSPrivate | left_outer |
| dd02b | dd02b | left_outer |
| CDS_SUPPORTED_CAPABILITIES | SupportCapabilities | left_outer |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | vdm_browsertag | _CdsViewUserTag | $projection.DDLSourceName = _CdsViewUserTag.ddlsourcename and _CdsViewUserTag.username = $session.user |
| [0..*] | Cds_View_Parameter | _CdsViewParameter | $projection.CDSName = _CdsViewParameter.CDSName |
| [1..*] | Vb_Core_Cds_Definition | _CdsDefinition | $projection.CDSName = _CdsDefinition.SQLViewName |
| [0..*] | Vb_Core_Cds_Annotation | _CdsViewAnnotation | $projection.CDSName = _CdsViewAnnotation.CDSName |
| [1..*] | VB_CDS_CROSSREFERENCE | _CdsViewCrossreference | $projection.CDSName = _CdsViewCrossreference.ObjectDDLSourceName |
| [0..1] | Cds_Editors_Text | _EditorText | $projection.CDSOriginKey = _EditorText.CDSOrigin and _EditorText.Language = $session.system_language |
| [0..*] | report_chips | _AnalyticalQueryPublished | $projection.DDLSourceName = _AnalyticalQueryPublished.ddlsourcename |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | VBCORECDSEXTN | view | |
| EndUserText.label | View Browser Core CDS Views With Extn | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DDLSourceName | Cds_Views_Info_Extn | DDLSourceName | |
| DDLSourceNameText | ||||
| SQLViewName | Cds_Views_Info_Extn | SQLViewName | ||
| CDSName | Cds_Views_Info_Extn | CDSName | ||
| CdsViewType | ||||
| ApplicationComponent | Cds_Views_Info_Extn | ApplicationComponent | ||
| ApplicationComponentName | Cds_Views_Info_Extn | ApplicationComponentName | ||
| CDSViewPackage | Cds_Views_Info_Extn | CDSViewPackage | ||
| CDSViewSourceSystem | Cds_Views_Info_Extn | CDSViewSourceSystem | ||
| AnnotationValueendasCDSViewCategory | ||||
| CDSOriginKey | ||||
| SupportedCapability | CDS_SUPPORTED_CAPABILITIES | SupportedCapability | ||
| NumberOfCapabilities | CDS_SUPPORTED_CAPABILITIES | NumberOfCapabilities | ||
| ModelingPattern | Cds_View_Annotation_Position | AnnotationValue | ||
| _CdsViewUserTag | _CdsViewUserTag | |||
| _CdsViewParameter | _CdsViewParameter | |||
| _CdsDefinition | _CdsDefinition | |||
| _CdsViewAnnotation | _CdsViewAnnotation | |||
| _CdsViewCrossreference | _CdsViewCrossreference | |||
| _EditorText | _EditorText | |||
| _AnalyticalQueryPublished | _AnalyticalQueryPublished | |||
| _CdsSupportedCapabilities | Cds_Views_Info_Extn | _CdsSupportedCapabilities | ||
| _CDSAppCompText | Cds_Views_Info_Extn | _CDSAppCompText | ||
| _CdsFavorite | Cds_Views_Info_Extn | _CdsFavorite | ||
| _CdsTagCount | Cds_Views_Info_Extn | _CdsTagCount | ||
| _Text | Cds_Views_Info_Extn | _Text | ||
| SourceType | Cds_Views_Info_Extn | SourceType |
@AbapCatalog.sqlViewName: 'VBCORECDSEXTN'
@EndUserText.label: 'View Browser Core CDS Views With Extn'
@ObjectModel.usageType.serviceQuality: #P
@AbapCatalog.compiler.compareFilter:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.supportedCapabilities: [#CDS_MODELING_DATA_SOURCE]
define view Vb_Core_Cdsviews_Extn
as select from Cds_Views_Info_Extn
left outer join Cds_View_Annotation_Position as CDSAnalyticType on Cds_Views_Info_Extn.CDSName = CDSAnalyticType.CDSName
and CDSAnalyticType.AnnotationName = 'ANALYTICS.QUERY'
and CDSAnalyticType.AnnotationValue = 'true'
left outer join Cds_View_Annotation_Position as CDSDataCategory on Cds_Views_Info_Extn.CDSName = CDSDataCategory.CDSName
and CDSDataCategory.AnnotationName = 'ANALYTICS.DATACATEGORY'
//this will be used to indentify private view
left outer join Cds_View_Annotation_Position as CDSPrivate on Cds_Views_Info_Extn.CDSName = CDSPrivate.CDSName
and CDSPrivate.AnnotationName = 'VDM.PRIVATE'
and CDSPrivate.AnnotationValue = 'true'
// Checking Released / Deprecated CDS views and Customer-Specific Objects of any release group
left outer join ARS_APIS_RELEASED_C1_OR_GROUPS as Cds_Release_Status on Cds_Views_Info_Extn.DDLSourceName = Cds_Release_Status.tadir_obj_name
and Cds_Release_Status.tadir_object = 'DDLS'
// DD02B displays name of the CDS view in the raw camel case format.
left outer join dd02b on dd02b.strucobjn = Cds_Views_Info_Extn.DDLSourceName
and dd02b.as4local = 'A'
left outer join CDS_SUPPORTED_CAPABILITIES as SupportCapabilities on SupportCapabilities.CDSName = Cds_Views_Info_Extn.DDLSourceName
left outer join Cds_View_Annotation_Position as CDSModelingPattern on Cds_Views_Info_Extn.CDSName = CDSModelingPattern.CDSName
and CDSModelingPattern.AnnotationName = 'OBJECTMODEL.MODELINGPATTERN'
association [0..*] to vdm_browsertag as _CdsViewUserTag on $projection.DDLSourceName = _CdsViewUserTag.ddlsourcename
and _CdsViewUserTag.username = $session.user
association [0..*] to Cds_View_Parameter as _CdsViewParameter on $projection.CDSName = _CdsViewParameter.CDSName
association [1..*] to Vb_Core_Cds_Definition as _CdsDefinition on $projection.CDSName = _CdsDefinition.SQLViewName
association [0..*] to Vb_Core_Cds_Annotation as _CdsViewAnnotation on $projection.CDSName = _CdsViewAnnotation.CDSName
association [1..*] to VB_CDS_CROSSREFERENCE as _CdsViewCrossreference on $projection.CDSName = _CdsViewCrossreference.ObjectDDLSourceName
association [0..1] to Cds_Editors_Text as _EditorText on $projection.CDSOriginKey = _EditorText.CDSOrigin
and _EditorText.Language = $session.system_language
association [0..*] to report_chips as _AnalyticalQueryPublished on $projection.DDLSourceName = _AnalyticalQueryPublished.ddlsourcename
{
key Cds_Views_Info_Extn.DDLSourceName,
// Raw Text representation of CDS View Name. If text is null, use DDLSourceName key.
coalesce( dd02b.strucobjn_raw, Cds_Views_Info_Extn.DDLSourceName ) as DDLSourceNameText,
Cds_Views_Info_Extn.SQLViewName as SQLViewName,
Cds_Views_Info_Extn.CDSName,
cast( Cds_Views_Info_Extn.CdsViewType as vdmviewtype ) as CdsViewType,
Cds_Views_Info_Extn.ApplicationComponent,
Cds_Views_Info_Extn.ApplicationComponentName,
Cds_Views_Info_Extn.CDSViewPackage,
Cds_Views_Info_Extn.CDSViewSourceSystem,
case when CDSAnalyticType.AnnotationValue = 'true'
then 1 //Analytic Query
else 2 //Non-Analytic Query
end as CDSType,
case when CDSAnalyticType.AnnotationValue = 'true' then 'QUERY'
when CDSDataCategory.AnnotationValue = '#DIMENSION' then 'DIMENSION'
when CDSDataCategory.AnnotationValue = '#CUBE' then 'CUBE'
when CDSDataCategory.AnnotationValue = '#TEXT' then 'TEXT'
when CDSDataCategory.AnnotationValue = '#FACT' then 'FACT'
when CDSDataCategory.AnnotationValue = '#AGGREGATIONLEVEL' then 'AGGREGATIONLEVEL'
when CDSDataCategory.AnnotationValue = '#HIERARCHY' then 'HIERARCHY'
else CDSDataCategory.AnnotationValue
end as CDSViewCategory,
cast ( case when Cds_Release_Status.state = 'RELEASED'
then 'X' //Released
else '' //Not released
end as boolean) as CDSReleaseStatus,
cast ( case when Cds_Release_Status.state = 'DEPRECATED'
then 'X' //Deprecated
else '' //Not Deprecated,
end as boolean) as DeprecatedStatus,
//if view is private then CDSPrivate='X' else '' for now this field is exposed in VB_CDSVIEWS_QUERY
//and used in VB_CDSVIEWS_QUERY_CE to filter out private views
cast ( case when CDSPrivate.AnnotationValue is not null and CDSPrivate.AnnotationValue = 'true'
then 'X' //Private
else '' //Not Private
end as boolean) as CDSPrivate,
cast(Cds_Views_Info_Extn.CDSOriginKey as abap.char( 10 )) as CDSOriginKey,
SupportCapabilities.SupportedCapability as SupportedCapability,
SupportCapabilities.NumberOfCapabilities as NumberOfCapabilities,
CDSModelingPattern.AnnotationValue as ModelingPattern,
/* Associations */
_CdsViewUserTag,
_CdsViewParameter,
_CdsDefinition,
_CdsViewAnnotation,
_CdsViewCrossreference,
_EditorText,
_AnalyticalQueryPublished,
Cds_Views_Info_Extn._CdsSupportedCapabilities,
Cds_Views_Info_Extn._CDSAppCompText,
Cds_Views_Info_Extn._CdsFavorite,
Cds_Views_Info_Extn._CdsTagCount,
Cds_Views_Info_Extn._Text,
Cds_Views_Info_Extn.SourceType
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA