CIC_ArtHierDirectory

DDL: CIC_ARTHIERDIRECTORY Type: view_entity

Core View on Article Hierarchy Directory

CIC_ArtHierDirectory is a CDS View that provides data about "Core View on Article Hierarchy Directory" in SAP S/4HANA. It reads from 2 data sources (wrf_matgrp_hier, wrf_matgrp_hiert) and exposes 7 fields with key fields HierarchyID, Language.

Data Sources (2)

SourceAliasJoin Type
wrf_matgrp_hier ArtHierDir from
wrf_matgrp_hiert ArtHierDirT left_outer

Annotations (5)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Core View on Article Hierarchy Directory view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY HierarchyID wrf_matgrp_hier hier_id Hierarchy Old ID
KEY Language wrf_matgrp_hiert spras Off. Language
HierarchyNode wrf_matgrp_hier node Node ID
SalesOrganization wrf_matgrp_hier vkorg SD Sales Org.
DistributionChannel wrf_matgrp_hier vtweg RefDistCh-Cust/Mat.
StatusCode wrf_matgrp_hier status Workflow Status
HierarchyDescription wrf_matgrp_hiert ltext Text exists

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_ArtHierDirectory.
-- 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_ArtHierDirectory AS
SELECT
  ArtHierDir.hier_id AS HierarchyID,
  ArtHierDirT.spras AS Language,
  ArtHierDir.node AS HierarchyNode,
  ArtHierDir.vkorg AS SalesOrganization,
  ArtHierDir.vtweg AS DistributionChannel,
  ArtHierDir.status AS StatusCode,
  ArtHierDirT.ltext AS HierarchyDescription
FROM wrf_matgrp_hier AS ArtHierDir
LEFT OUTER JOIN wrf_matgrp_hiert AS ArtHierDirT ON /* join condition not captured in parsed metadata */
;