P_FinancialStatementHierNode

DDL: P_FINANCIALSTATEMENTHIERNODE SQL: PFISTMTHIRND Type: view BASIC

P_FinancialStatementHierNode is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (hrrp_node_n, hrrp_node_n, hrrp_node_n, hrrp_node_n) and exposes 65 fields with key fields FinancialStatementHierarchy, HierarchyNode, ValidityEndDate, HierarchyNode, ValidityEndDate.

Data Sources (4)

SourceAliasJoin Type
hrrp_node_n hrrp_node_n from
hrrp_node_n hrrp_node_n union_all
hrrp_node_n hrrp_node_n union_all
hrrp_node_n hrrp_node_n union_all

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PFISTMTHIRND view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
AbapCatalog.buffering.status #NOT_ALLOWED view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (65)

KeyFieldSource TableSource FieldDescription
KEY FinancialStatementHierarchy hrrp_node_n hryid_42 Hierarchy ID
KEY HierarchyNode hrrp_node_n hrynode Node
KEY ValidityEndDate hrrp_node_n hryvalto Valid To
ValidityStartDate
ParentNode hrrp_node_n parnode Par. Node
HierarchyVersion
ChartOfAccounts hrrp_node_n nodecls Node Class
NodeType hrrp_node_n nodetype Object Type
FinancialStatementLeafItem
FinancialStatementNodeType hrrp_node_n fs_nodetype Node Type
FinStmntNodeFormattedID hrrp_node_n hrynodeext Node for Extraction
SequenceNumber
SignIsInverted Type of SIGN component in row type of a Ranges type
HierarchyNodeVal hrrp_node_n nodevalue Value
HierarchyNodeSequence hrrp_node_n hryseqnbr Sequence Number
HierarchyLevel hrrp_node_n hrylevel Hierarchy Level
hryid_42asFinancialStatementHierarchy
KEY HierarchyNode Node
KEY ValidityEndDate hrrp_node_n hryvalto Valid To
ValidityStartDate
ParentNode Par. Node
HierarchyVersion
ChartOfAccounts hrrp_node_n nodecls Node Class
NodeType Object Type
FinancialStatementLeafItem
FinancialStatementNodeType Node Type
FinStmntNodeFormattedID Node for Extraction
SequenceNumber
SignIsInverted hrrp_node_n sign Type of SIGN component in row type of a Ranges type
HierarchyNodeVal hrrp_node_n nodevalue Value
HierarchyNodeSequence hrrp_node_n hryseqnbr Sequence Number
HierarchyLevel hrrp_node_n hrylevel Hierarchy Level
hryid_42asFinancialStatementHierarchy
KEY HierarchyNode Node
KEY ValidityEndDate hrrp_node_n hryvalto Valid To
ValidityStartDate
ParentNode Par. Node
HierarchyVersion
ChartOfAccounts hrrp_node_n nodecls Node Class
NodeType Object Type
FinancialStatementLeafItem
FinancialStatementNodeType Node Type
FinStmntNodeFormattedID Node for Extraction
SequenceNumber
SignIsInverted hrrp_node_n sign Type of SIGN component in row type of a Ranges type
HierarchyNodeVal hrrp_node_n nodevalue Value
HierarchyNodeSequence hrrp_node_n hryseqnbr Sequence Number
HierarchyLevel hrrp_node_n hrylevel Hierarchy Level
hryid_42asFinancialStatementHierarchy
KEY HierarchyNode Node
KEY ValidityEndDate hrrp_node_n hryvalto Valid To
ValidityStartDate
ParentNode Par. Node
HierarchyVersion
ChartOfAccounts hrrp_node_n nodecls Node Class
NodeType Object Type
FinancialStatementLeafItem
FinancialStatementNodeType Node Type
FinStmntNodeFormattedID Node for Extraction
SequenceNumber
SignIsInverted hrrp_node_n sign Type of SIGN component in row type of a Ranges type
HierarchyNodeVal hrrp_node_n nodevalue Value
HierarchyNodeSequence hrrp_node_n hryseqnbr Sequence Number
HierarchyLevel hrrp_node_n hrylevel Hierarchy Level
DebitCreditCode hrrp_node_n balind Balance

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 P_FinancialStatementHierNode.
-- 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: PFISTMTHIRND

CREATE VIEW P_FinancialStatementHierNode AS
SELECT
  hrrp_node_n.hryid_42 AS FinancialStatementHierarchy,
  hrrp_node_n.hrynode AS HierarchyNode,
  hrrp_node_n.hryvalto AS ValidityEndDate,
  cast(hrrp_node_n.hryvalfrom as fis_datab preserving type ) AS ValidityStartDate,
  hrrp_node_n.parnode AS ParentNode,
  cast('000000000000001' as hryversn ) AS HierarchyVersion,
  hrrp_node_n.nodecls AS ChartOfAccounts,
  hrrp_node_n.nodetype AS NodeType,
  cast( hrrp_node_n.fs_leafitem as hrynode preserving type ) AS FinancialStatementLeafItem,
  hrrp_node_n.fs_nodetype AS FinancialStatementNodeType,
  hrrp_node_n.hrynodeext AS FinStmntNodeFormattedID,
  concat(hrrp_node_n.hryseqnbr, hrrp_node_n.hrynode) AS SequenceNumber,
  cast(hrrp_node_n.sign as hryattrvalue ) AS SignIsInverted,
  hrrp_node_n.nodevalue AS HierarchyNodeVal,
  hrrp_node_n.hryseqnbr AS HierarchyNodeSequence,
  hrrp_node_n.hrylevel AS HierarchyLevel,
  hrrp_node_n.balind as DebitCreditCode AS hryid_42asFinancialStatementHierarchy,
  hrrp_node_n.balind AS DebitCreditCode
FROM hrrp_node_n
-- UNION ALL with additional select branch(es): hrrp_node_n
;