F2_Mmim_Matprodhy_Vh

DDL: F2_MMIM_MATPRODHY_VH SQL: F2MMIMMATPROHYVH Type: view

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)

SourceAliasJoin Type
F_Mmim_Matdoc F_Mmim_Matdoc from
F_Mmim_Mvke_Sales_Vh F_Mmim_Mvke_Sales_Vh inner

Associations (2)

CardinalityTargetAliasCondition
[1..1] F_Mmim_Mathlp_Vh _Material $projection.Material = _Material.Material
[0..1] I_ProductHierarchy _ProductHierarchy $projection.ProductHierarchy = _ProductHierarchy.ProductHierarchy

Annotations (9)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;