Cds_View
List of CDS View based on App Type
Cds_View is a CDS View that provides data about "List of CDS View based on App Type" in SAP S/4HANA. It reads from 2 data sources (Cds_View_All, CDS_VIEW_FIRST_REFERENCE) and exposes 24 fields with key field DDLSourceName. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| Cds_View_All | Cds_View_All | from |
| CDS_VIEW_FIRST_REFERENCE | CdsViewFirstReference | left_outer |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | report_chips | _AnalyticalQueryPublished | $projection.DDLSourceName = _AnalyticalQueryPublished.ddlsourcename and $projection.CDSType = 1 |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CDSVIEW | view | |
| EndUserText.label | List of CDS View based on App Type | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DDLSourceName | Cds_View_All | DDLSourceName | DDL Source Name |
| DDLSourceNameText | Cds_View_All | DDLSourceNameText | ||
| CDSName | Cds_View_All | CDSName | Object name | |
| SQLViewName | Cds_View_All | SQLViewName | View Name | |
| CDSViewPackage | Cds_View_All | CDSViewPackage | Package (Obsolete) | |
| CDSViewSourceSystem | Cds_View_All | CDSViewSourceSystem | Source system | |
| CDSOrigin | Cds_View_All | CDSOrigin | ||
| CDSReleaseStatus | Cds_View_All | CDSReleaseStatus | ||
| CDSType | Cds_View_All | CDSType | ||
| SQLAnalyticalView | CDS_VIEW_FIRST_REFERENCE | CreferredObject | ||
| SQLAnalyticalQuery | CDS_VIEW_FIRST_REFERENCE | CSQLViewName | ||
| ReferredObjectDDLSourceName | CDS_VIEW_FIRST_REFERENCE | ReferredObjectDDLSourceName | DDL Source Name | |
| AppID | _AnalyticalQueryPublished | app_id | Identifier | |
| CdsViewType | ||||
| _CdsApplComp | Cds_View_All | _CdsApplComp | ||
| _CdsBrowserTag | Cds_View_All | _CdsBrowserTag | ||
| _CdsTagCount | Cds_View_All | _CdsTagCount | ||
| _CdsFavorite | Cds_View_All | _CdsFavorite | ||
| _CdsDefinition | Cds_View_All | _CdsDefinition | ||
| _CdsViewParameter | Cds_View_All | _CdsViewParameter | ||
| _CdsViewAnnotation | Cds_View_All | _CdsViewAnnotation | ||
| _CdsViewCrossreference | Cds_View_All | _CdsViewCrossreference | ||
| _Text | Cds_View_All | _Text | ||
| _EditorText | Cds_View_All | _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.
-- 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: CDSVIEW
CREATE VIEW Cds_View AS
SELECT
Cds_View_All.DDLSourceName AS DDLSourceName,
Cds_View_All.DDLSourceNameText AS DDLSourceNameText,
Cds_View_All.CDSName AS CDSName,
Cds_View_All.SQLViewName AS SQLViewName,
Cds_View_All.CDSViewPackage AS CDSViewPackage,
Cds_View_All.CDSViewSourceSystem AS CDSViewSourceSystem,
Cds_View_All.CDSOrigin AS CDSOrigin,
Cds_View_All.CDSReleaseStatus AS CDSReleaseStatus,
Cds_View_All.CDSType AS CDSType,
CdsViewFirstReference.CreferredObject AS SQLAnalyticalView,
CdsViewFirstReference.CSQLViewName AS SQLAnalyticalQuery,
CdsViewFirstReference.ReferredObjectDDLSourceName AS ReferredObjectDDLSourceName,
_AnalyticalQueryPublished.app_id AS AppID,
cast( Cds_View_All.CdsViewType as vdmviewtype ) AS CdsViewType,
Cds_View_All._CdsApplComp AS _CdsApplComp,
Cds_View_All._CdsBrowserTag AS _CdsBrowserTag,
Cds_View_All._CdsTagCount AS _CdsTagCount,
Cds_View_All._CdsFavorite AS _CdsFavorite,
Cds_View_All._CdsDefinition AS _CdsDefinition,
Cds_View_All._CdsViewParameter AS _CdsViewParameter,
Cds_View_All._CdsViewAnnotation AS _CdsViewAnnotation,
Cds_View_All._CdsViewCrossreference AS _CdsViewCrossreference,
Cds_View_All._Text AS _Text,
Cds_View_All._EditorText AS _EditorText
FROM Cds_View_All
LEFT OUTER JOIN CDS_VIEW_FIRST_REFERENCE AS CdsViewFirstReference ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN report_chips AS _AnalyticalQueryPublished ON DDLSourceName = _AnalyticalQueryPublished.ddlsourcename AND CDSType = 1 -- association [0..1]
;
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