P_MATRIX_TNH_LEAF

DDL: P_MATRIX_TNH_LEAF Type: view_entity COMPOSITE

P_MATRIX_TNH_LEAF is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_HierRuntimeRprstnNode) and exposes 10 fields.

Data Sources (1)

SourceAliasJoin Type
I_HierRuntimeRprstnNode leaf from

Parameters (1)

NameTypeDefault
P_Hierarchy hryid

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view

Fields (10)

KeyFieldSource TableSource FieldDescription
hryid RuntimeHierarchy Hierarchy ID
nodecls HierarchyNodeClass Node Class
hrynode HierarchyNode Node
parnode ParentNode Parent Node
hryvalto
hryvalfrom
ControllingArea ControllingArea Controlling Area
ConsolidationUnit ConsolidationUnit Consolidation Unit
Segment Segment Segment number
ProfitCenter ProfitCenter Profit Center

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_MATRIX_TNH_LEAF.
-- 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.
-- Parameters: P_Hierarchy : hryid

CREATE VIEW P_MATRIX_TNH_LEAF AS
SELECT
  RuntimeHierarchy AS hryid,
  HierarchyNodeClass AS nodecls,
  HierarchyNode AS hrynode,
  ParentNode AS parnode,
  '99999999' AS hryvalto,
  '00000000' AS hryvalfrom,
  ControllingArea,
  ConsolidationUnit,
  Segment,
  ProfitCenter
FROM I_HierRuntimeRprstnNode AS leaf
;