I_MrchdsCatHierNodeToParent

DDL: I_MRCHDSCATHIERNODETOPARENT Type: view_entity BASIC

Assignment of Hierarchy Node

I_MrchdsCatHierNodeToParent (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

MerchandiseCategoryHierarchyNode · Cross Applications

I_MrchdsCatHierNodeToParent is a Basic CDS View (Dimension) that provides data about "Assignment of Hierarchy Node" in SAP S/4HANA. It reads from 3 data sources (kssk, klah, klah) and exposes 3 fields with key field MrchdsCategoryHierarchyNode. It has 1 association to related views.

SAP Help Documentation

CategoryProduct Taxonomies
Purpose
This CDS view provides the list of merchandise category hierarchy nodes. This CDS view provides the data to answer the following business questions: Which is the superior merchandise category hierarchy node with which a particular merchandise category hierarchy node (child) is assigned? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: C_TCLA_BKA (Controls user access to class types) C_KLAH_BKP (Authorization for class maintenance)

Structure
Important Fields Important fields in this view include the following: Field Name Description MrchdsCategoryHierarchyNode Merchandise Category Hierarchy Node Note This is a key field. ParentMrchdsCatHierarchyNode Class number

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentLO-RFM-MD-MC
CapabilitiesData Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Analytical Dimension, Data Source for Data Extraction
PackageCross Applications for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides the list of merchandise category hierarchy nodes.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>Which is the superior merchandise category hierarchy node with which a particular merchandise category hierarchy node (child) is assigned?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (3)

SourceAliasJoin Type
kssk MrchdsCatHierAssignment inner
klah MrchdsCatHiernode from
klah ParentMrchdsCatHiernode inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_MrchdsCategoryHierarchyNode _MrchdsCategoryHierarchyNode $projection.MrchdsCategoryHierarchyNode = _MrchdsCategoryHierarchyNode.MrchdsCategoryHierarchyNode

Annotations (15)

NameValueLevelField
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey MrchdsCategoryHierarchyNode view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.sapObjectNodeType.name MrchdsCategoryHierarchyNode view
EndUserText.label Assignment of Hierarchy Node view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY MrchdsCategoryHierarchyNode Merchandise Category Hierarchy Node
ParentMrchdsCatHierarchyNode klah class Class number
_MrchdsCategoryHierarchyNode _MrchdsCategoryHierarchyNode

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_MrchdsCatHierNodeToParent.
-- 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_MrchdsCatHierNodeToParent AS
SELECT
  cast(MrchdsCatHiernode .class as rfm_mrchdcathiernode preserving type ) AS MrchdsCategoryHierarchyNode,
  ParentMrchdsCatHiernode.class AS ParentMrchdsCatHierarchyNode
FROM klah AS MrchdsCatHiernode
INNER JOIN kssk AS MrchdsCatHierAssignment ON /* join condition not captured in parsed metadata */
INNER JOIN klah AS ParentMrchdsCatHiernode ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MrchdsCategoryHierarchyNode AS _MrchdsCategoryHierarchyNode ON MrchdsCategoryHierarchyNode = _MrchdsCategoryHierarchyNode.MrchdsCategoryHierarchyNode  -- association [1..1]
;