R_FinWBSElementHierarchy

DDL: R_FINWBSELEMENTHIERARCHY Type: view_entity BASIC Package: FINS_FIS_FICO

Hierarchy of WBS Element

R_FinWBSElementHierarchy is a Basic CDS View (Dimension) that provides data about "Hierarchy of WBS Element" in SAP S/4HANA. It reads from 1 data source (hrrp_dir_n) and exposes 7 fields with key fields WBSElementHierarchy, ValidityEndDate. It has 1 association to related views. Part of development package FINS_FIS_FICO.

Data Sources (1)

SourceAliasJoin Type
hrrp_dir_n hrrp_dir_n from

Associations (1)

CardinalityTargetAliasCondition
[0..*] R_FinWBSElementHierarchyText _Text $projection.WBSElementHierarchy = _Text.WBSElementHierarchy

Annotations (13)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.technicalName RFIWBSELEMENTH view
Analytics.internalName #LOCAL view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Hierarchy of WBS Element view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.representativeKey WBSElementHierarchy view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY WBSElementHierarchy
KEY ValidityEndDate
ValidityStartDate
HierarchyType
LastChangedByUser hrrp_dir_n upduser Changed By
LastChangeDateTime hrrp_dir_n updtime Updated At
_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_FinWBSElementHierarchy.
-- 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_FinWBSElementHierarchy AS
SELECT
  cast ( hrrp_dir_n.hryid_42 as fis_finwbshier preserving type ) AS WBSElementHierarchy,
  cast(hrrp_dir_n.hryvalto as fis_datbi preserving type) AS ValidityEndDate,
  cast(hrrp_dir_n.hryvalfrom as fis_datab preserving type) AS ValidityStartDate,
  cast ( hrrp_dir_n.hrytyp as hrytype preserving type) AS HierarchyType,
  hrrp_dir_n.upduser AS LastChangedByUser,
  hrrp_dir_n.updtime AS LastChangeDateTime
FROM hrrp_dir_n
LEFT OUTER JOIN R_FinWBSElementHierarchyText AS _Text ON WBSElementHierarchy = _Text.WBSElementHierarchy  -- association [0..*]
;