I_MCHierNodeCVRstrn
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
| Category | Product Taxonomies |
|---|
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
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Cross Applications |
| Application Component | LO-RFM-MD-MC |
| Capabilities | Data Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Analytical Dimension, Data Source for Data Extraction |
| Package | Cross 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
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| cabn | Characteristic | inner |
| I_ClfnObjectCharcValueBasic | CharcValRestriction | inner |
| klah | MrchdsCatHierNode | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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