I_MrchdsCatHierNodeCharc

DDL: I_MRCHDSCATHIERNODECHARC Type: view_entity BASIC

Merchandise Cat Hier Node Characteristic

I_MrchdsCatHierNodeCharc (Basic)

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

MrchdsCatHierNodeCharc · Cross Applications

I_MrchdsCatHierNodeCharc is a Basic CDS View (Dimension) that provides data about "Merchandise Cat Hier Node Characteristic" in SAP S/4HANA. It reads from 3 data sources (cabn, ksml, klah) and exposes 6 fields with key fields MrchdsCategoryHierarchyNode, Characteristic. It has 3 associations to related views.

SAP Help Documentation

CategoryProduct Taxonomies
Purpose
This CDS view provides the list of characteristics assigned to merchandise category hierarchy nodes. This CDS view provides the data to answer the following business questions: What are the characteristics associated with a given merchandise category hierarchy node? 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. Characteristic Characteristic Name Note This is a key field. CharcInternalID Characteristic Internal ID

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 characteristics assigned to merchandise category hierarchy nodes.</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>What are the characteristics associated with a given merchandise category hierarchy node?</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
cabn Characteristic inner
ksml CharacteristicAssignment inner
klah MrchdsCatHierNode from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_ClfnCharacteristic _Characteristic $projection.CharcInternalID = _Characteristic.CharcInternalID and _Characteristic.TimeIntervalNumber = '0000'
[0..*] I_ClfnCharcDesc _CharacteristicDesc $projection.CharcInternalID = _CharacteristicDesc.CharcInternalID
[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 Characteristic 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 MrchdsCatHierNodeCharc view
EndUserText.label Merchandise Cat Hier Node Characteristic view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY MrchdsCategoryHierarchyNode Merchandise Category Hierarchy Node
KEY Characteristic cabn atnam Characteristic Name
CharcInternalID Characteristic Internal ID
_Characteristic _Characteristic
_CharacteristicDesc _CharacteristicDesc
_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_MrchdsCatHierNodeCharc.
-- 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_MrchdsCatHierNodeCharc AS
SELECT
  cast(MrchdsCatHierNode.class as rfm_mrchdcathiernode preserving type ) AS MrchdsCategoryHierarchyNode,
  Characteristic.atnam AS Characteristic,
  cast (Characteristic.atinn as atinn_no_conv preserving type ) AS CharcInternalID
FROM klah AS MrchdsCatHierNode
INNER JOIN ksml AS CharacteristicAssignment ON /* join condition not captured in parsed metadata */
INNER JOIN cabn AS Characteristic ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ClfnCharacteristic AS _Characteristic ON CharcInternalID = _Characteristic.CharcInternalID AND _Characteristic.TimeIntervalNumber = '0000'  -- association [1..1]
LEFT OUTER JOIN I_ClfnCharcDesc AS _CharacteristicDesc ON CharcInternalID = _CharacteristicDesc.CharcInternalID  -- association [0..*]
LEFT OUTER JOIN I_MrchdsCategoryHierarchyNode AS _MrchdsCategoryHierarchyNode ON MrchdsCategoryHierarchyNode = _MrchdsCategoryHierarchyNode.MrchdsCategoryHierarchyNode  -- association [1..1]
;