Qb_Core_Cdsviews
Query Browser Core CDS Views
Qb_Core_Cdsviews is a CDS View that provides data about "Query Browser Core CDS Views" in SAP S/4HANA. It reads from 1 data source (QB_CORE_CDSVIEWS_U) and exposes 17 fields with key field DDLSourceName. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| QB_CORE_CDSVIEWS_U | Cds_Views_Info | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | vdm_browsertag | _CdsViewUserTag | $projection.DDLSourceName = _CdsViewUserTag.ddlsourcename and _CdsViewUserTag.username = $session.user |
| [1..*] | Dictionary_Definition | _CdsDefinition | $projection.CDSName = _CdsDefinition.ObjectName |
| [1..*] | Cds_View_Crossreference | _CdsViewCrossreference | $projection.SQLViewName = _CdsViewCrossreference.SQLViewName |
| [0..1] | Cds_Views_Favorite | _CdsFav | $projection.DDLSourceName = _CdsFav.DDLSourceName |
| [0..1] | Cds_Views_Tag_Count | _CdsTagCnt | $projection.DDLSourceName = _CdsTagCnt.DDLSourceName |
| [0..*] | QB_CDSViews_Tags | _CdsViewTag | $projection.DDLSourceName = _CdsViewTag.Ddlsourcename |
| [1..*] | QB_CDS_DEFINITION_QUERY | _CdsField | $projection.DDLSourceName = _CdsField.DDLSourceName |
| [0..*] | Cds_view_annotation_query | _CdsAnnotation | $projection.DDLSourceName = _CdsAnnotation.DDLSourceName |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | QBCORECDSVIEWS | view | |
| EndUserText.label | Query Browser Core CDS Views | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DDLSourceName | QB_CORE_CDSVIEWS_U | DDLSourceName | DDL Source Name |
| DDLSourceNameText | dd02b | strucobjn_raw | DD: Original Name of a Struct. Obj. (e.g. Entity, Context) | |
| SQLViewName | QB_CORE_CDSVIEWS_U | SQLViewName | View Name | |
| CDSName | QB_CORE_CDSVIEWS_U | CDSName | DDL Source Name | |
| SQLAnalyticalView | QB_CORE_CDSVIEWS_U | SQLAnalyticalView | ||
| SQLAnalyticalQuery | QB_CORE_CDSVIEWS_U | SQLAnalyticalQuery | View Name | |
| ReferredObjectDDLSourceName | QB_CORE_CDSVIEWS_U | ReferredObjectDDLSourceName | DDL Source Name | |
| InAServiceName | QB_CORE_CDSVIEWS_U | InAServiceName | ||
| source_type | QB_CORE_CDSVIEWS_U | source_type | SRVC Source Type | |
| _CdsViewUserTag | _CdsViewUserTag | |||
| _CdsDefinition | _CdsDefinition | |||
| _CdsViewCrossreference | _CdsViewCrossreference | |||
| _CdsFav | _CdsFav | |||
| _CdsTagCnt | _CdsTagCnt | |||
| _CdsViewTag | _CdsViewTag | |||
| _CdsField | _CdsField | |||
| _CdsAnnotation | _CdsAnnotation |
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 Qb_Core_Cdsviews.
-- 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: QBCORECDSVIEWS
CREATE VIEW Qb_Core_Cdsviews AS
SELECT
Cds_Views_Info.DDLSourceName AS DDLSourceName,
dd02b.strucobjn_raw AS DDLSourceNameText,
Cds_Views_Info.SQLViewName AS SQLViewName,
Cds_Views_Info.CDSName AS CDSName,
Cds_Views_Info.SQLAnalyticalView AS SQLAnalyticalView,
Cds_Views_Info.SQLAnalyticalQuery AS SQLAnalyticalQuery,
Cds_Views_Info.ReferredObjectDDLSourceName AS ReferredObjectDDLSourceName,
Cds_Views_Info.InAServiceName AS InAServiceName,
Cds_Views_Info.source_type AS source_type
FROM QB_CORE_CDSVIEWS_U AS Cds_Views_Info
LEFT OUTER JOIN vdm_browsertag AS _CdsViewUserTag ON DDLSourceName = _CdsViewUserTag.ddlsourcename AND _CdsViewUserTag.username = $session.user -- association [0..*]
LEFT OUTER JOIN Dictionary_Definition AS _CdsDefinition ON CDSName = _CdsDefinition.ObjectName -- association [1..*]
LEFT OUTER JOIN Cds_View_Crossreference AS _CdsViewCrossreference ON SQLViewName = _CdsViewCrossreference.SQLViewName -- association [1..*]
LEFT OUTER JOIN Cds_Views_Favorite AS _CdsFav ON DDLSourceName = _CdsFav.DDLSourceName -- association [0..1]
LEFT OUTER JOIN Cds_Views_Tag_Count AS _CdsTagCnt ON DDLSourceName = _CdsTagCnt.DDLSourceName -- association [0..1]
LEFT OUTER JOIN QB_CDSViews_Tags AS _CdsViewTag ON DDLSourceName = _CdsViewTag.Ddlsourcename -- association [0..*]
LEFT OUTER JOIN QB_CDS_DEFINITION_QUERY AS _CdsField ON DDLSourceName = _CdsField.DDLSourceName -- association [1..*]
LEFT OUTER JOIN Cds_view_annotation_query AS _CdsAnnotation ON DDLSourceName = _CdsAnnotation.DDLSourceName -- association [0..*]
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA