Cds_Views_Extn

DDL: CDS_VIEWS_EXTN SQL: CDSVIEWSEXTN Type: view

List of All CDS Views

Cds_Views_Extn is a CDS View that provides data about "List of All CDS Views" in SAP S/4HANA. It reads from 4 data sources (ddddlsrc, Cds_Sql_View, Cds_Stob_View, VB_CDS_SQLVIEWNAME_EXTENSION) and exposes 9 fields with key field DDLSourceName.

Data Sources (4)

SourceAliasJoin Type
ddddlsrc AllCDSViews union_all
Cds_Sql_View CDSSQLView inner
Cds_Stob_View CDSSTOBView inner
VB_CDS_SQLVIEWNAME_EXTENSION VB_CDS_SQLVIEWNAME_EXTENSION from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName CDSVIEWSEXTN view
EndUserText.label List of All CDS Views view
ObjectModel.usageType.serviceQuality #P view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY DDLSourceName DDLSourceName DDL Source Name
CDSOriginKey CDSOriginKey Source Origin
SQLViewName SQLViewName View Name
CDSName CDSName Object name
ddlnameasDDLSourceName
CDSOriginKey ddddlsrc source_origin Source Origin
SQLViewName Cds_Sql_View SQLViewName View Name
CDSName Cds_Stob_View CDSName Object 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 Cds_Views_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: CDSVIEWSEXTN

CREATE VIEW Cds_Views_Extn AS
SELECT
  DDLSourceName,
  CDSOriginKey,
  SQLViewName,
  CDSName,
  SourceType AS ddlnameasDDLSourceName,
  AllCDSViews.source_type AS SourceType
FROM VB_CDS_SQLVIEWNAME_EXTENSION
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 */
-- UNION ALL with additional select branch(es): ddddlsrc
;