ALL_CDS_VIEWS_INFO

DDL: ALL_CDS_VIEWS_INFO SQL: ALLCDSVIEWSINFO Type: view

Details of all cds views

ALL_CDS_VIEWS_INFO is a CDS View that provides data about "Details of all cds views" in SAP S/4HANA. It reads from 3 data sources (ALL_CDS_VIEWS, ALL_CDS_SQL_VIEWS, ALL_CDS_STOB_VIEWS) and exposes 4 fields with key field DDLSourceName.

Data Sources (3)

SourceAliasJoin Type
ALL_CDS_VIEWS ALL_CDS_VIEWS from
ALL_CDS_SQL_VIEWS CDSSQLView inner
ALL_CDS_STOB_VIEWS CDSSTOBView inner

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName ALLCDSVIEWSINFO view
ObjectModel.usageType.serviceQuality #P view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Details of all cds views view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY DDLSourceName ALL_CDS_VIEWS DDLSourceName DDL Source Name
SQLViewName ALL_CDS_SQL_VIEWS SQLViewName View Name
CDSName ALL_CDS_STOB_VIEWS CDSName Object name
CDSOriginKey ALL_CDS_VIEWS CDSOriginKey Source Origin

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 ALL_CDS_VIEWS_INFO.
-- 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: ALLCDSVIEWSINFO

CREATE VIEW ALL_CDS_VIEWS_INFO AS
SELECT
  ALL_CDS_VIEWS.DDLSourceName AS DDLSourceName,
  CDSSQLView.SQLViewName AS SQLViewName,
  CDSSTOBView.CDSName AS CDSName,
  ALL_CDS_VIEWS.CDSOriginKey AS CDSOriginKey
FROM ALL_CDS_VIEWS
INNER JOIN ALL_CDS_SQL_VIEWS AS CDSSQLView ON /* join condition not captured in parsed metadata */
INNER JOIN ALL_CDS_STOB_VIEWS AS CDSSTOBView ON /* join condition not captured in parsed metadata */
;