I_CostCenterHierarchyNodeT

DDL: I_COSTCENTERHIERARCHYNODET SQL: IFICOSTCTRHNT Type: view BASIC

Cost Center Hierarchy Node - Text

I_CostCenterHierarchyNodeT (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

CostCenterHierarchyNodeText · Accounting and Financial Close

I_CostCenterHierarchyNodeT is a Basic CDS View that provides data about "Cost Center Hierarchy Node - Text" in SAP S/4HANA. It reads from 1 data source (hrrp_nodet_n) and exposes 12 fields with key fields ControllingArea, CostCenterHierarchy, HierarchyNode, ValidityEndDate, Language. It has 4 associations to related views.

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-FIO-GL-IS
CapabilitiesData Source for Defining CDS Entities, Language-Dependent Text, Association Target for Defining CDS Entities, Data Source for Data Extraction
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
hrrp_nodet_n hrrp_nodet_n from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_ControllingArea _ControllingAreaText $projection.ControllingArea = _ControllingAreaText.ControllingArea
[0..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[0..1] I_Language _Language $projection.Language = _Language.Language
[1..*] I_CostCenterHierarchy _Hierarchy $projection.CostCenterHierarchy = _Hierarchy.CostCenterHierarchy and $projection.ControllingArea = _Hierarchy.ControllingArea

Annotations (14)

NameValueLevelField
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey HierarchyNode view
EndUserText.label Cost Center Hierarchy Node - Text view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IFICOSTCTRHNT view
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
Analytics.dataExtraction.enabled true view
ObjectModel.sapObjectNodeType.name CostCenterHierarchyNodeText view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea Controlling Area
KEY CostCenterHierarchy Cost Center Hierarchy
KEY HierarchyNode hrrp_nodet_n hrynode Hierarchy node
KEY ValidityEndDate hrrp_nodet_n hryvalto Valid To Date
KEY Language hrrp_nodet_n spras Off. Language
HierarchyNodeText hrrp_nodet_n nodetxt Hierarchy node description
HierarchyNodeShortText
ValidityStartDate hrrp_nodet_n hryvalfrom Valid-From Date
_ControllingArea _ControllingArea
_Language _Language
_Hierarchy _Hierarchy
_ControllingAreaText _ControllingAreaText

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_CostCenterHierarchyNodeT.
-- 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: IFICOSTCTRHNT

CREATE VIEW I_CostCenterHierarchyNodeT AS
SELECT
  cast( hrrp_nodet_n.kokrs as fis_kokrs preserving type ) AS ControllingArea,
  cast(hrrp_nodet_n.hryid as fis_hryid_cctr preserving type ) AS CostCenterHierarchy,
  hrrp_nodet_n.hrynode AS HierarchyNode,
  hrrp_nodet_n.hryvalto AS ValidityEndDate,
  hrrp_nodet_n.spras AS Language,
  hrrp_nodet_n.nodetxt AS HierarchyNodeText,
  substring(hrrp_nodet_n.nodetxt, 1, 20) AS HierarchyNodeShortText,
  hrrp_nodet_n.hryvalfrom AS ValidityStartDate
FROM hrrp_nodet_n
LEFT OUTER JOIN I_ControllingArea AS _ControllingAreaText ON ControllingArea = _ControllingAreaText.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_CostCenterHierarchy AS _Hierarchy ON CostCenterHierarchy = _Hierarchy.CostCenterHierarchy AND ControllingArea = _Hierarchy.ControllingArea  -- association [1..*]
;