CIC_ArtHierNode

DDL: CIC_ARTHIERNODE Type: view_entity

Category Structure Core Entity

CIC_ArtHierNode is a CDS View that provides data about "Category Structure Core Entity" in SAP S/4HANA. It reads from 3 data sources (wrf_matgrp_hier, wrf_matgrp_strct, wrf_matgrp_struc) and exposes 8 fields with key fields HierarchyID, HierarchyNode, ArticleHierAssgmtValdtyStrtDte, Language.

Data Sources (3)

SourceAliasJoin Type
wrf_matgrp_hier ArtHierDir left_outer
wrf_matgrp_strct ArticleHierarchyText left_outer
wrf_matgrp_struc HierarchyStructure from

Annotations (5)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
EndUserText.label Category Structure Core Entity view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY HierarchyID wrf_matgrp_struc hier_id Hierarchy Old ID
KEY HierarchyNode wrf_matgrp_struc node Node ID
KEY ArticleHierAssgmtValdtyStrtDte wrf_matgrp_struc date_from Validity Start Date
KEY Language wrf_matgrp_strct spras Off. Language
ArticleHierAssgmtValdtyToDte wrf_matgrp_struc date_to Validity End Date
HierarchyLevel wrf_matgrp_struc tree_level Hierarchy Level
ParentNode wrf_matgrp_struc parent UUID
CategoryFlag wrf_matgrp_struc catflg Category

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 CIC_ArtHierNode.
-- 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.

CREATE VIEW CIC_ArtHierNode AS
SELECT
  HierarchyStructure.hier_id AS HierarchyID,
  HierarchyStructure.node AS HierarchyNode,
  HierarchyStructure.date_from AS ArticleHierAssgmtValdtyStrtDte,
  ArticleHierarchyText.spras AS Language,
  HierarchyStructure.date_to AS ArticleHierAssgmtValdtyToDte,
  HierarchyStructure.tree_level AS HierarchyLevel,
  HierarchyStructure.parent AS ParentNode,
  HierarchyStructure.catflg AS CategoryFlag
FROM wrf_matgrp_struc AS HierarchyStructure
LEFT OUTER JOIN wrf_matgrp_strct AS ArticleHierarchyText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN wrf_matgrp_hier AS ArtHierDir ON /* join condition not captured in parsed metadata */
;