I_SADL_RS_HIERARCH_SRC_APP_EXP
Source for native CDS Hierarchy
I_SADL_RS_HIERARCH_SRC_APP_EXP is a CDS View that provides data about "Source for native CDS Hierarchy" in SAP S/4HANA. It reads from 1 data source (sadl_rs_nodehier) and exposes 14 fields with key field Id. It has 3 associations to related views. Part of development package SADL_ENTITY_REFERENCE_SCENARIO.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| sadl_rs_nodehier | sadl_rs_nodehier | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SADL_RS_HIERARCH_SRC_APP_EXP | _Parent | $projection.ParentId = _Parent.Id |
| [1..*] | I_SADL_RS_HIERARCH_SRC_APP_EXP | _Self_All | $projection.ConstantID = _Self_All.ConstantID |
| [0..1] | I_SADL_RS_HIER_MAT_TEXT_AP_EXP | _Text | $projection.Material = _Text.Material and _Text.Language = $session.system_language |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Source for native CDS Hierarchy | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Search.searchable | true | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Id | id | WorklistID | |
| ParentId | parent_id | UUID | ||
| Description | description | Well Code Des. | ||
| Material | material | Vehicle Model | ||
| MaterialGroup | material_group | Material Group | ||
| Location | location | Text | ||
| Quantity | quantity | Value | ||
| QuantityUnit | quantity_unit | Unit of Measure | ||
| UUID_X16 | uuid_x16 | |||
| CalculatedID | ||||
| ConstantID | ||||
| _Parent | _Parent | |||
| _Self_All | _Self_All | |||
| _Text | _Text |
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 I_SADL_RS_HIERARCH_SRC_APP_EXP.
-- 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 I_SADL_RS_HIERARCH_SRC_APP_EXP AS
SELECT
Id,
parent_id AS ParentId,
Description,
Material,
material_group AS MaterialGroup,
Location,
Quantity,
quantity_unit AS QuantityUnit,
UUID_X16,
cast( '' as abap.char( 30 ) ) AS CalculatedID,
cast( 'CONSTANT' as abap.char( 30 ) ) AS ConstantID
FROM sadl_rs_nodehier
LEFT OUTER JOIN I_SADL_RS_HIERARCH_SRC_APP_EXP AS _Parent ON ParentId = _Parent.Id -- association [0..1]
LEFT OUTER JOIN I_SADL_RS_HIERARCH_SRC_APP_EXP AS _Self_All ON ConstantID = _Self_All.ConstantID -- association [1..*]
LEFT OUTER JOIN I_SADL_RS_HIER_MAT_TEXT_AP_EXP AS _Text ON Material = _Text.Material AND _Text.Language = $session.system_language -- association [0..1]
;
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