C_CostCenterHierarchyNode

DDL: C_COSTCENTERHIERARCHYNODE SQL: CFICOSTCENTERHN Type: view CONSUMPTION Package: FINS_FIS_API

API Cost Center Hierarchy Node

C_CostCenterHierarchyNode is a Consumption CDS View that provides data about "API Cost Center Hierarchy Node" in SAP S/4HANA. It reads from 1 data source (I_CostCenterHierarchyNode) and exposes 14 fields with key fields ControllingArea, CostCenterHierarchy, HierarchyNode, ValidityEndDate. It has 1 association to related views. Part of development package FINS_FIS_API.

Data Sources (1)

SourceAliasJoin Type
I_CostCenterHierarchyNode I_CostCenterHierarchyNode from

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_CostCenterHierarchyNodeT _Text $projection.CostCenterHierarchy = _Text.CostCenterHierarchy and $projection.HierarchyNode = _Text.HierarchyNode and $projection.ControllingArea = _Text.ControllingArea and $projection.CostCenter = ''

Annotations (10)

NameValueLevelField
EndUserText.label API Cost Center Hierarchy Node view
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName CFICOSTCENTERHN view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea I_CostCenterHierarchyNode ControllingArea Controlling Area
KEY CostCenterHierarchy I_CostCenterHierarchyNode CostCenterHierarchy
KEY HierarchyNode HierarchyNode Node
KEY ValidityEndDate I_CostCenterHierarchyNode ValidityEndDate ValidTo
ParentNode ParentNode Parent Node
HierarchyVersion HierarchyVersion Version
ValidityStartDate I_CostCenterHierarchyNode ValidityStartDate Validity Start Date
CostCenter CostCenter Cost Center
SequenceNumber SequenceNumber Sort sequence
HierarchyNodeSequence HierarchyNodeSequence Sequence Number
HierarchyNodeLevel HierarchyNodeLevel Hierarchy Node Level
NodeType NodeType Object Type
_Text _Text
_CostCenter _CostCenter

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 C_CostCenterHierarchyNode.
-- 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: CFICOSTCENTERHN

CREATE VIEW C_CostCenterHierarchyNode AS
SELECT
  I_CostCenterHierarchyNode.ControllingArea AS ControllingArea,
  I_CostCenterHierarchyNode.CostCenterHierarchy AS CostCenterHierarchy,
  HierarchyNode,
  I_CostCenterHierarchyNode.ValidityEndDate AS ValidityEndDate,
  ParentNode,
  HierarchyVersion,
  I_CostCenterHierarchyNode.ValidityStartDate AS ValidityStartDate,
  CostCenter,
  SequenceNumber,
  HierarchyNodeSequence,
  HierarchyNodeLevel,
  NodeType
FROM I_CostCenterHierarchyNode
LEFT OUTER JOIN C_CostCenterHierarchyNodeT AS _Text ON CostCenterHierarchy = _Text.CostCenterHierarchy AND HierarchyNode = _Text.HierarchyNode AND ControllingArea = _Text.ControllingArea AND CostCenter = ''  -- association [0..*]
;