F_Mmim_I_Material_Vh
Material
F_Mmim_I_Material_Vh is a CDS View that provides data about "Material" in SAP S/4HANA. It reads from 2 data sources (F_Mmim_Matelement, mara) and exposes 16 fields. It has 6 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| F_Mmim_Matelement | F_Mmim_Matelement | inner |
| mara | mara | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_MaterialText | _Text | $projection.Material = _Text.Material |
| [0..1] | I_MaterialType | _MaterialType | $projection.MaterialType = _MaterialType.MaterialType |
| [0..1] | I_MaterialGroup | _MaterialGroup | $projection.MaterialGroup = _MaterialGroup.MaterialGroup |
| [0..1] | I_UnitOfMeasure | _BaseUnit | $projection.MaterialBaseUnit = _BaseUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _WeightUnit | $projection.MaterialWeightUnit = _WeightUnit.UnitOfMeasure |
| [0..*] | I_MaterialPlant | _MaterialPlant | $projection.Material = _MaterialPlant.Material |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | FMMIMIMATERIALVH | view | |
| EndUserText.label | Material | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| matnrasMaterial | Material | |||
| MaterialName | ||||
| MaterialExternalID | ||||
| mtartasMaterialType | Material Type | |||
| _MaterialType | _MaterialType | |||
| matklasMaterialGroup | Material Group | |||
| _MaterialGroup | _MaterialGroup | |||
| meinsasMaterialBaseUnit | Base Unit of Measure | |||
| _BaseUnit | _BaseUnit | |||
| brgewasMaterialGrossWeight | Gross Weight | |||
| ntgewasMaterialNetWeight | Net Weight | |||
| geweiasMaterialWeightUnit | Weight Unit | |||
| _WeightUnit | _WeightUnit | |||
| MaterialManufacturerNumber | mara | mfrnr | Manufacturer | |
| MaterialManufacturerPartNumber | mara | mfrpn | Mfr Part Number | |
| _MaterialPlant | _MaterialPlant |
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 F_Mmim_I_Material_Vh.
-- 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: FMMIMIMATERIALVH
CREATE VIEW F_Mmim_I_Material_Vh AS
SELECT
_Text[1: Language=$session.system_language].MaterialName AS MaterialName,
cast(mara.matnr_external as nsdm_mat_external preserving type ) AS MaterialExternalID,
mara.mfrnr AS MaterialManufacturerNumber,
mara.mfrpn AS MaterialManufacturerPartNumber
FROM mara
INNER JOIN F_Mmim_Matelement ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaterialText AS _Text ON Material = _Text.Material -- association [0..*]
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_UnitOfMeasure AS _BaseUnit ON MaterialBaseUnit = _BaseUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _WeightUnit ON MaterialWeightUnit = _WeightUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_MaterialPlant AS _MaterialPlant ON Material = _MaterialPlant.Material -- association [0..*]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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