VB_CORE_CDS_VIEWS_CE

DDL: VB_CORE_CDS_VIEWS_CE SQL: VBCORECDSVIEWCE Type: view

View Browser Core CDS Views

VB_CORE_CDS_VIEWS_CE is a CDS View that provides data about "View Browser Core CDS Views" in SAP S/4HANA. It reads from 1 data source (VB_ALL_VIEWS_CE) and exposes 30 fields with key field DDLSourceName. It has 9 associations to related views.

Data Sources (1)

SourceAliasJoin Type
VB_ALL_VIEWS_CE Core_CDSViews from

Associations (9)

CardinalityTargetAliasCondition
[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
[0..*] CDS_ALL_SUPPORTED_CAPABILITIES _CdsSupportedCapabilities $projection.DDLSourceName = _CdsSupportedCapabilities.Ddlsourcename
[0..1] Cds_Views_Favorite _CdsFavorite $projection.DDLSourceName = _CdsFavorite.DDLSourceName

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName VBCORECDSVIEWCE view
EndUserText.label View Browser Core CDS Views view
ObjectModel.usageType.serviceQuality #P view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY DDLSourceName VB_ALL_VIEWS_CE DDLSourceName DDL Source Name
DDLSourceNameText dd02b strucobjn_raw DD: Original Name of a Struct. Obj. (e.g. Entity, Context)
DefaultText CDSDescription ddtext Short text
DDLSourceText CDSViewText ddtext Short text
SQLViewName VB_ALL_VIEWS_CE SQLViewName View Name
CDSName VB_ALL_VIEWS_CE CDSName
CDSOriginKey
SourceType VB_ALL_VIEWS_CE SourceType Source Type
ApplicationComponent CDSPkgAppComp ApplicationComponent
ApplicationComponentName CDSPkgAppComp ApplicationComponentName
CDSViewPackage CDSPkgAppComp CDSViewPackage
CDSViewSourceSystem CDSPkgAppComp CDSViewSourceSystem
CdsViewType VdmType CdsViewType
CDSViewStatus VB_ALL_VIEWS_CE CDSViewStatus
CDSViewStatusCloud VB_ALL_VIEWS_CE CDSViewStatusCloud
CDSViewCategory CDSAnalyticType CDSViewCategory
IsDraft VB_ALL_VIEWS_CE IsDraft Is Draft
DraftDDLSourceName VB_ALL_VIEWS_CE DraftDDLSourceName DDL Source Name
DDLSourceIsFavorite _CdsFavorite DDLSourceIsFavorite
AppID
WDAppID
_CdsViewUserTag _CdsViewUserTag
_CdsViewParameter _CdsViewParameter
_CdsDefinition _CdsDefinition
_CdsViewAnnotation _CdsViewAnnotation
_CdsViewCrossreference _CdsViewCrossreference
_EditorText _EditorText
_AnalyticalQueryPublished _AnalyticalQueryPublished
_CdsSupportedCapabilities _CdsSupportedCapabilities
_CdsFavorite _CdsFavorite

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 VB_CORE_CDS_VIEWS_CE.
-- 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: VBCORECDSVIEWCE

CREATE VIEW VB_CORE_CDS_VIEWS_CE AS
SELECT
  Core_CDSViews.DDLSourceName AS DDLSourceName,
  dd02b.strucobjn_raw AS DDLSourceNameText,
  CDSDescription.ddtext AS DefaultText,
  CDSViewText.ddtext AS DDLSourceText,
  Core_CDSViews.SQLViewName AS SQLViewName,
  Core_CDSViews.CDSName AS CDSName,
  cast( Core_CDSViews.CDSOriginKey as abap.char( 10 )) AS CDSOriginKey,
  Core_CDSViews.SourceType AS SourceType,
  CDSPkgAppComp.ApplicationComponent AS ApplicationComponent,
  CDSPkgAppComp.ApplicationComponentName AS ApplicationComponentName,
  CDSPkgAppComp.CDSViewPackage AS CDSViewPackage,
  CDSPkgAppComp.CDSViewSourceSystem AS CDSViewSourceSystem,
  VdmType.CdsViewType AS CdsViewType,
  Core_CDSViews.CDSViewStatus AS CDSViewStatus,
  Core_CDSViews.CDSViewStatusCloud AS CDSViewStatusCloud,
  CDSAnalyticType.CDSViewCategory AS CDSViewCategory,
  Core_CDSViews.IsDraft AS IsDraft,
  Core_CDSViews.DraftDDLSourceName AS DraftDDLSourceName,
  _CdsFavorite.DDLSourceIsFavorite AS DDLSourceIsFavorite,
  _AnalyticalQueryPublished[app_type = 0].app_id AS AppID,
  _AnalyticalQueryPublished[app_type = 1].app_id AS WDAppID
FROM VB_ALL_VIEWS_CE AS Core_CDSViews
LEFT OUTER JOIN vdm_browsertag AS _CdsViewUserTag ON DDLSourceName = _CdsViewUserTag.ddlsourcename AND _CdsViewUserTag.username = $session.user  -- association [0..*]
LEFT OUTER JOIN Cds_View_Parameter AS _CdsViewParameter ON CDSName = _CdsViewParameter.CDSName  -- association [0..*]
LEFT OUTER JOIN Vb_Core_Cds_Definition AS _CdsDefinition ON CDSName = _CdsDefinition.SQLViewName  -- association [1..*]
LEFT OUTER JOIN Vb_Core_Cds_Annotation AS _CdsViewAnnotation ON CDSName = _CdsViewAnnotation.CDSName  -- association [0..*]
LEFT OUTER JOIN VB_CDS_CROSSREFERENCE AS _CdsViewCrossreference ON CDSName = _CdsViewCrossreference.ObjectDDLSourceName  -- association [1..*]
LEFT OUTER JOIN Cds_Editors_Text AS _EditorText ON CDSOriginKey = _EditorText.CDSOrigin AND _EditorText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN report_chips AS _AnalyticalQueryPublished ON DDLSourceName = _AnalyticalQueryPublished.ddlsourcename  -- association [0..*]
LEFT OUTER JOIN CDS_ALL_SUPPORTED_CAPABILITIES AS _CdsSupportedCapabilities ON DDLSourceName = _CdsSupportedCapabilities.Ddlsourcename  -- association [0..*]
LEFT OUTER JOIN Cds_Views_Favorite AS _CdsFavorite ON DDLSourceName = _CdsFavorite.DDLSourceName  -- association [0..1]
;