C_MM_MaterialValueHelp
Material Value Help
C_MM_MaterialValueHelp is a Consumption CDS View that provides data about "Material Value Help" in SAP S/4HANA. It reads from 1 data source (I_MaterialPlant) and exposes 22 fields with key fields Material, Plant. It has 9 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaterialPlant | I_MaterialPlant | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MaterialText | _MaterialText | $projection.Material = _MaterialText.Material and _MaterialText.Language = $session.system_language |
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_MaterialGroupText | _MaterialGroupText | $projection.MaterialGroup = _MaterialGroupText.MaterialGroup and _MaterialGroupText.Language = $session.system_language |
| [0..1] | I_MaterialTypeText | _MaterialTypeText | $projection.MaterialType = _MaterialTypeText.MaterialType and _MaterialTypeText.Language = $session.system_language |
| [0..1] | I_Producttype | _ProductType | $projection.MaterialType = _ProductType.ProductType |
| [0..1] | I_MaterialType | _MaterialType | $projection.MaterialType = _MaterialType.MaterialType |
| [0..1] | I_MaterialGroup | _MaterialGroup | $projection.MaterialGroup = _MaterialGroup.MaterialGroup |
| [0..1] | I_CO2eqFprntAvgRltvBaseUoM | _CO2eqFprntAvgRltvBaseUoM | $projection.Material = _CO2eqFprntAvgRltvBaseUoM.Product and $projection.Plant = _CO2eqFprntAvgRltvBaseUoM.Plant |
| [0..1] | I_UnitOfMeasure | _UnitOfMeasure | $projection.PFMFootprintUnit = _UnitOfMeasure.UnitOfMeasure |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMMMATL_VH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| EndUserText.label | Material Value Help | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Consumption.ranked | true | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | I_MaterialPlant | Material | Vehicle Model |
| KEY | Plant | I_MaterialPlant | Plant | Valuation Area |
| ProductExternalID | _Material | ProductExternalID | MaterialExternal | |
| MaterialName | ||||
| PlantName | _Plant | PlantName | Plant Name | |
| MaterialGroup | _Material | ProductGroup | Product Sold Group | |
| MaterialGroupName | _MaterialGroupText | MaterialGroupName | prod Grp Desc. | |
| MaterialType | _Material | ProductType | Product Type Group | |
| AuthorizationGroup | _Material | AuthorizationGroup | AuthorizGroup | |
| MaterialTypeName | _MaterialTypeText | MaterialTypeName | Material Type Desc. | |
| MaterialBaseUnit | _Material | BaseUnit | Unit of Measure | |
| ProductTypeCode | _ProductType | ProductTypeCode | Product Type Group | |
| ProductTypeName | Product Type Desc. | |||
| PFMFootprintQuantity | _CO2eqFprntAvgRltvBaseUoM | PFMFootprintFxdPtDcmlQuantity | Quantity | |
| PFMFootprintUnit | _CO2eqFprntAvgRltvBaseUoM | PFMFootprintUnit | CO2e Footprint Unit | |
| _Plant | _Plant | |||
| _MaterialType | _MaterialType | |||
| _ProductType | _ProductType | |||
| _MaterialGroup | _MaterialGroup | |||
| _BaseUnit | _BaseUnitOfMeasure | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _Material | _Material |
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 C_MM_MaterialValueHelp.
-- 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.
-- SQL view name: CMMMATL_VH
CREATE VIEW C_MM_MaterialValueHelp AS
SELECT
I_MaterialPlant.Material AS Material,
I_MaterialPlant.Plant AS Plant,
_Material.ProductExternalID AS ProductExternalID,
_MaterialText[1: Language = $session.system_language].MaterialName AS MaterialName,
_Plant.PlantName AS PlantName,
_Material.ProductGroup AS MaterialGroup,
_MaterialGroupText.MaterialGroupName AS MaterialGroupName,
_Material.ProductType AS MaterialType,
_Material.AuthorizationGroup AS AuthorizationGroup,
_MaterialTypeText.MaterialTypeName AS MaterialTypeName,
_Material.BaseUnit AS MaterialBaseUnit,
_ProductType.ProductTypeCode AS ProductTypeCode,
_ProductType._ProductTypeCode._Text[1: Language = $session.system_language].Name AS ProductTypeName,
_CO2eqFprntAvgRltvBaseUoM.PFMFootprintFxdPtDcmlQuantity AS PFMFootprintQuantity,
_CO2eqFprntAvgRltvBaseUoM.PFMFootprintUnit AS PFMFootprintUnit
FROM I_MaterialPlant
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material AND _MaterialText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_MaterialGroupText AS _MaterialGroupText ON MaterialGroup = _MaterialGroupText.MaterialGroup AND _MaterialGroupText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_MaterialTypeText AS _MaterialTypeText ON MaterialType = _MaterialTypeText.MaterialType AND _MaterialTypeText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_Producttype AS _ProductType ON MaterialType = _ProductType.ProductType -- association [0..1]
LEFT OUTER JOIN I_MaterialType AS _MaterialType ON MaterialType = _MaterialType.MaterialType -- association [0..1]
LEFT OUTER JOIN I_MaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup -- association [0..1]
LEFT OUTER JOIN I_CO2eqFprntAvgRltvBaseUoM AS _CO2eqFprntAvgRltvBaseUoM ON Material = _CO2eqFprntAvgRltvBaseUoM.Product AND Plant = _CO2eqFprntAvgRltvBaseUoM.Plant -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON PFMFootprintUnit = _UnitOfMeasure.UnitOfMeasure -- 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