CDS_Views_Extension

DDL: CDS_VIEWS_EXTENSION SQL: CDSVIEWSWITHEXT Type: view

CDS Views with extension

CDS_Views_Extension is a CDS View that provides data about "CDS Views with extension" in SAP S/4HANA. It reads from 6 data sources and exposes 13 fields with key field DDLSourceName.

Data Sources (6)

SourceAliasJoin Type
ddddlsrc AllCDSViews union_all
Cds_Sql_View CDSSQLView inner
Cds_Stob_View CDSSTOBView inner
dd02bnd StructuredNodes inner
VB_CDS_SQLVIEWNAME_EXTN VB_CDS_SQLVIEWNAME_EXTN from
ddddlsrc Views union_all

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName CDSVIEWSWITHEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CDS Views with extension view

Fields (13)

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 anno value View Name
CDSName ddddlsrc ddlname 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_Extension.
-- 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: CDSVIEWSWITHEXT

CREATE VIEW CDS_Views_Extension AS
SELECT
  DDLSourceName,
  CDSOriginKey,
  SQLViewName,
  CDSName,
  SourceType AS ddlnameasDDLSourceName,
  AllCDSViews.source_type AS SourceType
FROM VB_CDS_SQLVIEWNAME_EXTN
INNER JOIN dd02bnd AS StructuredNodes ON /* join condition not captured in parsed metadata */
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, ddddlsrc
;