C_MfgOrderOperationHold
Active Production Holds of a Production Order Operation
C_MfgOrderOperationHold is a Consumption CDS View that provides data about "Active Production Holds of a Production Order Operation" in SAP S/4HANA. It reads from 2 data sources (I_MfgOrder, P_MfgOrderOperHoldUnionBasic) and exposes 17 fields with key fields ProductionHold, OrderInternalID, OrderOperationInternalID. It has 3 associations to related views. Part of development package MPE_EXEC_COMMON.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_MfgOrder | MfgOrder | inner |
| P_MfgOrderOperHoldUnionBasic | MfgOrderOperHoldUnionBasic | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MfgOrder | _MfgOrder | $projection.ManufacturingOrder = _MfgOrder.ManufacturingOrder |
| [1..1] | I_ProductionHoldBasic | _ProductionHoldBasic | $projection.ProductionHold = _ProductionHoldBasic.ProductionHold |
| [1..1] | I_ProductionHoldObjectType | _ProductionHoldObjectType | $projection.ProductionHoldObjectType = _ProductionHoldObjectType.ProductionHoldObjectType |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMPEOPHOLD | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionHold | P_MfgOrderOperHoldUnionBasic | ProductionHold | |
| KEY | OrderInternalID | P_MfgOrderOperHoldUnionBasic | OrderInternalID | Plan No.f.Oper. |
| KEY | OrderOperationInternalID | P_MfgOrderOperHoldUnionBasic | OrderOperationInternalID | |
| ManufacturingOrder | I_MfgOrder | ManufacturingOrder | Order | |
| ManufacturingOrderType | I_MfgOrder | ManufacturingOrderType | ||
| ManufacturingOrderCategory | I_MfgOrder | ManufacturingOrderCategory | ||
| OrderInternalBillOfOperations | I_MfgOrder | OrderInternalBillOfOperations | Order Internal Bill of Operations | |
| Material | P_MfgOrderOperHoldUnionBasic | Material | Vehicle Model | |
| ProductionPlant | P_MfgOrderOperHoldUnionBasic | ProductionPlant | Prod plnt | |
| ProductionHoldObjectType | P_MfgOrderOperHoldUnionBasic | ProductionHoldObjectType | ||
| WorkCenter | WorkCenter | WorkCenter | Work Center | |
| _OrdInternalBillOfOperations | I_MfgOrder | _OrdInternalBillOfOperations | ||
| _MfgOrder | _MfgOrder | |||
| _MfgOrderCategory | I_MfgOrder | _MfgOrderCategory | ||
| _MfgOrderType | I_MfgOrder | _MfgOrderType | ||
| _ProductionHoldBasic | _ProductionHoldBasic | |||
| _ProductionHoldObjectType | _ProductionHoldObjectType |
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_MfgOrderOperationHold.
-- 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: CMPEOPHOLD
CREATE VIEW C_MfgOrderOperationHold AS
SELECT
MfgOrderOperHoldUnionBasic.ProductionHold AS ProductionHold,
MfgOrderOperHoldUnionBasic.OrderInternalID AS OrderInternalID,
MfgOrderOperHoldUnionBasic.OrderOperationInternalID AS OrderOperationInternalID,
MfgOrder.ManufacturingOrder AS ManufacturingOrder,
MfgOrder.ManufacturingOrderType AS ManufacturingOrderType,
MfgOrder.ManufacturingOrderCategory AS ManufacturingOrderCategory,
MfgOrder.OrderInternalBillOfOperations AS OrderInternalBillOfOperations,
MfgOrderOperHoldUnionBasic.Material AS Material,
MfgOrderOperHoldUnionBasic.ProductionPlant AS ProductionPlant,
MfgOrderOperHoldUnionBasic.ProductionHoldObjectType AS ProductionHoldObjectType,
WorkCenter.WorkCenter AS WorkCenter,
MfgOrder._OrdInternalBillOfOperations AS _OrdInternalBillOfOperations,
MfgOrder._MfgOrderCategory AS _MfgOrderCategory,
MfgOrder._MfgOrderType AS _MfgOrderType
FROM P_MfgOrderOperHoldUnionBasic AS MfgOrderOperHoldUnionBasic
INNER JOIN I_MfgOrder AS MfgOrder ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MfgOrder AS _MfgOrder ON ManufacturingOrder = _MfgOrder.ManufacturingOrder -- association [1..1]
LEFT OUTER JOIN I_ProductionHoldBasic AS _ProductionHoldBasic ON ProductionHold = _ProductionHoldBasic.ProductionHold -- association [1..1]
LEFT OUTER JOIN I_ProductionHoldObjectType AS _ProductionHoldObjectType ON ProductionHoldObjectType = _ProductionHoldObjectType.ProductionHoldObjectType -- association [1..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