VB_CDS_VIEWS_EXTN

DDL: VB_CDS_VIEWS_EXTN SQL: VBCDSVIEWSEXTN Type: view Package: S_DICT_VB

List of All CDS Views with view extn

VB_CDS_VIEWS_EXTN is a CDS View that provides data about "List of All CDS Views with view extn" in SAP S/4HANA. It reads from 7 data sources and exposes 17 fields with key field DDLSourceName. Part of development package S_DICT_VB.

Data Sources (7)

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

Annotations (6)

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

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY DDLSourceName ddddlsrc ddlname DDL Source Name
CDSOriginKey ddddlsrc source_origin Source Origin
SQLViewName Value from table
CDSName DDL Source Name
ddlnameasDDLSourceName
CDSOriginKey ddddlsrc source_origin Source Origin
SQLViewName anno value Value from table
CDSName ddddlsrc ddlname DDL Source Name
ddlnameasDDLSourceName
CDSOriginKey ddddlsrc source_origin Source Origin
SQLViewName anno value Value from table
CDSName ddddlsrc ddlname DDL Source Name
ddlnameasDDLSourceName
CDSOriginKey ddddlsrc source_origin Source Origin
SQLViewName anno value Value from table
CDSName ddddlsrc ddlname DDL Source 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 VB_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: VBCDSVIEWSEXTN

CREATE VIEW VB_CDS_VIEWS_EXTN AS
SELECT
  AllCDSViews.ddlname AS DDLSourceName,
  AllCDSViews.source_origin AS CDSOriginKey,
  cast(CDSSQLView.SQLViewName as ddannotation_val) AS SQLViewName,
  cast(CDSSTOBView.CDSName as abap.char(40)) AS CDSName,
  AllCDSViews.source_type as SourceType AS ddlnameasDDLSourceName,
  Views.source_type AS SourceType
FROM ddddlsrc AS AllCDSViews
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 */
INNER JOIN dd02bnd AS StructuredNodes ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): ddddlsrc
;