F2_Mmim_Matprodhy_Vh
Help-View for product hierarchy
F2_Mmim_Matprodhy_Vh is a CDS View that provides data about "Help-View for product hierarchy" in SAP S/4HANA. It reads from 2 data sources (F_Mmim_Matdoc, F_Mmim_Mvke_Sales_Vh) and exposes 6 fields with key fields Material, SalesOrganization, DistributionChannel. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| F_Mmim_Matdoc | F_Mmim_Matdoc | from |
| F_Mmim_Mvke_Sales_Vh | F_Mmim_Mvke_Sales_Vh | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | F_Mmim_Mathlp_Vh | _Material | $projection.Material = _Material.Material |
| [0..1] | I_ProductHierarchy | _ProductHierarchy | $projection.ProductHierarchy = _ProductHierarchy.ProductHierarchy |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | F2MMIMMATPROHYVH | view | |
| EndUserText.label | Help-View for product hierarchy | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | F_Mmim_Matdoc | Material | Vehicle Model |
| KEY | SalesOrganization | F_Mmim_Mvke_Sales_Vh | SalesOrganization | Sales Organization |
| KEY | DistributionChannel | F_Mmim_Mvke_Sales_Vh | DistributionChannel | RefDistCh-Cust/Mat. |
| ProductHierarchy | F_Mmim_Mvke_Sales_Vh | ProductHierarchy | Prod.hierarchy | |
| _Material | _Material | |||
| _ProductHierarchy | _ProductHierarchy |
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 F2_Mmim_Matprodhy_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: F2MMIMMATPROHYVH
CREATE VIEW F2_Mmim_Matprodhy_Vh AS
SELECT
F_Mmim_Matdoc.Material AS Material,
F_Mmim_Mvke_Sales_Vh.SalesOrganization AS SalesOrganization,
F_Mmim_Mvke_Sales_Vh.DistributionChannel AS DistributionChannel,
F_Mmim_Mvke_Sales_Vh.ProductHierarchy AS ProductHierarchy
FROM F_Mmim_Matdoc
INNER JOIN F_Mmim_Mvke_Sales_Vh ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN F_Mmim_Mathlp_Vh AS _Material ON Material = _Material.Material -- association [1..1]
LEFT OUTER JOIN I_ProductHierarchy AS _ProductHierarchy ON ProductHierarchy = _ProductHierarchy.ProductHierarchy -- association [0..1]
;
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