I_FundGlobAcctgHier

DDL: I_FUNDGLOBACCTGHIER SQL: IWUFUNDGAH Type: view BASIC

Global Accounting Hierarchy for Fund

I_FundGlobAcctgHier is a Basic CDS View that provides data about "Global Accounting Hierarchy for Fund" in SAP S/4HANA. It reads from 1 data source (hrrp_node) and exposes 18 fields with key fields FundHierarchy, HierarchyNode, ValidityEndDate. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
hrrp_node hrrp_node from

Associations (4)

CardinalityTargetAliasCondition
[0..*] I_FundHierarchyNodeText _Text $projection.FundHierarchy = _Text.FundHierarchy and $projection.HierarchyNode = _Text.HierarchyNode and $projection.Fund = ''
[0..1] I_Fund _Fund $projection.Fund = _Fund.Fund and $projection.FinancialManagementArea = _Fund.FinancialManagementArea
[1..1] I_FundHierarchy _Hierarchy $projection.FundHierarchy = _Hierarchy.FundHierarchy and $projection.ValidityEndDate = _Hierarchy.ValidityEndDate
[0..1] I_FinancialManagementArea _FinMgmtArea $projection.FinancialManagementArea = _FinMgmtArea.FinancialManagementArea

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IWUFUNDGAH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Global Accounting Hierarchy for Fund view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey HierarchyNode view
ObjectModel.dataCategory #HIERARCHY view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY FundHierarchy
KEY HierarchyNode hrrp_node hrynode Node
KEY ValidityEndDate
ParentNode hrrp_node parnode Par. Node
HierarchyVersion hrrp_node hryver Version: Structures
ValidityStartDate
FinancialManagementArea
nodevalueelseendasbp_geberasFund
HierarchyNodeSequence hrrp_node hryseqnbr Sequence Number
HierarchyNodeLevel hrrp_node hrylevel Hierarchy Level
NodeType hrrp_node nodetype Object Type
HierarchyNodeVal hrrp_node nodevalue Value
AllocationSetId
LastChangedByUser _Hierarchy LastChangedByUser User Name
_Text _Text
_Fund _Fund
_FinMgmtArea _FinMgmtArea
_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_FundGlobAcctgHier.
-- 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: IWUFUNDGAH

CREATE VIEW I_FundGlobAcctgHier AS
SELECT
  cast(hrrp_node.hryid as fmis_hryid_fund preserving type) AS FundHierarchy,
  hrrp_node.hrynode AS HierarchyNode,
  cast(hrrp_node.hryvalto as fis_datbi preserving type ) AS ValidityEndDate,
  hrrp_node.parnode AS ParentNode,
  hrrp_node.hryver AS HierarchyVersion,
  cast(hrrp_node.hryvalfrom as fis_datab preserving type) AS ValidityStartDate,
  cast( hrrp_node.nodecls as fikrs ) AS FinancialManagementArea,
  cast ( case hrrp_node.nodetype when 'L' then hrrp_node.nodevalue else '' end as bp_geber ) as Fund AS nodevalueelseendasbp_geberasFund,
  hrrp_node.hryseqnbr AS HierarchyNodeSequence,
  hrrp_node.hrylevel AS HierarchyNodeLevel,
  hrrp_node.nodetype AS NodeType,
  hrrp_node.nodevalue AS HierarchyNodeVal,
  cast((concat (hrytype,concat(hryid,concat('~',hrynode)))) as setid ) AS AllocationSetId,
  _Hierarchy.LastChangedByUser AS LastChangedByUser
FROM hrrp_node
LEFT OUTER JOIN I_FundHierarchyNodeText AS _Text ON FundHierarchy = _Text.FundHierarchy AND HierarchyNode = _Text.HierarchyNode AND Fund = ''  -- association [0..*]
LEFT OUTER JOIN I_Fund AS _Fund ON Fund = _Fund.Fund AND FinancialManagementArea = _Fund.FinancialManagementArea  -- association [0..1]
LEFT OUTER JOIN I_FundHierarchy AS _Hierarchy ON FundHierarchy = _Hierarchy.FundHierarchy AND ValidityEndDate = _Hierarchy.ValidityEndDate  -- association [1..1]
LEFT OUTER JOIN I_FinancialManagementArea AS _FinMgmtArea ON FinancialManagementArea = _FinMgmtArea.FinancialManagementArea  -- association [0..1]
;