P_CnsldtnUnivHierNodeText_2

DDL: P_CNSLDTNUNIVHIERNODETEXT_2 Type: view BASIC

P_CnsldtnUnivHierNodeText_2 is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (hrrp_node, hrrp_nodet) and exposes 10 fields with key fields Language, CnsldtnUniversalHierarchy, HierarchyVersion, HierarchyNodeClass, HierarchyNode. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
hrrp_node _HierarchyNode inner
hrrp_nodet _HierarchyNodeText from

Parameters (2)

NameTypeDefault
P_HierarchyType hrytype
P_MasterDataType fieldname

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_Language _Language $projection.Language = _Language.Language

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PCSUNIVHIERNODT2 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.representativeKey HierarchyNode view
VDM.viewType #BASIC view
VDM.private true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY Language hrrp_nodet spras Off. Language
KEY CnsldtnUniversalHierarchy
KEY HierarchyVersion
KEY HierarchyNodeClass
KEY HierarchyNode
KEY ParentNode
KEY ValidityEndDate
ValidityStartDate
HierarchyNodeText
_Language _Language

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_CnsldtnUnivHierNodeText_2.
-- 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_HierarchyType : hrytype, P_MasterDataType : fieldname

CREATE VIEW P_CnsldtnUnivHierNodeText_2 AS
SELECT
  _HierarchyNodeText.spras AS Language,
  cast(_HierarchyNodeText.hryid as fincs_universalhierarchy42 preserving type ) AS CnsldtnUniversalHierarchy,
  cast(_HierarchyNodeText.hryver as fincs_hierarchyversion preserving type ) AS HierarchyVersion,
  cast(_HierarchyNodeText.nodecls as fincs_hierarchynodeclass preserving type ) AS HierarchyNodeClass,
  cast(_HierarchyNodeText.hrynode as fincs_hierarchynode preserving type ) AS HierarchyNode,
  cast(_HierarchyNode.parnode as fincs_parentnode preserving type ) AS ParentNode,
  cast(_HierarchyNodeText.hryvalto as fincs_validityenddate preserving type ) AS ValidityEndDate,
  cast(_HierarchyNodeText.hryvalfrom as fincs_validitystartdate preserving type ) AS ValidityStartDate,
  cast(_HierarchyNodeText.nodetxt as fincs_hierarchynodetext preserving type ) AS HierarchyNodeText
FROM hrrp_nodet AS _HierarchyNodeText
INNER JOIN hrrp_node AS _HierarchyNode ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [1..1]
;