P_CnsldtnUnivHierNodeText_3

DDL: P_CNSLDTNUNIVHIERNODETEXT_3 Type: view BASIC

Cnsldtn Universal Hierarchy Node - Text

P_CnsldtnUnivHierNodeText_3 is a Basic CDS View that provides data about "Cnsldtn Universal Hierarchy Node - Text" in SAP S/4HANA. It reads from 2 data sources (hrrp_node_n, hrrp_nodet_n) and exposes 16 fields with key fields Language, HierarchyNodeClass, UniversalHierarchy, HierarchyNode, ValidityEndDate. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
hrrp_node_n _HierarchyNode inner
hrrp_nodet_n _HierarchyNodeText from

Parameters (2)

NameTypeDefault
P_HierarchyType hrytype
P_MasterDataType fieldname

Associations (1)

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

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PCSUNIVHIERNODT3 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
EndUserText.label Cnsldtn Universal Hierarchy Node - Text view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY Language hrrp_nodet_n spras Off. Language
KEY HierarchyNodeClass
KEY UniversalHierarchy
KEY HierarchyNode
KEY ValidityEndDate
CnsldtnUniversalHierarchy
ParentNode
HierarchyVersion
ValidityStartDate
HierarchyNodeText
ConsolidationChartOfAccounts
ControllingArea
ChartOfAccounts
SubItemCategory
CnsldtnSubitemCategory
_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_3.
-- 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_3 AS
SELECT
  _HierarchyNodeText.spras AS Language,
  cast(_HierarchyNode.nodecls as fincs_hierarchynodeclass preserving type ) AS HierarchyNodeClass,
  cast(_HierarchyNode.hryid as fincs_universalhierhierarchyid preserving type ) AS UniversalHierarchy,
  cast(_HierarchyNodeText.hrynode as fincs_hierarchynode preserving type ) AS HierarchyNode,
  cast(_HierarchyNodeText.hryvalto as fincs_validityenddate preserving type ) AS ValidityEndDate,
  cast(_HierarchyNodeText.hryid_42 as fincs_universalhierarchy42 preserving type ) AS CnsldtnUniversalHierarchy,
  cast(_HierarchyNode.parnode as fincs_parentnode preserving type ) AS ParentNode,
  cast('000000000000001' as fincs_hierarchyversion preserving type ) AS HierarchyVersion,
  cast(_HierarchyNodeText.hryvalfrom as fincs_validitystartdate preserving type ) AS ValidityStartDate,
  cast(_HierarchyNodeText.nodetxt as fincs_hierarchynodetext preserving type ) AS HierarchyNodeText,
  cast(_HierarchyNodeText.itclg as fincs_conschartofaccounts preserving type ) AS ConsolidationChartOfAccounts,
  cast(_HierarchyNodeText.kokrs as fincs_controllingarea preserving type ) AS ControllingArea,
  cast(_HierarchyNodeText.ktopl as fincs_chartofaccounts preserving type ) AS ChartOfAccounts,
  cast(_HierarchyNodeText.sityp as fincs_subitemcategory preserving type ) AS SubItemCategory,
  cast(_HierarchyNodeText.sityp as fincs_subitemcategory preserving type ) AS CnsldtnSubitemCategory
FROM hrrp_nodet_n AS _HierarchyNodeText
INNER JOIN hrrp_node_n AS _HierarchyNode ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [1..1]
;