I_WBSElementHierarchyNode
WBS Element Hierarchy Node
I_WBSElementHierarchyNode is a Basic CDS View that provides data about "WBS Element Hierarchy Node" in SAP S/4HANA. It reads from 3 data sources (hrrp_node, prhi, prps) and exposes 18 fields with key fields WBSElementHierarchy, HierarchyNode, ValidityEndDate, HierarchyNode, ValidityEndDate. It has 3 associations to related views.
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_WBSElementHierarchyNodeText | _Text | $projection.WBSElementHierarchy = _Text.WBSElementHierarchy and $projection.HierarchyNode = _Text.HierarchyNode and $projection.WBSElement = '' |
| [0..1] | I_WBSElement | _WBSElement | $projection.WBSElement = _WBSElement.WBSElement |
| [1..1] | I_WBSElementHierarchy | _Hierarchy | $projection.WBSElementHierarchy = _Hierarchy.WBSElementHierarchy and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IWBSHIERNODE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.dataCategory | #HIERARCHY | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | WBS Element Hierarchy Node | view | |
| VDM.lifecycle.status | #DEPRECATED | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WBSElementHierarchy | |||
| KEY | HierarchyNode | hrrp_node | hrynode | WBS Element |
| KEY | ValidityEndDate | |||
| ParentNode | hrrp_node | parnode | Superior | |
| HierarchyVersion | hrrp_node | hryver | Version: Structures | |
| WBSElement | WBS Element | |||
| HierarchyNodeSequence | hrrp_node | hryseqnbr | Sequence Number | |
| _Text | _Text | |||
| _WBSElement | _WBSElement | |||
| KEY | HierarchyNode | prhi | posnr | WBS Element |
| KEY | ValidityEndDate | |||
| ParentNode | prhi | up | Superior | |
| HierarchyVersion | Version: Structures | |||
| WBSElement | prps | posid | WBS Element | |
| HierarchyNodeSequence | Sequence Number | |||
| _Text | _Text | |||
| _WBSElement | _WBSElement | |||
| _Hierarchy | _Hierarchy |
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_WBSElementHierarchyNode.
-- 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: IWBSHIERNODE
CREATE VIEW I_WBSElementHierarchyNode AS
SELECT
cast ( hrrp_node.hryid as wbshierarchy preserving type ) AS WBSElementHierarchy,
hrrp_node.hrynode AS HierarchyNode,
cast(hrrp_node.hryvalto as fis_datbi) AS ValidityEndDate,
hrrp_node.parnode AS ParentNode,
hrrp_node.hryver AS HierarchyVersion,
substring( hrrp_node.leafvalue, 1, 24 ) AS WBSElement,
hrrp_node.hryseqnbr AS HierarchyNodeSequence
FROM hrrp_node
INNER JOIN prhi ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_WBSElementHierarchyNodeText AS _Text ON WBSElementHierarchy = _Text.WBSElementHierarchy AND HierarchyNode = _Text.HierarchyNode AND WBSElement = '' -- association [0..*]
LEFT OUTER JOIN I_WBSElement AS _WBSElement ON WBSElement = _WBSElement.WBSElement -- association [0..1]
LEFT OUTER JOIN I_WBSElementHierarchy AS _Hierarchy ON WBSElementHierarchy = _Hierarchy.WBSElementHierarchy AND ValidityEndDate = _Hierarchy.ValidityEndDate -- association [1..1]
-- UNION ALL with additional select branch(es): prps
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- 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