/SSB/CDS_VIEWS_WHERE_USED

DDL: /SSB/CDS_VIEWS_WHERE_USED SQL: /SSB/CDSWHEREUSE Type: view Package: /SSB/CORE

list of objects where a cds view is used

/SSB/CDS_VIEWS_WHERE_USED is a CDS View that provides data about "list of objects where a cds view is used" in SAP S/4HANA. It reads from 10 data sources and exposes 10 fields with key fields viewName, objectId, objectId, objectId, objectId. Part of development package /SSB/CORE.

Data Sources (10)

SourceAliasJoin Type
/ssb/rpt_conf ALPReports union_all
/ssb/rpt_conft ALPReportsTexts left_outer
/ssb/sacda_s DataAnalyzer union_all
/ssb/sacdat DATexts left_outer
/ssb/evals KPIs union_all
/ssb/eval_texts KPITexts left_outer
/SSB/SAPCLIENT SC inner
/SSB/SAPCLIENT SC inner
/ssb/sacmod_s Storys from
/ssb/sacstoryt_s StorysTexts left_outer

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName /SSB/CDSWHEREUSE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
EndUserText.label list of objects where a cds view is used view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY viewName cdsview CDS View
KEY objectId /ssb/sacmod_s id WorklistID
adaptationType
KEY objectId /ssb/rpt_conf id WorklistID
adaptationType
KEY objectId /ssb/sacda_s id WorklistID
adaptationType
KEY objectId /ssb/evals id WorklistID
adaptationType
objectName

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 /SSB/CDS_VIEWS_WHERE_USED.
-- 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: /SSB/CDSWHEREUSE

CREATE VIEW /SSB/CDS_VIEWS_WHERE_USED AS
SELECT
  cdsview AS viewName,
  Storys.id AS objectId,
  'EAC_STORY' AS adaptationType,
  coalesce( KPITexts.title, KPIs.id ) AS objectName
FROM /ssb/sacmod_s AS Storys
INNER JOIN /SSB/SAPCLIENT AS SC ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN /ssb/sacstoryt_s AS StorysTexts ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN /ssb/rpt_conft AS ALPReportsTexts ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN /ssb/sacdat AS DATexts ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN /ssb/eval_texts AS KPITexts ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): /ssb/rpt_conf, /ssb/sacda_s, /ssb/evals
;