C_MPEProdnOrderPover
Production Order Popover
C_MPEProdnOrderPover is a Consumption CDS View that provides data about "Production Order Popover" in SAP S/4HANA. It reads from 1 data source (P_MPEProdnOrderItemPover) and exposes 86 fields with key fields ManufacturingOrder, ManufacturingOrderItem. It has 9 associations to related views. It is exposed through 1 OData service (ASQL_F0251A). Part of development package ODATA_MPE_MFGORDER.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_MPEProdnOrderItemPover | mfgorder | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [1..1] | I_Plant | _ProductionPlant | $projection.ProductionPlant = _ProductionPlant.Plant |
| [0..1] | I_ProductionLine | _ProductionLine | $projection.Plant = _ProductionLine.Plant and $projection.ProductionLine = _ProductionLine.ProductionLine |
| [0..1] | I_Customer | _SoldToParty | $projection.SoldToParty = _SoldToParty.Customer |
| [0..1] | P_MPEProdnOrdMatlIsMissing | _ProdnOrdMaterialMissing | $projection.OrderInternalBillOfOperations = _ProdnOrdMaterialMissing.OrderInternalBillOfOperations and $projection.ManufacturingOrder = _ProdnOrdMaterialMissing.ManufacturingOrder |
| [0..1] | P_MPEProdnOrdMissingMatl | _ProdnOrdMissingMaterial | $projection.OrderInternalBillOfOperations = _ProdnOrdMissingMaterial.OrderInternalBillOfOperations and $projection.ManufacturingOrder = _ProdnOrdMissingMaterial.ManufacturingOrder and _ProdnOrdMissingMaterial.ManufacturingOrderCategory = '10' |
| [1..1] | P_MPEProdnOrdCurOpData | _CurOp | $projection.OrderInternalBillOfOperations = _CurOp.OrderInternalBillOfOperations and $projection.ManufacturingOrder = _CurOp.OrderID |
| [1..1] | P_MPEProdnOrdNextOpData | _NextOp | $projection.OrderInternalBillOfOperations = _NextOp.OrderInternalBillOfOperations and $projection.ManufacturingOrder = _NextOp.OrderID |
| [1..1] | I_UnitOfMeasure | _ProdItemUnitBaseUnit | $projection.MfgOrderItemProductionUnit = _ProdItemUnitBaseUnit.UnitOfMeasure |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Production Order Popover | view | |
| VDM.viewType | #CONSUMPTION | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F0251A | ASQL_F0251A | C2 | NOT_RELEASED |
Fields (86)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ManufacturingOrder | ManufacturingOrder | Order | |
| KEY | ManufacturingOrderItem | ManufacturingOrderItem | Manufacturing Order Item | |
| OrderInternalBillOfOperations | P_MPEProdnOrderItemPover | OrderInternalBillOfOperations | Order Internal Bill of Operations | |
| ManufacturingOrderCategory | P_MPEProdnOrderItemPover | ManufacturingOrderCategory | ||
| ProductionPlant | P_MPEProdnOrderItemPover | ProductionPlant | Prod plnt | |
| Material | P_MPEProdnOrderItemPover | Material | Vehicle Model | |
| MaterialName | MaterialName | Material Description | ||
| StatusName | ||||
| ProductionMilestoneStatus | ProductionMilestoneStatus | |||
| ManufacturingOrderImportance | P_MPEProdnOrderItemPover | ManufacturingOrderImportance | ||
| ManufacturingOrderType | ManufacturingOrderType | |||
| ManufacturingOrderTypeName | ManufacturingOrderTypeName | |||
| MfgOrderScheduledReleaseDate | P_MPEProdnOrderItemPover | MfgOrderScheduledReleaseDate | ||
| MfgOrderScheduledEndDate | P_MPEProdnOrderItemPover | MfgOrderScheduledEndDate | ||
| MfgOrderPlannedStartDate | P_MPEProdnOrderItemPover | MfgOrderPlannedStartDate | ||
| MfgOrderPlannedStartTime | P_MPEProdnOrderItemPover | MfgOrderPlannedStartTime | ||
| MfgOrderPlannedEndDate | P_MPEProdnOrderItemPover | MfgOrderPlannedEndDate | ||
| MfgOrderPlannedEndTime | P_MPEProdnOrderItemPover | MfgOrderPlannedEndTime | ||
| MfgOrderScheduledStartDate | P_MPEProdnOrderItemPover | MfgOrderScheduledStartDate | ||
| MfgOrderActualStartDate | P_MPEProdnOrderItemPover | MfgOrderActualStartDate | ||
| MfgOrderActualStartTime | P_MPEProdnOrderItemPover | MfgOrderActualStartTime | ||
| MfgOrderActualEndDate | P_MPEProdnOrderItemPover | MfgOrderActualEndDate | ||
| MaterialGoodsReceiptDuration | MaterialGoodsReceiptDuration | GR proc. time | ||
| ProductionUnit | P_MPEProdnOrderItemPover | ProductionUnit | ||
| MfgOrderItemProductionUnit | MfgOrderItemProductionUnit | |||
| UnitOfMeasureNumberOfDecimals | _ProdItemUnitBaseUnit | UnitOfMeasureNumberOfDecimals | ||
| UnitOfMeasureDspNmbrOfDcmls | _ProdItemUnitBaseUnit | UnitOfMeasureDspNmbrOfDcmls | ||
| UnitOfMeasureCommercialName | ||||
| MfgOrderPlannedTotalQty | P_MPEProdnOrderItemPover | MfgOrderPlannedTotalQty | ||
| MfgOrderItemPlannedTotalQty | MfgOrderItemPlannedTotalQty | |||
| MfgOrderPlannedScrapQty | MfgOrderPlannedScrapQty | |||
| MfgOrderItemPlannedScrapQty | MfgOrderItemPlannedScrapQty | |||
| ActualDeliveredQuantity | ActualDeliveredQuantity | Delivered Quantity | ||
| MfgOrderItemGoodsReceiptQty | MfgOrderItemGoodsReceiptQty | |||
| ExpectedDeviationQuantity | ExpectedDeviationQuantity | |||
| OpenQuantity | PBE Entry Open Qty | |||
| ProductionVersion | ProductionVersion | Version ID | ||
| ProductionVersionText | ProductionVersionText | |||
| Plant | Plant | Valuation Area | ||
| ProductionLine | ProductionLine | Production Line | ||
| WorkCenterText | WorkCenterText | Work Center Text | ||
| MissingMaterialelseendasMissingMaterial | ||||
| MaterialComponentIsMissing | ||||
| OrderExecutionStartIsLate | OrderExecutionStartIsLate | |||
| OrderExecutionEndIsLate | OrderExecutionEndIsLate | |||
| MRPPlant | P_MPEProdnOrderItemPover | MRPPlant | Plant | |
| MRPController | MRPController | MRP Controller | ||
| MRPControllerName | MRPControllerName | Controller name | ||
| ProductionSupervisor | ProductionSupervisor | Prodn Supervisor | ||
| ProductionSupervisorName | ProductionSupervisorName | |||
| CurOperationendasCurOperation | ||||
| CurOperationTextendasCurOperationText | ||||
| CurOperationQtyendasCurOperationQty | ||||
| NextOperationendasNextOperation | ||||
| NextOperationTextendasNextOperationText | ||||
| NextOperationUnitendasNextOperationUnit | ||||
| NextOperationQtyendasNextOperationQty | ||||
| LeadingMfgOrderMaterial | LeadingMfgOrderMaterial | Vehicle Model | ||
| LeadingMfgOrderMaterialName | LeadingMfgOrderMaterialName | |||
| LeadingOrder | P_MPEProdnOrderItemPover | LeadingOrder | Last order | |
| SDDocument | SD Document | |||
| SDDocumentItem | ||||
| SDDocumentCategory | SDDocumentCategory | Document Cat. | ||
| SDDocumentCategoryName | SDDocumentCategoryName | |||
| SoldToParty | SoldToParty | Sold-to Party | ||
| CustomerName | CustomerName | Name of Customer | ||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| WBSElement | WBSElement | WBS Internal ID | ||
| WBSDescription | WBSDescription | WBS Element Name | ||
| ProjectResponsiblePerson | ProjectResponsiblePerson | |||
| ProjectResponsiblePersonName | ProjectResponsiblePersonName | |||
| Project | Project | WBS Element | ||
| ProjectDescription | ProjectDescription | Project Name | ||
| LastChangeDateTime | Timestamp | |||
| _OrdInternalBillOfOperations | _OrdInternalBillOfOperations | |||
| _MfgOrderCategory | _MfgOrderCategory | |||
| _ProductionPlant | _ProductionPlant | |||
| _Material | _Material | |||
| _MfgOrderType | _MfgOrderType | |||
| _ProductionVersion | _ProductionVersion | |||
| _Plant | _Plant | |||
| _ProductionLine | _ProductionLine | |||
| _MRPPlant | _MRPPlant | |||
| _MRPController | P_MPEProdnOrderItemPover | _MRPController | ||
| _ProductionSupervisor | _ProductionSupervisor | |||
| _SoldToParty | _SoldToParty |
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_MPEProdnOrderPover.
-- 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.
CREATE VIEW C_MPEProdnOrderPover AS
SELECT
ManufacturingOrder,
ManufacturingOrderItem,
mfgorder.OrderInternalBillOfOperations AS OrderInternalBillOfOperations,
mfgorder.ManufacturingOrderCategory AS ManufacturingOrderCategory,
mfgorder.ProductionPlant AS ProductionPlant,
mfgorder.Material AS Material,
MaterialName,
mfgorder._StatusText.StatusName AS StatusName,
ProductionMilestoneStatus,
mfgorder.ManufacturingOrderImportance AS ManufacturingOrderImportance,
ManufacturingOrderType,
ManufacturingOrderTypeName,
mfgorder.MfgOrderScheduledReleaseDate AS MfgOrderScheduledReleaseDate,
mfgorder.MfgOrderScheduledEndDate AS MfgOrderScheduledEndDate,
mfgorder.MfgOrderPlannedStartDate AS MfgOrderPlannedStartDate,
mfgorder.MfgOrderPlannedStartTime AS MfgOrderPlannedStartTime,
mfgorder.MfgOrderPlannedEndDate AS MfgOrderPlannedEndDate,
mfgorder.MfgOrderPlannedEndTime AS MfgOrderPlannedEndTime,
mfgorder.MfgOrderScheduledStartDate AS MfgOrderScheduledStartDate,
mfgorder.MfgOrderActualStartDate AS MfgOrderActualStartDate,
mfgorder.MfgOrderActualStartTime AS MfgOrderActualStartTime,
mfgorder.MfgOrderActualEndDate AS MfgOrderActualEndDate,
MaterialGoodsReceiptDuration,
mfgorder.ProductionUnit AS ProductionUnit,
MfgOrderItemProductionUnit,
_ProdItemUnitBaseUnit.UnitOfMeasureNumberOfDecimals AS UnitOfMeasureNumberOfDecimals,
_ProdItemUnitBaseUnit.UnitOfMeasureDspNmbrOfDcmls AS UnitOfMeasureDspNmbrOfDcmls,
_ProdItemUnitBaseUnit._Text[1: Language = $session.system_language ].UnitOfMeasureCommercialName AS UnitOfMeasureCommercialName,
mfgorder.MfgOrderPlannedTotalQty AS MfgOrderPlannedTotalQty,
MfgOrderItemPlannedTotalQty,
MfgOrderPlannedScrapQty,
MfgOrderItemPlannedScrapQty,
ActualDeliveredQuantity,
MfgOrderItemGoodsReceiptQty,
ExpectedDeviationQuantity,
cast(OpenQuantity as abap.quan(13, 3)) AS OpenQuantity,
ProductionVersion,
ProductionVersionText,
Plant,
ProductionLine,
WorkCenterText,
case _ProdnOrdMaterialMissing.MaterialComponentIsMissing when 'X' then _ProdnOrdMissingMaterial.MissingMaterial else '' end as MissingMaterial AS MissingMaterialelseendasMissingMaterial,
cast(_ProdnOrdMaterialMissing.MaterialComponentIsMissing as xfehl preserving type) AS MaterialComponentIsMissing,
OrderExecutionStartIsLate,
OrderExecutionEndIsLate,
mfgorder.MRPPlant AS MRPPlant,
MRPController,
MRPControllerName,
ProductionSupervisor,
ProductionSupervisorName,
case when OrderStatus = 'I0012' or OrderStatus = 'I0076' then '' else _CurOp.CurOperation end as CurOperation AS CurOperationendasCurOperation,
case when OrderStatus = 'I0012' or OrderStatus = 'I0076' then '' else _CurOp.CurOperationText end as CurOperationText AS CurOperationTextendasCurOperationText,
case when OrderStatus = 'I0012' or OrderStatus = 'I0076' then cast( 0 as abap.quan(13,3) ) else _CurOp.CurOperationQty end as CurOperationQty AS CurOperationQtyendasCurOperationQty,
case when OrderStatus = 'I0012' or OrderStatus = 'I0076' then '' else _NextOp.NextOperation end as NextOperation AS NextOperationendasNextOperation,
case when OrderStatus = 'I0012' or OrderStatus = 'I0076' then '' else _NextOp.NextOperationText end as NextOperationText AS NextOperationTextendasNextOperationText,
case when OrderStatus = 'I0012' or OrderStatus = 'I0076' then cast('' as abap.unit) else _NextOp.NextOperationUnit end as NextOperationUnit AS NextOperationUnitendasNextOperationUnit,
case when OrderStatus = 'I0012' or OrderStatus = 'I0076' then cast( 0 as abap.quan(13,3) ) else _NextOp.NextOperationQty end as NextOperationQty AS NextOperationQtyendasNextOperationQty,
LeadingMfgOrderMaterial,
LeadingMfgOrderMaterialName,
mfgorder.LeadingOrder AS LeadingOrder,
cast(SDDocument as vbeln_va preserving type) AS SDDocument,
cast(SDDocumentItem as abap.int4 ) AS SDDocumentItem,
SDDocumentCategory,
SDDocumentCategoryName,
SoldToParty,
CustomerName,
AuthorizationGroup,
WBSElement,
WBSDescription,
ProjectResponsiblePerson,
ProjectResponsiblePersonName,
Project,
ProjectDescription,
cast(LastChangeDateTime as vdm_lastchangedon ) AS LastChangeDateTime,
mfgorder._MRPController AS _MRPController
FROM P_MPEProdnOrderItemPover AS mfgorder
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [1..1]
LEFT OUTER JOIN I_Plant AS _ProductionPlant ON ProductionPlant = _ProductionPlant.Plant -- association [1..1]
LEFT OUTER JOIN I_ProductionLine AS _ProductionLine ON Plant = _ProductionLine.Plant AND ProductionLine = _ProductionLine.ProductionLine -- association [0..1]
LEFT OUTER JOIN I_Customer AS _SoldToParty ON SoldToParty = _SoldToParty.Customer -- association [0..1]
LEFT OUTER JOIN P_MPEProdnOrdMatlIsMissing AS _ProdnOrdMaterialMissing ON OrderInternalBillOfOperations = _ProdnOrdMaterialMissing.OrderInternalBillOfOperations AND ManufacturingOrder = _ProdnOrdMaterialMissing.ManufacturingOrder -- association [0..1]
LEFT OUTER JOIN P_MPEProdnOrdMissingMatl AS _ProdnOrdMissingMaterial ON OrderInternalBillOfOperations = _ProdnOrdMissingMaterial.OrderInternalBillOfOperations AND ManufacturingOrder = _ProdnOrdMissingMaterial.ManufacturingOrder AND _ProdnOrdMissingMaterial.ManufacturingOrderCategory = '10' -- association [0..1]
LEFT OUTER JOIN P_MPEProdnOrdCurOpData AS _CurOp ON OrderInternalBillOfOperations = _CurOp.OrderInternalBillOfOperations AND ManufacturingOrder = _CurOp.OrderID -- association [1..1]
LEFT OUTER JOIN P_MPEProdnOrdNextOpData AS _NextOp ON OrderInternalBillOfOperations = _NextOp.OrderInternalBillOfOperations AND ManufacturingOrder = _NextOp.OrderID -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _ProdItemUnitBaseUnit ON MfgOrderItemProductionUnit = _ProdItemUnitBaseUnit.UnitOfMeasure -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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