Cds_View_All
All CDS Views with Analytic/Non-Analytic categorization
Cds_View_All is a CDS View that provides data about "All CDS Views with Analytic/Non-Analytic categorization" in SAP S/4HANA. It reads from 8 data sources and exposes 18 fields with key field DDLSourceName. It has 10 associations to related views.
Data Sources (8)
| Source | Alias | Join Type |
|---|---|---|
| Cds_Sql_View | Cds_Sql_View | inner |
| Cds_View_Annotation | Cds_View_Annotation | left_outer |
| dd02b | dd02b | left_outer |
| ddddlsrc | ddddlsrc | from |
| ddldependency | ddldependency | inner |
| Public_Cds_View_Type | Public_Cds_View_Type | left_outer |
| ARS_APIS_RELEASED_C1_OR_GROUPS | ReleasedViews | left_outer |
| tadir | tadir | left_outer |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | Cds_Application_Component | _CdsApplComp | $projection.DDLSourceName = _CdsApplComp.ObjectName |
| [0..*] | vdm_browsertag | _CdsBrowserTag | $projection.DDLSourceName = _CdsBrowserTag.ddlsourcename |
| [1..*] | Cds_Tag_Count | _CdsTagCount | $projection.DDLSourceName = _CdsTagCount.DDLSourceName |
| [1..*] | Cds_Favorite | _CdsFavorite | $projection.DDLSourceName = _CdsFavorite.DDLSourceName |
| [1..*] | Dictionary_Definition | _CdsDefinition | $projection.CDSName = _CdsDefinition.ObjectName |
| [0..*] | Cds_View_Parameter | _CdsViewParameter | $projection.CDSName = _CdsViewParameter.CDSName |
| [0..*] | Cds_View_Annotation | _CdsViewAnnotation | $projection.CDSName = _CdsViewAnnotation.CDSName |
| [1..*] | Cds_View_Crossreference | _CdsViewCrossreference | $projection.SQLViewName = _CdsViewCrossreference.SQLViewName |
| [0..*] | Cds_View_Text | _Text | $projection.DDLSourceName = _Text.DDLSourceName |
| [0..*] | Cds_Editors_Text | _EditorText | $projection.CDSOrigin = _EditorText.CDSOrigin |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CDSVIEWALL | view | |
| EndUserText.label | All CDS Views with Analytic/Non-Analytic categorization | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DDLSourceName | ddddlsrc | ddlname | DDL Source Name |
| DDLSourceNameText | ||||
| CDSName | ddldependency | objectname | Object name | |
| SQLViewName | Cds_Sql_View | SQLViewName | View Name | |
| CDSViewPackage | tadir | devclass | Package (Obsolete) | |
| CDSViewSourceSystem | tadir | srcsystem | Source system | |
| CDSOrigin | ||||
| CdsViewTypeelseNAendasCdsViewType | ||||
| _CdsApplComp | _CdsApplComp | |||
| _CdsBrowserTag | _CdsBrowserTag | |||
| _CdsTagCount | _CdsTagCount | |||
| _CdsFavorite | _CdsFavorite | |||
| _CdsDefinition | _CdsDefinition | |||
| _CdsViewParameter | _CdsViewParameter | |||
| _CdsViewAnnotation | _CdsViewAnnotation | |||
| _CdsViewCrossreference | _CdsViewCrossreference | |||
| _Text | _Text | |||
| _EditorText | _EditorText |
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 Cds_View_All.
-- 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: CDSVIEWALL
CREATE VIEW Cds_View_All AS
SELECT
ddddlsrc.ddlname AS DDLSourceName,
coalesce( dd02b.strucobjn_raw, Cds_Sql_View.DDLSourceName ) AS DDLSourceNameText,
ddldependency.objectname AS CDSName,
Cds_Sql_View.SQLViewName AS SQLViewName,
tadir.devclass AS CDSViewPackage,
tadir.srcsystem AS CDSViewSourceSystem,
cast(ddddlsrc.source_origin as abap.char( 10 )) AS CDSOrigin,
case when Public_Cds_View_Type.CDSName is not null then Public_Cds_View_Type.CdsViewType else 'NA' end as CdsViewType AS CdsViewTypeelseNAendasCdsViewType
FROM ddddlsrc
INNER JOIN ddldependency ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN Public_Cds_View_Type ON /* join condition not captured in parsed metadata */
INNER JOIN Cds_Sql_View ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN Cds_View_Annotation ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tadir ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ARS_APIS_RELEASED_C1_OR_GROUPS AS ReleasedViews ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN dd02b ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN Cds_Application_Component AS _CdsApplComp ON DDLSourceName = _CdsApplComp.ObjectName -- association [1..*]
LEFT OUTER JOIN vdm_browsertag AS _CdsBrowserTag ON DDLSourceName = _CdsBrowserTag.ddlsourcename -- association [0..*]
LEFT OUTER JOIN Cds_Tag_Count AS _CdsTagCount ON DDLSourceName = _CdsTagCount.DDLSourceName -- association [1..*]
LEFT OUTER JOIN Cds_Favorite AS _CdsFavorite ON DDLSourceName = _CdsFavorite.DDLSourceName -- association [1..*]
LEFT OUTER JOIN Dictionary_Definition AS _CdsDefinition ON CDSName = _CdsDefinition.ObjectName -- association [1..*]
LEFT OUTER JOIN Cds_View_Parameter AS _CdsViewParameter ON CDSName = _CdsViewParameter.CDSName -- association [0..*]
LEFT OUTER JOIN Cds_View_Annotation AS _CdsViewAnnotation ON CDSName = _CdsViewAnnotation.CDSName -- association [0..*]
LEFT OUTER JOIN Cds_View_Crossreference AS _CdsViewCrossreference ON SQLViewName = _CdsViewCrossreference.SQLViewName -- association [1..*]
LEFT OUTER JOIN Cds_View_Text AS _Text ON DDLSourceName = _Text.DDLSourceName -- association [0..*]
LEFT OUTER JOIN Cds_Editors_Text AS _EditorText ON CDSOrigin = _EditorText.CDSOrigin -- 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