VB_CDS_VIEWS
List of All CDS Views
VB_CDS_VIEWS is a CDS View that provides data about "List of All CDS Views" in SAP S/4HANA. It reads from 6 data sources and exposes 13 fields with key field DDLSourceName.
Data Sources (6)
| Source | Alias | Join Type |
|---|---|---|
| ddddlsrc | AllCDSViews | from |
| Cds_Sql_View | CDSSQLView | inner |
| Cds_Stob_View | CDSSTOBView | inner |
| dd02bnd | StructuredNodes | inner |
| ddddlsrc | Views | union_all |
| ddddlsrc | Views | union_all |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | VBCDSVIEWS | view | |
| EndUserText.label | List of All CDS Views | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DDLSourceName | ddddlsrc | ddlname | DDL Source Name |
| CDSOriginKey | ddddlsrc | source_origin | Source Origin | |
| SQLViewName | Value from table | |||
| CDSName | DDL Source Name | |||
| ddlnameasDDLSourceName | ||||
| CDSOriginKey | ddddlsrc | source_origin | Source Origin | |
| SQLViewName | anno | value | Value from table | |
| CDSName | ddddlsrc | ddlname | DDL Source Name | |
| ddlnameasDDLSourceName | ||||
| CDSOriginKey | ddddlsrc | source_origin | Source Origin | |
| SQLViewName | anno | value | Value from table | |
| CDSName | ddddlsrc | ddlname | DDL Source Name | |
| SourceType | ddddlsrc | source_type | SRVC Source Type |
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_CDS_VIEWS.
-- 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: VBCDSVIEWS
CREATE VIEW VB_CDS_VIEWS AS
SELECT
AllCDSViews.ddlname AS DDLSourceName,
AllCDSViews.source_origin AS CDSOriginKey,
cast(CDSSQLView.SQLViewName as ddannotation_val) AS SQLViewName,
cast(CDSSTOBView.CDSName as abap.char(40)) AS CDSName,
AllCDSViews.source_type as SourceType AS ddlnameasDDLSourceName,
Views.source_type AS SourceType
FROM ddddlsrc AS AllCDSViews
INNER JOIN Cds_Sql_View AS CDSSQLView ON /* join condition not captured in parsed metadata */
INNER JOIN Cds_Stob_View AS CDSSTOBView ON /* join condition not captured in parsed metadata */
INNER JOIN dd02bnd AS StructuredNodes ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): ddddlsrc
;
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