C_MRPProcessOrderCard

DDL: C_MRPPROCESSORDERCARD Type: view_entity CONSUMPTION Package: ODATA_PP_MRP

Quick view for MRP Process Order

C_MRPProcessOrderCard is a Consumption CDS View that provides data about "Quick view for MRP Process Order" in SAP S/4HANA. It reads from 1 data source (P_MPEProcOrderItemPover) and exposes 82 fields with key fields ManufacturingOrder, ManufacturingOrderItem. It has 4 associations to related views. It is exposed through 4 OData services (ASQL_F0266B, ASQL_F7681, UI_MRPMANUFACTURINGORDER, ...). Part of development package ODATA_PP_MRP.

Data Sources (1)

SourceAliasJoin Type
P_MPEProcOrderItemPover P_MPEProcOrderItemPover from

Associations (4)

CardinalityTargetAliasCondition
[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

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Quick view for MRP Process Order view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

OData Services (4)

ServiceBindingVersionContractRelease
ASQL_F0266B ASQL_F0266B C2 NOT_RELEASED
ASQL_F7681 ASQL_F7681 C2 NOT_RELEASED
UI_MRPMANUFACTURINGORDER UI_MRPMANUFACTURINGORDER V4 C1 NOT_RELEASED
UI_MULTILEVELORDERREPORT UI_MULTILEVELORDERREPORT V4 C1 NOT_RELEASED

Fields (82)

KeyFieldSource TableSource FieldDescription
KEY ManufacturingOrder ManufacturingOrder Order
KEY ManufacturingOrderItem ManufacturingOrderItem Manufacturing Order Item
ManufacturingOrderCategory ManufacturingOrderCategory
MRPController MRPController MRP Controller
MRPControllerName MRPControllerName Controller name
ProductionSupervisor ProductionSupervisor Prodn Supervisor
ProductionSupervisorName ProductionSupervisorName
ManufacturingOrderType ManufacturingOrderType
ManufacturingOrderTypeName ManufacturingOrderTypeName
StatusName _StatusText StatusName
MfgOrderPlannedStartDate MfgOrderPlannedStartDate
MfgOrderScheduledReleaseDate MfgOrderScheduledReleaseDate
MfgOrderScheduledStartDate MfgOrderScheduledStartDate
MfgOrderScheduledEndDate MfgOrderScheduledEndDate
MfgOrderPlannedEndDate MfgOrderPlannedEndDate
MfgOrderActualStartDate MfgOrderActualStartDate
MaterialGoodsReceiptDuration MaterialGoodsReceiptDuration GR proc. time
ProductionUnit ProductionUnit
MfgOrderItemPlannedTotalQty MfgOrderItemPlannedTotalQty
MfgOrderItemPlannedScrapQty MfgOrderItemPlannedScrapQty
ExpectedDeviationQuantity ExpectedDeviationQuantity
MfgOrderItemGoodsReceiptQty MfgOrderItemGoodsReceiptQty
OpenQuantity PBE Entry Open Qty
ProductionVersion ProductionVersion Version ID
ProductionVersionText ProductionVersionText
ProductionLine ProductionLine Production Line
WorkCenterText WorkCenterText Work Center Text
LeadingOrder LeadingOrder Last order
LeadingMfgOrderMaterial LeadingMfgOrderMaterial Vehicle Model
LeadingMfgOrderMaterialName LeadingMfgOrderMaterialName
WBSElement WBSElement WBS Internal ID
WBSDescription WBSDescription WBS Element Name
Project Project WBS Element
ProjectDescription ProjectDescription Project Name
ProjectResponsiblePerson ProjectResponsiblePerson
ProjectResponsiblePersonName ProjectResponsiblePersonName
MRPSalesOrderItemText
SoldToParty SoldToParty Sold-to Party
CustomerName CustomerName Name of Customer
SalesOrderItemMaterial SalesOrderItemMaterial
SalesOrderItemMaterialName SalesOrderItemMaterialName
UICT_ProductionSupervisor
UICT_MRPController
UICT_MfgOrderPlannedStartDate
UICT_MfgOrderSchedReleaseDate
UICT_MfgOrderSchedStartDate
UICT_MfgOrderScheduledEndDate
UICT_MfgOrderPlannedEndDate
UICT_MfgOrderActualStartDate
UICT_MaterialGoodsReceiptDur
UICT_MfgOrderItmPlndTotalQty
UICT_MfgOrderPlannedScrapQty
UICT_ExpectedDeviationQuantity
UICT_MfgOrderItmGoodsRcptQty
UICT_OpenQuantity
UICT_ProductionVersion
UICT_ProductionLine
UICT_LeadingOrder
UICT_LeadingMfgOrderMaterial
UICT_WBSElement
UICT_ProjectResponsiblePerson
UICT_Project
UICT_SalesOrder
UICT_SoldToParty
UICT_RelatedObjectsSection
ProductionPlant ProductionPlant Prod plnt
Material Material Vehicle Model
MaterialName MaterialName Material Description
MfgOrderItemProductionUnit MfgOrderItemProductionUnit
SDDocument SDDocument SD Document
Plant Plant Valuation Area
MRPPlant MRPPlant Plant
_ProductionPlant _ProductionPlant
_Material _Material
_MfgOrderType _MfgOrderType
_ProductionVersion _ProductionVersion
_Plant _Plant
_ProductionLine _ProductionLine
_MRPPlant _MRPPlant
_MRPController _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_MRPProcessOrderCard.
-- 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_MRPProcessOrderCard AS
SELECT
  ManufacturingOrder,
  ManufacturingOrderItem,
  ManufacturingOrderCategory,
  MRPController,
  MRPControllerName,
  ProductionSupervisor,
  ProductionSupervisorName,
  ManufacturingOrderType,
  ManufacturingOrderTypeName,
  _StatusText.StatusName AS StatusName,
  MfgOrderPlannedStartDate,
  MfgOrderScheduledReleaseDate,
  MfgOrderScheduledStartDate,
  MfgOrderScheduledEndDate,
  MfgOrderPlannedEndDate,
  MfgOrderActualStartDate,
  MaterialGoodsReceiptDuration,
  ProductionUnit,
  MfgOrderItemPlannedTotalQty,
  MfgOrderItemPlannedScrapQty,
  ExpectedDeviationQuantity,
  MfgOrderItemGoodsReceiptQty,
  cast(OpenQuantity as abap.quan(13, 3)) AS OpenQuantity,
  ProductionVersion,
  ProductionVersionText,
  ProductionLine,
  WorkCenterText,
  LeadingOrder,
  LeadingMfgOrderMaterial,
  LeadingMfgOrderMaterialName,
  WBSElement,
  WBSDescription,
  Project,
  ProjectDescription,
  ProjectResponsiblePerson,
  ProjectResponsiblePersonName,
  cast( concat( concat( ltrim( SDDocument, '0' ), '-' ), ltrim( SDDocumentItem, '0' ) ) as char17 ) AS MRPSalesOrderItemText,
  SoldToParty,
  CustomerName,
  SalesOrderItemMaterial,
  SalesOrderItemMaterialName,
  cast ( case when ProductionSupervisor is initial then 'X' else '' end as boolean preserving type ) AS UICT_ProductionSupervisor,
  cast ( case when MRPController is initial then 'X' else '' end as boolean preserving type ) AS UICT_MRPController,
  cast ( case when MfgOrderPlannedStartDate is initial then 'X' else '' end as boolean preserving type ) AS UICT_MfgOrderPlannedStartDate,
  cast ( case when MfgOrderScheduledReleaseDate is initial then 'X' else '' end as boolean preserving type ) AS UICT_MfgOrderSchedReleaseDate,
  cast ( case when MfgOrderScheduledStartDate is initial then 'X' else '' end as boolean preserving type ) AS UICT_MfgOrderSchedStartDate,
  cast ( case when MfgOrderScheduledEndDate is initial then 'X' else '' end as boolean preserving type ) AS UICT_MfgOrderScheduledEndDate,
  cast ( case when MfgOrderPlannedEndDate is initial then 'X' else '' end as boolean preserving type ) AS UICT_MfgOrderPlannedEndDate,
  cast ( case when MfgOrderActualStartDate is initial then 'X' else '' end as boolean preserving type ) AS UICT_MfgOrderActualStartDate,
  cast ( case when MaterialGoodsReceiptDuration is initial then 'X' else '' end as boolean preserving type ) AS UICT_MaterialGoodsReceiptDur,
  cast ( case when MfgOrderItemPlannedTotalQty is initial then 'X' else '' end as boolean preserving type ) AS UICT_MfgOrderItmPlndTotalQty,
  cast ( case when MfgOrderPlannedScrapQty is initial then 'X' else '' end as boolean preserving type ) AS UICT_MfgOrderPlannedScrapQty,
  cast ( case when ExpectedDeviationQuantity is initial then 'X' else '' end as boolean preserving type ) AS UICT_ExpectedDeviationQuantity,
  cast ( case when MfgOrderItemGoodsReceiptQty is initial then 'X' else '' end as boolean preserving type ) AS UICT_MfgOrderItmGoodsRcptQty,
  cast ( case when OpenQuantity is initial then 'X' else '' end as boolean preserving type ) AS UICT_OpenQuantity,
  cast ( case when ProductionVersion is initial then 'X' else '' end as boolean preserving type ) AS UICT_ProductionVersion,
  cast ( case when ProductionLine is initial then 'X' else '' end as boolean preserving type ) AS UICT_ProductionLine,
  cast ( case when LeadingOrder is initial then 'X' else '' end as boolean preserving type ) AS UICT_LeadingOrder,
  cast ( '' as boolean preserving type ) AS UICT_LeadingMfgOrderMaterial,
  cast ( '' as boolean preserving type ) AS UICT_WBSElement,
  cast ( '' as boolean preserving type ) AS UICT_ProjectResponsiblePerson,
  cast ( '' as boolean preserving type ) AS UICT_Project,
  cast ( case when SDDocument is initial then 'X' else '' end as boolean preserving type ) AS UICT_SalesOrder,
  cast ( '' as boolean preserving type ) AS UICT_SoldToParty,
  cast ( '' as boolean preserving type ) AS UICT_RelatedObjectsSection,
  ProductionPlant,
  Material,
  MaterialName,
  MfgOrderItemProductionUnit,
  SDDocument,
  Plant,
  MRPPlant
FROM P_MPEProcOrderItemPover
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]
;