MMIMProductionOrderVH

DDL: MMIMPRODUCTIONORDERVH SQL: MMIMPRODORDVH Type: view Package: MBND_CLOUD_BL

Value Help for Production Plants

MMIMProductionOrderVH is a CDS View that provides data about "Value Help for Production Plants" in SAP S/4HANA. It reads from 1 data source (I_OrderItem) and exposes 13 fields with key fields OrderID, OrderItem. It has 2 associations to related views. Part of development package MBND_CLOUD_BL.

Data Sources (1)

SourceAliasJoin Type
I_OrderItem I_OrderItem from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_MaterialText _Text $projection.Material = _Text.Material and _Text.Language = $session.system_language
[1..1] I_OrderTypeText _OrderTypeText $projection.OrderType = _OrderTypeText.OrderType and _OrderTypeText.Language = $session.system_language

Annotations (13)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName MMIMPRODORDVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.dataCategory #VALUE_HELP view
EndUserText.label Value Help for Production Plants view
Search.searchable true view
Consumption.ranked true view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY OrderID OrderID Order ID
KEY OrderItem OrderItem
OrderType OrderType Order Type
OrderTypeName _OrderTypeText OrderTypeName
Material Material Vehicle Model
MaterialName _Text MaterialName Material Description
PlannedPlant MRPPlant Plant
PlannedPlantName _MRPPlant PlantName Plant Name
ProductionPlant ProductionPlant Prod plnt
ProductionPlantName _ProductionPlant PlantName Plant Name
PlannedStartDate _Order PlannedStartDate Latest Planned Start
PlannedEndDate _Order PlannedEndDate Ltst Planned Finish
OrderCategory OrderCategory Order Category

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 MMIMProductionOrderVH.
-- 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: MMIMPRODORDVH

CREATE VIEW MMIMProductionOrderVH AS
SELECT
  OrderID,
  OrderItem,
  OrderType,
  _OrderTypeText.OrderTypeName AS OrderTypeName,
  Material,
  _Text.MaterialName AS MaterialName,
  MRPPlant AS PlannedPlant,
  _MRPPlant.PlantName AS PlannedPlantName,
  ProductionPlant,
  _ProductionPlant.PlantName AS ProductionPlantName,
  _Order.PlannedStartDate AS PlannedStartDate,
  _Order.PlannedEndDate AS PlannedEndDate,
  OrderCategory
FROM I_OrderItem
LEFT OUTER JOIN I_MaterialText AS _Text ON Material = _Text.Material AND _Text.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_OrderTypeText AS _OrderTypeText ON OrderType = _OrderTypeText.OrderType AND _OrderTypeText.Language = $session.system_language  -- association [1..1]
;