DDCDS_BASE_OBJECTS
Hierarchy of CDS VIEWS
DDCDS_BASE_OBJECTS is a CDS View that provides data about "Hierarchy of CDS VIEWS" in SAP S/4HANA. It reads from 3 data sources (ddcds_fromclause, DDCDS_VIEW_FROM_STOB, DDCDS_VIEW_FROM_STOB) and exposes 7 fields. It has 1 association to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| ddcds_fromclause | _hierarchy | union |
| DDCDS_VIEW_FROM_STOB | trinity | from |
| DDCDS_VIEW_FROM_STOB | trinity | union |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | DDCDS_VIEW_FROM_STOB | _view_to_stobname | _view_to_stobname.viewname = _joins.tabname |
Annotations (2)
| Name | Value | Level | Field |
|---|---|---|---|
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Hierarchy of CDS VIEWS | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| source | DDCDS_VIEW_FROM_STOB | stobname | Object name | |
| target | dd08b | strucobjn_t | Value | |
| target | _joins | tabname | Value | |
| type | ||||
| target | Value | |||
| type | ||||
| name |
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 DDCDS_BASE_OBJECTS.
-- 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.
CREATE VIEW DDCDS_BASE_OBJECTS AS
SELECT
trinity.stobname AS source,
dd08b.strucobjn_t AS target,
'from' AS type,
'child2parent' AS name
FROM DDCDS_VIEW_FROM_STOB AS trinity
LEFT OUTER JOIN DDCDS_VIEW_FROM_STOB AS _view_to_stobname ON _view_to_stobname.viewname = _joins.tabname -- association [1..1]
-- UNION with additional select branch(es): DDCDS_VIEW_FROM_STOB, ddcds_fromclause
;
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