I_FinancialStatementHierVH

DDL: I_FINANCIALSTATEMENTHIERVH Type: view_entity BASIC Package: FINS_FIS_FICO

Financial Statement Hierarchy

I_FinancialStatementHierVH is a Basic CDS View (Dimension) that provides data about "Financial Statement Hierarchy" in SAP S/4HANA. It reads from 1 data source (hrrp_dir_n) and exposes 16 fields with key fields GLAccountHierarchy, 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..*] I_FinancialStatementHierT _Text $projection.GLAccountHierarchy = _Text.FinancialStatementHierarchy and $projection.ValidityEndDate = _Text.ValidityEndDate

Annotations (15)

NameValueLevelField
ObjectModel.representativeKey GLAccountHierarchy view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Financial Statement Hierarchy view
VDM.viewType #BASIC view
Metadata.allowExtensions true view
Search.searchable true view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name FinancialStatementHierarchy view
ObjectModel.dataCategory #VALUE_HELP view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY GLAccountHierarchy hrrp_dir_n hryid_42 Hierarchy ID
KEY ValidityEndDate
HierarchyType hrrp_dir_n hrytyp Hierarchy Type
LastChangedByUser hrrp_dir_n upduser Changed By
LastChangeDateTime hrrp_dir_n updtime Updated At
_Text _Text
ChartOfAccounts
FinancialStatementAssetsItem
FinStatementLiabilitiesItem
FinancialStatementNetLossItem
FinStatementNetProfitItem
FinStatementProfitAndLossItem
FinancialStatementOrphansItem
FinancialStatementNotesItem
GroupChartOfAccountIsUsed
FunctionalAreaIsUsed

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_FinancialStatementHierVH.
-- 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 I_FinancialStatementHierVH AS
SELECT
  hrrp_dir_n.hryid_42 AS GLAccountHierarchy,
  cast(hrrp_dir_n.hryvalto as fis_datbi preserving type ) AS ValidityEndDate,
  hrrp_dir_n.hrytyp AS HierarchyType,
  hrrp_dir_n.upduser AS LastChangedByUser,
  hrrp_dir_n.updtime AS LastChangeDateTime,
  cast( hrrp_dir_n.ktopl as char4 ) AS ChartOfAccounts,
  cast( hrrp_dir_n.aktva as char10 ) AS FinancialStatementAssetsItem,
  cast( hrrp_dir_n.pssva as char10 ) AS FinStatementLiabilitiesItem,
  cast( hrrp_dir_n.ergak as char10 ) AS FinancialStatementNetLossItem,
  cast( hrrp_dir_n.ergpa as char10 ) AS FinStatementNetProfitItem,
  cast( hrrp_dir_n.erggv as char10 ) AS FinStatementProfitAndLossItem,
  cast( hrrp_dir_n.zuord as char10 ) AS FinancialStatementOrphansItem,
  cast( hrrp_dir_n.anhng as char10 ) AS FinancialStatementNotesItem,
  cast( hrrp_dir_n.xergs as char1 ) AS GroupChartOfAccountIsUsed,
  cast( hrrp_dir_n.funareaassigned as char1 ) AS FunctionalAreaIsUsed
FROM hrrp_dir_n
LEFT OUTER JOIN I_FinancialStatementHierT AS _Text ON GLAccountHierarchy = _Text.FinancialStatementHierarchy AND ValidityEndDate = _Text.ValidityEndDate  -- association [0..*]
;