Cds_Views_Info_Extn
List of All CDS Views with details-Extn
Cds_Views_Info_Extn is a CDS View that provides data about "List of All CDS Views with details-Extn" in SAP S/4HANA. It reads from 3 data sources (CDS_Views_Extension, Cds_Views_Pkg_Appcomp, Cds_Views_Vdm_Type) and exposes 15 fields with key field DDLSourceName. It has 4 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| CDS_Views_Extension | CDS_Views_Extension | from |
| Cds_Views_Pkg_Appcomp | CDSPkgAppComp | left_outer |
| Cds_Views_Vdm_Type | CDSVDMType | left_outer |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | Cds_View_Text | _Text | $projection.DDLSourceName = _Text.DDLSourceName and $projection.CDSName = _Text.CDSName |
| [0..1] | Cds_Views_Favorite | _CdsFavorite | $projection.DDLSourceName = _CdsFavorite.DDLSourceName |
| [0..1] | Cds_Views_Tag_Count | _CdsTagCount | $projection.DDLSourceName = _CdsTagCount.DDLSourceName |
| [0..*] | CDS_ALL_SUPPORTED_CAPABILITIES | _CdsSupportedCapabilities | $projection.DDLSourceName = _CdsSupportedCapabilities.Ddlsourcename |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CDSVIEWSINFOEXTN | view | |
| EndUserText.label | List of All CDS Views with details-Extn | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DDLSourceName | CDS_Views_Extension | DDLSourceName | DDL Source Name |
| SQLViewName | CDS_Views_Extension | SQLViewName | View Name | |
| CDSName | CDS_Views_Extension | CDSName | DDL Source Name | |
| CdsViewTypeelseNAendasCdsViewType | ||||
| ApplicationComponent | Cds_Views_Pkg_Appcomp | ApplicationComponent | ||
| ApplicationComponentName | Cds_Views_Pkg_Appcomp | ApplicationComponentName | ||
| CDSViewPackage | Cds_Views_Pkg_Appcomp | CDSViewPackage | Package (Obsolete) | |
| CDSOriginKey | CDS_Views_Extension | CDSOriginKey | Source Origin | |
| _CDSAppCompText | Cds_Views_Pkg_Appcomp | _CDSAppCompText | ||
| CDSViewSourceSystem | Cds_Views_Pkg_Appcomp | CDSViewSourceSystem | Source system | |
| _Text | _Text | |||
| _CdsFavorite | _CdsFavorite | |||
| _CdsTagCount | _CdsTagCount | |||
| _CdsSupportedCapabilities | _CdsSupportedCapabilities | |||
| SourceType | CDS_Views_Extension | SourceType | 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 Cds_Views_Info_Extn.
-- 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: CDSVIEWSINFOEXTN
CREATE VIEW Cds_Views_Info_Extn AS
SELECT
CDS_Views_Extension.DDLSourceName AS DDLSourceName,
CDS_Views_Extension.SQLViewName AS SQLViewName,
CDS_Views_Extension.CDSName AS CDSName,
case when CDSVDMType.CDSName is not null then CDSVDMType.CdsViewType else 'NA' end as CdsViewType AS CdsViewTypeelseNAendasCdsViewType,
CDSPkgAppComp.ApplicationComponent AS ApplicationComponent,
CDSPkgAppComp.ApplicationComponentName AS ApplicationComponentName,
CDSPkgAppComp.CDSViewPackage AS CDSViewPackage,
CDS_Views_Extension.CDSOriginKey AS CDSOriginKey,
CDSPkgAppComp._CDSAppCompText AS _CDSAppCompText,
CDSPkgAppComp.CDSViewSourceSystem AS CDSViewSourceSystem,
CDS_Views_Extension.SourceType AS SourceType
FROM CDS_Views_Extension
LEFT OUTER JOIN Cds_Views_Vdm_Type AS CDSVDMType ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN Cds_Views_Pkg_Appcomp AS CDSPkgAppComp ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN Cds_View_Text AS _Text ON DDLSourceName = _Text.DDLSourceName AND CDSName = _Text.CDSName -- association [0..*]
LEFT OUTER JOIN Cds_Views_Favorite AS _CdsFavorite ON DDLSourceName = _CdsFavorite.DDLSourceName -- association [0..1]
LEFT OUTER JOIN Cds_Views_Tag_Count AS _CdsTagCount ON DDLSourceName = _CdsTagCount.DDLSourceName -- association [0..1]
LEFT OUTER JOIN CDS_ALL_SUPPORTED_CAPABILITIES AS _CdsSupportedCapabilities ON DDLSourceName = _CdsSupportedCapabilities.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