C_MRPProductionOrderCard
Quick view for MRP Production Order
C_MRPProductionOrderCard is a Consumption CDS View that provides data about "Quick view for MRP Production Order" in SAP S/4HANA. It reads from 1 data source (P_MPEProdnOrderItemPover) and exposes 82 fields with key fields ManufacturingOrder, ManufacturingOrderItem. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_MPEProdnOrderItemPover | P_MPEProdnOrderItemPover | from |
Associations (4)
| 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 |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Quick view for MRP Production 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 |
Fields (82)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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_MRPProductionOrderCard.
-- 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_MRPProductionOrderCard 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_MPEProdnOrderItemPover
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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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