C_ProfitCenterHierNode

DDL: C_PROFITCENTERHIERNODE SQL: CPRFTCTRHNODE Type: view CONSUMPTION

API Profit Center Hierarchy Node

C_ProfitCenterHierNode is a Consumption CDS View that provides data about "API Profit Center Hierarchy Node" in SAP S/4HANA. It reads from 1 data source (I_ProfitCenterHierarchyNode) and exposes 14 fields with key fields ControllingArea, ProfitCenterHierarchy, HierarchyNode, ValidityEndDate. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProfitCenterHierarchyNode I_ProfitCenterHierarchyNode from

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_ProfitCenterHierNodeT _Text $projection.ProfitCenterHierarchy = _Text.ProfitCenterHierarchy and $projection.HierarchyNode = _Text.HierarchyNode and $projection.ControllingArea = _Text.ControllingArea and $projection.ProfitCenter = ''

Annotations (10)

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

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea I_ProfitCenterHierarchyNode ControllingArea Controlling Area
KEY ProfitCenterHierarchy I_ProfitCenterHierarchyNode ProfitCenterHierarchy
KEY HierarchyNode HierarchyNode Node
KEY ValidityEndDate I_ProfitCenterHierarchyNode ValidityEndDate ValidTo
ParentNode ParentNode Parent Node
HierarchyVersion HierarchyVersion Version
ValidityStartDate I_ProfitCenterHierarchyNode ValidityStartDate Validity Start Date
ProfitCenter ProfitCenter Profit Center
SequenceNumber SequenceNumber Sort sequence
HierarchyNodeSequence HierarchyNodeSequence Sequence Number
HierarchyNodeLevel HierarchyNodeLevel Hierarchy Node Level
NodeType NodeType Object Type
_Text _Text
_ProfitCenter _ProfitCenter

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_ProfitCenterHierNode.
-- 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: CPRFTCTRHNODE

CREATE VIEW C_ProfitCenterHierNode AS
SELECT
  I_ProfitCenterHierarchyNode.ControllingArea AS ControllingArea,
  I_ProfitCenterHierarchyNode.ProfitCenterHierarchy AS ProfitCenterHierarchy,
  HierarchyNode,
  I_ProfitCenterHierarchyNode.ValidityEndDate AS ValidityEndDate,
  ParentNode,
  HierarchyVersion,
  I_ProfitCenterHierarchyNode.ValidityStartDate AS ValidityStartDate,
  ProfitCenter,
  SequenceNumber,
  HierarchyNodeSequence,
  HierarchyNodeLevel,
  NodeType
FROM I_ProfitCenterHierarchyNode
LEFT OUTER JOIN C_ProfitCenterHierNodeT AS _Text ON ProfitCenterHierarchy = _Text.ProfitCenterHierarchy AND HierarchyNode = _Text.HierarchyNode AND ControllingArea = _Text.ControllingArea AND ProfitCenter = ''  -- association [0..*]
;