I_MCHierNodeCVRstrn

DDL: I_MCHIERNODECVRSTRN Type: view_entity BASIC

MCHN Characteristic Value Restriction

I_MCHierNodeCVRstrn (Basic)

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

MCHierNodeCVRstrn · Cross Applications

I_MCHierNodeCVRstrn is a Basic CDS View (Dimension) that provides data about "MCHN Characteristic Value Restriction" in SAP S/4HANA. It reads from 3 data sources (cabn, I_ClfnObjectCharcValueBasic, klah) and exposes 25 fields with key fields MrchdsCategoryHierarchyNode, Characteristic, ClfnCharcValuePositionNumber. It has 4 associations to related views.

SAP Help Documentation

CategoryProduct Taxonomies
Purpose
This CDS view helps to retrieve the information regarding the characteristic values particularly restricted for the merchandise category hierarchy nodes. This CDS view provides the data to answer the following business questions: What are the restricted characteristic values of merchandise category hierarchy nodes? What is the value position of restricted characteristic values? 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. ClfnCharcValuePositionNumber Characteristic value counter Note This is a key field. CharcInternalID Characteristic Internal ID ClfnObjectID Key of Object to be Classified CharcValue Characteristic value CharcFromNumericValue Internal floating point from CharcFromNumericValueUnit Unit of Measurement CharcToNumericValue Internal floating point value to CharcToNumericValueUnit Unit of Measurement CharcValueIntervalType Code for value dependency IsDeleted Deletion Indicator CharcFromDecimalValue Lower Boundary for Numeric Field CharcToDecimalValue Upper Boundary for Numeric Field CharcFromAmount Lower Boundary for Currency Field CharcToAmount Upper Boundary for Currency Field Currency Currency Key CharcFromDate Lower Boundary for Date-Interval CharcToDate Upper Boundary for Date-Interval CharcFromTime Lower Boundary for Time-Interval CharcToTime Upper Boundary for Time-Interval

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 helps to retrieve the information regarding the characteristic values particularly restricted for the merchandise category hierarchy nodes.</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>What are the restricted characteristic values of merchandise category hierarchy nodes? </p></li> <li><p>What is the value position of restricted characteristic values?</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
I_ClfnObjectCharcValueBasic CharcValRestriction inner
klah MrchdsCatHierNode from

Associations (4)

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
[1..1] I_MrchdsCatHierNodeCharc _MrchdsCatHierNodeCharc $projection.MrchdsCategoryHierarchyNode = _MrchdsCatHierNodeCharc.MrchdsCategoryHierarchyNode and $projection.Characteristic = _MrchdsCatHierNodeCharc.Characteristic

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 ClfnCharcValuePositionNumber view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.sapObjectNodeType.name MCHierNodeCVRstrn view
EndUserText.label MCHN Characteristic Value Restriction view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY MrchdsCategoryHierarchyNode Merchandise Category Hierarchy Node
KEY Characteristic cabn atnam Characteristic Name
KEY ClfnCharcValuePositionNumber I_ClfnObjectCharcValueBasic CharcValuePositionNumber Characteristic value counter
CharcInternalID Characteristic Internal ID
ClfnObjectID I_ClfnObjectCharcValueBasic ClfnObjectID Key of Object to be Classified
CharcValue I_ClfnObjectCharcValueBasic CharcValue Characteristic Value
CharcFromNumericValue I_ClfnObjectCharcValueBasic CharcFromNumericValue Internal floating point from
CharcFromNumericValueUnit I_ClfnObjectCharcValueBasic CharcFromNumericValueUnit Unit of Measurement
CharcToNumericValue I_ClfnObjectCharcValueBasic CharcToNumericValue Internal floating point value to
CharcToNumericValueUnit I_ClfnObjectCharcValueBasic CharcToNumericValueUnit Unit of Measurement
CharcValueIntervalType I_ClfnObjectCharcValueBasic CharcValueIntervalType Code for value dependency
IsDeleted I_ClfnObjectCharcValueBasic IsDeleted Deletion Indicator
CharcFromDecimalValue I_ClfnObjectCharcValueBasic CharcFromDecimalValue Lower Boundary for Numeric Field
CharcToDecimalValue I_ClfnObjectCharcValueBasic CharcToDecimalValue Upper Boundary for Numeric Field
CharcFromAmount I_ClfnObjectCharcValueBasic CharcFromAmount Lower Boundary for Currency Field
CharcToAmount I_ClfnObjectCharcValueBasic CharcToAmount Upper Boundary for Currency Field
Currency I_ClfnObjectCharcValueBasic Currency Valuation Crcy
CharcFromDate I_ClfnObjectCharcValueBasic CharcFromDate Lower Boundary for Date-Interval
CharcToDate I_ClfnObjectCharcValueBasic CharcToDate Upper Boundary for Date-Interval
CharcFromTime I_ClfnObjectCharcValueBasic CharcFromTime Lower Boundary for Time-Interval
CharcToTime I_ClfnObjectCharcValueBasic CharcToTime Upper Boundary for Time-Interval
_Characteristic _Characteristic
_CharacteristicDesc _CharacteristicDesc
_MrchdsCategoryHierarchyNode _MrchdsCategoryHierarchyNode
_MrchdsCatHierNodeCharc _MrchdsCatHierNodeCharc

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_MCHierNodeCVRstrn.
-- 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_MCHierNodeCVRstrn AS
SELECT
  cast(MrchdsCatHierNode.class as rfm_mrchdcathiernode preserving type ) AS MrchdsCategoryHierarchyNode,
  Characteristic.atnam AS Characteristic,
  CharcValRestriction.CharcValuePositionNumber AS ClfnCharcValuePositionNumber,
  cast (Characteristic.atinn as atinn_no_conv preserving type ) AS CharcInternalID,
  CharcValRestriction.ClfnObjectID AS ClfnObjectID,
  CharcValRestriction.CharcValue AS CharcValue,
  CharcValRestriction.CharcFromNumericValue AS CharcFromNumericValue,
  CharcValRestriction.CharcFromNumericValueUnit AS CharcFromNumericValueUnit,
  CharcValRestriction.CharcToNumericValue AS CharcToNumericValue,
  CharcValRestriction.CharcToNumericValueUnit AS CharcToNumericValueUnit,
  CharcValRestriction.CharcValueIntervalType AS CharcValueIntervalType,
  CharcValRestriction.IsDeleted AS IsDeleted,
  CharcValRestriction.CharcFromDecimalValue AS CharcFromDecimalValue,
  CharcValRestriction.CharcToDecimalValue AS CharcToDecimalValue,
  CharcValRestriction.CharcFromAmount AS CharcFromAmount,
  CharcValRestriction.CharcToAmount AS CharcToAmount,
  CharcValRestriction.Currency AS Currency,
  CharcValRestriction.CharcFromDate AS CharcFromDate,
  CharcValRestriction.CharcToDate AS CharcToDate,
  CharcValRestriction.CharcFromTime AS CharcFromTime,
  CharcValRestriction.CharcToTime AS CharcToTime
FROM klah AS MrchdsCatHierNode
INNER JOIN I_ClfnObjectCharcValueBasic AS CharcValRestriction 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]
LEFT OUTER JOIN I_MrchdsCatHierNodeCharc AS _MrchdsCatHierNodeCharc ON MrchdsCategoryHierarchyNode = _MrchdsCatHierNodeCharc.MrchdsCategoryHierarchyNode AND Characteristic = _MrchdsCatHierNodeCharc.Characteristic  -- association [1..1]
;