I_ArticleHierNodeArticle
Article Hierarchy Node to Article
I_ArticleHierNodeArticle is a Basic CDS View that provides data about "Article Hierarchy Node to Article" in SAP S/4HANA. It reads from 1 data source (wrf_matgrp_sku) and exposes 9 fields with key fields ArticleHierarchy, Article, ArticleHierarchyNode, ArticleAssignmentValidFromDate. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| wrf_matgrp_sku | ArticleHierarchyNodeArticle | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ArticleHierarchyNode | _ArticleHierarchyNode | $projection.ArticleHierarchy = _ArticleHierarchyNode.ArticleHierarchy and $projection.ArticleHierarchyNode = _ArticleHierarchyNode.ArticleHierarchyNode |
| [1..1] | I_ArticleHierarchy | _ArticleHierarchy | $projection.ArticleHierarchy = _ArticleHierarchy.ArticleHierarchy |
| [0..1] | I_Product | _Product | $projection.Article = _Product.Product |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.representativeKey | ArticleHierarchyNode | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.sapObjectNodeType.name | ArticleHierarchyNodeArticle | view | |
| EndUserText.label | Article Hierarchy Node to Article | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ArticleHierarchy | wrf_matgrp_sku | hier_id | Hierarchy Old ID |
| KEY | Article | |||
| KEY | ArticleHierarchyNode | wrf_matgrp_sku | node | Node ID |
| KEY | ArticleAssignmentValidFromDate | wrf_matgrp_sku | date_from | Validity Start Date |
| ArticleAssignmentValidToDate | wrf_matgrp_sku | date_to | Validity End Date | |
| HierNdeIsMainAssgmtOfArticle | wrf_matgrp_sku | mainflg | Main Assignment | |
| _ArticleHierarchy | _ArticleHierarchy | |||
| _ArticleHierarchyNode | _ArticleHierarchyNode | |||
| _Product | _Product |
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 I_ArticleHierNodeArticle.
-- 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 I_ArticleHierNodeArticle AS
SELECT
ArticleHierarchyNodeArticle.hier_id AS ArticleHierarchy,
cast(ArticleHierarchyNodeArticle.matnr as productnumber preserving type ) AS Article,
ArticleHierarchyNodeArticle.node AS ArticleHierarchyNode,
ArticleHierarchyNodeArticle.date_from AS ArticleAssignmentValidFromDate,
ArticleHierarchyNodeArticle.date_to AS ArticleAssignmentValidToDate,
ArticleHierarchyNodeArticle.mainflg AS HierNdeIsMainAssgmtOfArticle
FROM wrf_matgrp_sku AS ArticleHierarchyNodeArticle
LEFT OUTER JOIN I_ArticleHierarchyNode AS _ArticleHierarchyNode ON ArticleHierarchy = _ArticleHierarchyNode.ArticleHierarchy AND ArticleHierarchyNode = _ArticleHierarchyNode.ArticleHierarchyNode -- association [0..*]
LEFT OUTER JOIN I_ArticleHierarchy AS _ArticleHierarchy ON ArticleHierarchy = _ArticleHierarchy.ArticleHierarchy -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON Article = _Product.Product -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA