R_FinWBSElementHierarchyNode
Hierarchy Node of WBS Element
R_FinWBSElementHierarchyNode is a Basic CDS View that provides data about "Hierarchy Node of WBS Element" in SAP S/4HANA. It reads from 1 data source (hrrp_node_n) and exposes 14 fields with key fields WBSElementHierarchy, HierarchyNode, ValidityEndDate. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| hrrp_node_n | hrrp_node_n | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_FinWBSElementHierarchy | _Hierarchy | $projection.WBSElementHierarchy = _Hierarchy.WBSElementHierarchy and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate |
| [0..*] | R_FinWBSElementHierarchyNodeT | _Text | $projection.WBSElementHierarchy = _Text.WBSElementHierarchy and $projection.HierarchyNode = _Text.HierarchyNode and $projection.WBSElementExternalID = '' |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Hierarchy Node of WBS Element | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.dataCategory | #HIERARCHY | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.representativeKey | HierarchyNode | view | |
| Analytics.technicalName | RFIWBSELEMENTHN | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WBSElementHierarchy | |||
| KEY | HierarchyNode | hrrp_node_n | hrynode | Node |
| KEY | ValidityEndDate | |||
| ParentNode | hrrp_node_n | parnode | Par. Node | |
| HierarchyVersion | ||||
| ValidityStartDate | ||||
| WBSElementExternalID | ||||
| WBSElement | ||||
| ParentWBSElementExternalID | ||||
| NodeType | hrrp_node_n | nodetype | Object Type | |
| HierarchyNodeSequence | hrrp_node_n | hryseqnbr | Sequence Number | |
| HierarchyNodeLevel | hrrp_node_n | hrylevel | Hierarchy Level | |
| _Hierarchy | _Hierarchy | |||
| _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 R_FinWBSElementHierarchyNode.
-- 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 R_FinWBSElementHierarchyNode AS
SELECT
cast ( hrrp_node_n.hryid_42 as fis_finwbshier preserving type ) AS WBSElementHierarchy,
hrrp_node_n.hrynode AS HierarchyNode,
cast(hrrp_node_n.hryvalto as fis_datbi preserving type ) AS ValidityEndDate,
hrrp_node_n.parnode AS ParentNode,
cast( '000000000000001' as hryversn ) AS HierarchyVersion,
cast(hrrp_node_n.hryvalfrom as fis_datab preserving type ) AS ValidityStartDate,
cast(coalesce(I_WBSElementBasicData.WBSElementExternalID, '') as fis_wbsext_no_conv preserving type ) AS WBSElementExternalID,
cast(hrrp_node_n.posid as fis_wbs_no_conv preserving type ) AS WBSElement,
cast('' as fis_parent_wbsext_no_conv) AS ParentWBSElementExternalID,
hrrp_node_n.nodetype AS NodeType,
hrrp_node_n.hryseqnbr AS HierarchyNodeSequence,
hrrp_node_n.hrylevel AS HierarchyNodeLevel
FROM hrrp_node_n
LEFT OUTER JOIN R_FinWBSElementHierarchy AS _Hierarchy ON WBSElementHierarchy = _Hierarchy.WBSElementHierarchy AND ValidityEndDate = _Hierarchy.ValidityEndDate -- association [1..1]
LEFT OUTER JOIN R_FinWBSElementHierarchyNodeT AS _Text ON WBSElementHierarchy = _Text.WBSElementHierarchy AND HierarchyNode = _Text.HierarchyNode AND WBSElementExternalID = '' -- association [0..*]
;
Learn More
- 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
- 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