/SSB/CDS_VIEWS_WHERE_USED
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)
| Source | Alias | Join 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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA