C_ProcessOrderPopOver

DDL: C_PROCESSORDERPOPOVER Type: view_entity CONSUMPTION Package: ODATA_MPE_MFGORDER

Process Order Popover

C_ProcessOrderPopOver is a Consumption CDS View that provides data about "Process Order Popover" in SAP S/4HANA. It reads from 1 data source (P_MPEProcOrderItemPover) and exposes 82 fields with key fields ManufacturingOrder, ManufacturingOrderItem. It has 8 associations to related views. It is exposed through 1 OData service (ASQL_F0251A). Part of development package ODATA_MPE_MFGORDER.

Data Sources (1)

SourceAliasJoin Type
P_MPEProcOrderItemPover mfgorder from

Associations (8)

CardinalityTargetAliasCondition
[1..1] I_Plant _ProductionPlant $projection.ProductionPlant = _ProductionPlant.Plant
[0..1] I_ProductionLine _ProductionLine $projection.ProductionPlant = _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 = '40'
[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)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Process Order Popover view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F0251A ASQL_F0251A C2 NOT_RELEASED

Fields (82)

KeyFieldSource TableSource FieldDescription
KEY ManufacturingOrder ManufacturingOrder Order
KEY ManufacturingOrderItem ManufacturingOrderItem Manufacturing Order Item
OrderInternalBillOfOperations P_MPEProcOrderItemPover OrderInternalBillOfOperations Order Internal Bill of Operations
ManufacturingOrderCategory P_MPEProcOrderItemPover ManufacturingOrderCategory
ProductionPlant P_MPEProcOrderItemPover ProductionPlant Prod plnt
Material P_MPEProcOrderItemPover Material Vehicle Model
MaterialName MaterialName Material Description
StatusName _StatusText StatusName
ProductionMilestoneStatus ProductionMilestoneStatus
ManufacturingOrderImportance P_MPEProcOrderItemPover ManufacturingOrderImportance
ManufacturingOrderType ManufacturingOrderType
ManufacturingOrderTypeName ManufacturingOrderTypeName
MfgOrderScheduledReleaseDate P_MPEProcOrderItemPover MfgOrderScheduledReleaseDate
MfgOrderScheduledStartDate P_MPEProcOrderItemPover MfgOrderScheduledStartDate
MfgOrderScheduledEndDate P_MPEProcOrderItemPover MfgOrderScheduledEndDate
MfgOrderPlannedStartDate P_MPEProcOrderItemPover MfgOrderPlannedStartDate
MfgOrderPlannedStartTime P_MPEProcOrderItemPover MfgOrderPlannedStartTime
MfgOrderPlannedEndDate P_MPEProcOrderItemPover MfgOrderPlannedEndDate
MfgOrderPlannedEndTime P_MPEProcOrderItemPover MfgOrderPlannedEndTime
MfgOrderActualStartDate P_MPEProcOrderItemPover MfgOrderActualStartDate
MfgOrderActualStartTime P_MPEProcOrderItemPover MfgOrderActualStartTime
MfgOrderActualEndDate P_MPEProcOrderItemPover MfgOrderActualEndDate
MaterialGoodsReceiptDuration MaterialGoodsReceiptDuration GR proc. time
ProductionUnit ProductionUnit
MfgOrderItemProductionUnit MfgOrderItemProductionUnit
UnitOfMeasureNumberOfDecimals _ProdItemUnitBaseUnit UnitOfMeasureNumberOfDecimals
UnitOfMeasureDspNmbrOfDcmls _ProdItemUnitBaseUnit UnitOfMeasureDspNmbrOfDcmls
UnitOfMeasureCommercialName
MfgOrderPlannedTotalQty 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
ProductionLine ProductionLine Production Line
WorkCenterText WorkCenterText Work Center Text
MissingMaterialelseendasMissingMaterial
MaterialComponentIsMissing
OrderExecutionStartIsLate OrderExecutionStartIsLate
OrderExecutionEndIsLate OrderExecutionEndIsLate
MRPPlant P_MPEProcOrderItemPover MRPPlant Plant
MRPController MRPController MRP Controller
MRPControllerName MRPControllerName Controller name
ProductionSupervisor ProductionSupervisor Prodn Supervisor
ProductionSupervisorName ProductionSupervisorName
CurOperationendasCurOperation
CurOperationTextendasCurOperationText
CurOperationUnitendasCurOperationUnit
CurOperationQtyendasCurOperationQty
NextOperationendasNextOperation
NextOperationTextendasNextOperationText
NextOperationUnitendasNextOperationUnit
NextOperationQtyendasNextOperationQty
LeadingMfgOrderMaterial LeadingMfgOrderMaterial Vehicle Model
LeadingMfgOrderMaterialName LeadingMfgOrderMaterialName
LeadingOrder P_MPEProcOrderItemPover LeadingOrder Last order
SoldToParty SoldToParty Sold-to Party
CustomerName CustomerName Name of Customer
AuthorizationGroup AuthorizationGroup AuthorizGroup
WBSElement WBS Internal ID
WBSDescription WBSDescription WBS Element Name
ProjectResponsiblePerson ProjectResponsiblePerson
ProjectResponsiblePersonName ProjectResponsiblePersonName
Project WBS Element
ProjectDescription ProjectDescription Project Name
InspectionLotelsenullendasInspectionLot
LastChangeDateTime Timestamp
_OrdInternalBillOfOperations _OrdInternalBillOfOperations
_MfgOrderCategory _MfgOrderCategory
_ProductionPlant _ProductionPlant
_Material _Material
_MfgOrderType _MfgOrderType
_ProductionVersion _ProductionVersion
_ProductionLine _ProductionLine
_MRPPlant _MRPPlant
_MRPController P_MPEProcOrderItemPover _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_ProcessOrderPopOver.
-- 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_ProcessOrderPopOver AS
SELECT
  ManufacturingOrder,
  ManufacturingOrderItem,
  mfgorder.OrderInternalBillOfOperations AS OrderInternalBillOfOperations,
  mfgorder.ManufacturingOrderCategory AS ManufacturingOrderCategory,
  mfgorder.ProductionPlant AS ProductionPlant,
  mfgorder.Material AS Material,
  MaterialName,
  _StatusText.StatusName AS StatusName,
  ProductionMilestoneStatus,
  mfgorder.ManufacturingOrderImportance AS ManufacturingOrderImportance,
  ManufacturingOrderType,
  ManufacturingOrderTypeName,
  mfgorder.MfgOrderScheduledReleaseDate AS MfgOrderScheduledReleaseDate,
  mfgorder.MfgOrderScheduledStartDate AS MfgOrderScheduledStartDate,
  mfgorder.MfgOrderScheduledEndDate AS MfgOrderScheduledEndDate,
  mfgorder.MfgOrderPlannedStartDate AS MfgOrderPlannedStartDate,
  mfgorder.MfgOrderPlannedStartTime AS MfgOrderPlannedStartTime,
  mfgorder.MfgOrderPlannedEndDate AS MfgOrderPlannedEndDate,
  mfgorder.MfgOrderPlannedEndTime AS MfgOrderPlannedEndTime,
  mfgorder.MfgOrderActualStartDate AS MfgOrderActualStartDate,
  mfgorder.MfgOrderActualStartTime AS MfgOrderActualStartTime,
  mfgorder.MfgOrderActualEndDate AS MfgOrderActualEndDate,
  MaterialGoodsReceiptDuration,
  ProductionUnit,
  MfgOrderItemProductionUnit,
  _ProdItemUnitBaseUnit.UnitOfMeasureNumberOfDecimals AS UnitOfMeasureNumberOfDecimals,
  _ProdItemUnitBaseUnit.UnitOfMeasureDspNmbrOfDcmls AS UnitOfMeasureDspNmbrOfDcmls,
  _ProdItemUnitBaseUnit._Text[1: Language = $session.system_language ].UnitOfMeasureCommercialName AS UnitOfMeasureCommercialName,
  MfgOrderPlannedTotalQty,
  MfgOrderItemPlannedTotalQty,
  MfgOrderPlannedScrapQty,
  MfgOrderItemPlannedScrapQty,
  ActualDeliveredQuantity,
  MfgOrderItemGoodsReceiptQty,
  ExpectedDeviationQuantity,
  cast(OpenQuantity as abap.quan(13, 3)) AS OpenQuantity,
  ProductionVersion,
  ProductionVersionText,
  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('' as abap.unit) else _CurOp.CurOperationUnit end as CurOperationUnit AS CurOperationUnitendasCurOperationUnit,
  case when OrderStatus = 'I0012' or OrderStatus = 'I0076' then _CurOp.CurOperationQty * 0 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 _NextOp.NextOperationQty * 0 else _NextOp.NextOperationQty end as NextOperationQty AS NextOperationQtyendasNextOperationQty,
  LeadingMfgOrderMaterial,
  LeadingMfgOrderMaterialName,
  mfgorder.LeadingOrder AS LeadingOrder,
  SoldToParty,
  CustomerName,
  AuthorizationGroup,
  cast(WBSElement as abap.char( 24 ) ) AS WBSElement,
  WBSDescription,
  ProjectResponsiblePerson,
  ProjectResponsiblePersonName,
  cast(Project as abap.char( 24 ) ) AS Project,
  ProjectDescription,
  case when mfgorder.InspectionLot != '000000000000' then mfgorder.InspectionLot else null end as InspectionLot AS InspectionLotelsenullendasInspectionLot,
  cast(LastChangeDateTime as vdm_lastchangedon ) AS LastChangeDateTime,
  mfgorder._MRPController AS _MRPController
FROM P_MPEProcOrderItemPover AS mfgorder
LEFT OUTER JOIN I_Plant AS _ProductionPlant ON ProductionPlant = _ProductionPlant.Plant  -- association [1..1]
LEFT OUTER JOIN I_ProductionLine AS _ProductionLine ON ProductionPlant = _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 = '40'  -- 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]
;