R_FinWBSElementHierarchyNode

DDL: R_FINWBSELEMENTHIERARCHYNODE Type: view_entity BASIC

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)

SourceAliasJoin Type
hrrp_node_n hrrp_node_n from

Associations (2)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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..*]
;