I_ProductionHoldBasic
Production Hold
I_ProductionHoldBasic is a Basic CDS View that provides data about "Production Hold" in SAP S/4HANA. It reads from 1 data source (mpe_exec_hold) and exposes 37 fields with key field ProductionHold. It has 15 associations to related views. Part of development package MPE_EXEC_COMMON.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mpe_exec_hold | hold | from |
Associations (15)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ProductionHoldObjectType | _ProductionHoldObjectType | $projection.ProductionHoldObjectType = _ProductionHoldObjectType.ProductionHoldObjectType |
| [1..1] | I_Plant | _ProductionPlant | $projection.ProductionPlant = _ProductionPlant.Plant |
| [0..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [0..1] | I_WorkCenter | _WorkCenter | $projection.WorkCenterTypeCode = _WorkCenter.WorkCenterTypeCode and $projection.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID |
| [0..1] | I_MfgOrder | _MfgOrder | $projection.ManufacturingOrder = _MfgOrder.ManufacturingOrder |
| [1..1] | I_OrdInternalBillOfOperations | _OrderInternalID | $projection.OrderInternalID = _OrderInternalID.OrderInternalBillOfOperations |
| [0..1] | I_MfgOrderOperation | _MfgOrderOperation | $projection.OrderInternalID = _MfgOrderOperation.OrderInternalBillOfOperations and $projection.OrderOperationInternalID = _MfgOrderOperation.OrderIntBillOfOperationsItem |
| [0..1] | I_ShopFloorItem | _ShopFloorItem | $projection.ShopFloorItem = _ShopFloorItem.ShopFloorItem |
| [1..1] | I_ProductionHoldStatus | _ProductionHoldStatus | $projection.ProductionHoldStatus = _ProductionHoldStatus.ProductionHoldStatus |
| [0..1] | I_OpActyNtwkInstance | _OpActyNtwkInstance | $projection.OpActyNtwkInstance = _OpActyNtwkInstance.OpActyNtwkInstance |
| [0..1] | I_OperationActivityInstance | _OperationActivityInstance | $projection.OpActyNtwkInstance = _OperationActivityInstance.OpActyNtwkInstance and $projection.OpActyNtwkElement = _OperationActivityInstance.OpActyNtwkElement |
| [0..1] | I_Defect | _Defect | $projection.DefectInternalID = _Defect.DefectInternalID |
| [0..1] | I_Notification | _Notification | $projection.Notification = _Notification.Notification |
| [0..1] | I_NotificationItem | _NotificationItem | $projection.Notification = _NotificationItem.Notification and $projection.NotificationItem = _NotificationItem.NotificationItem |
| [0..1] | I_OperationActivitySFIGroup | _OperationActivitySFIGroup | $projection.OperationActivitySFIGroup = _OperationActivitySFIGroup.OperationActivitySFIGroup |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMPEPRODNHLDBSC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | ProductionHold | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Search.searchable | true | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Production Hold | view |
Fields (37)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionHold | hold_nmbr | Hold ID | |
| ProductionHoldObjectType | hold_object_type | Object Type | ||
| ProductionPlant | werks | Receiving Plant | ||
| Material | matnr | Vehicle Model | ||
| WorkCenterInternalID | arbid | WorkCtrGp plan. | ||
| WorkCenterTypeCode | ||||
| ManufacturingOrder | aufnr | SettlementOrder | ||
| OrderInternalID | aufpl | TaskList No.Ops | ||
| OrderOperationInternalID | aplzl | Plan No.f.Oper. | ||
| ShopFloorItem | sfi_id | Serial.Mat. ID | ||
| OperationActivitySFIGroup | sfi_at_oai_group_id | Serial Number Group | ||
| OpActyNtwkInstance | oan_instance_id | Instance ID | ||
| OpActyNtwkElement | oan_element_number | Element Number | ||
| ProductionHoldStartDateTime | started_at | Time Stamp | ||
| ProductionHoldEndDateTime | ended_at | Released On | ||
| HoldDurationInSeconds | gross_duration | Gross duration | ||
| CalendarBasedNetDurnInSeconds | net_calendar_duration | Duration (Work Days) | ||
| WorkCenterBsdNetDurnInSeconds | net_work_center_duration | Duration (Op. Time) | ||
| DefectInternalID | qmnum | Notification | ||
| Notification | notification | Notification | ||
| NotificationItem | notification_item | Item | ||
| ProdnHoldIsAppldForOrderChg | is_applied_for_order_chg | Change Order | ||
| _ProductionHoldObjectType | _ProductionHoldObjectType | |||
| _ProductionPlant | _ProductionPlant | |||
| _Material | _Material | |||
| _WorkCenter | _WorkCenter | |||
| _MfgOrder | _MfgOrder | |||
| _OrderInternalID | _OrderInternalID | |||
| _MfgOrderOperation | _MfgOrderOperation | |||
| _ShopFloorItem | _ShopFloorItem | |||
| _ProductionHoldStatus | _ProductionHoldStatus | |||
| _OpActyNtwkInstance | _OpActyNtwkInstance | |||
| _OperationActivityInstance | _OperationActivityInstance | |||
| _Defect | _Defect | |||
| _Notification | _Notification | |||
| _NotificationItem | _NotificationItem | |||
| _OperationActivitySFIGroup | _OperationActivitySFIGroup |
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 I_ProductionHoldBasic.
-- 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: IMPEPRODNHLDBSC
CREATE VIEW I_ProductionHoldBasic AS
SELECT
hold_nmbr AS ProductionHold,
hold_object_type AS ProductionHoldObjectType,
werks AS ProductionPlant,
matnr AS Material,
arbid AS WorkCenterInternalID,
cast('A ' as cr_objty preserving type) AS WorkCenterTypeCode,
aufnr AS ManufacturingOrder,
aufpl AS OrderInternalID,
aplzl AS OrderOperationInternalID,
sfi_id AS ShopFloorItem,
sfi_at_oai_group_id AS OperationActivitySFIGroup,
oan_instance_id AS OpActyNtwkInstance,
oan_element_number AS OpActyNtwkElement,
started_at AS ProductionHoldStartDateTime,
ended_at AS ProductionHoldEndDateTime,
gross_duration AS HoldDurationInSeconds,
net_calendar_duration AS CalendarBasedNetDurnInSeconds,
net_work_center_duration AS WorkCenterBsdNetDurnInSeconds,
qmnum AS DefectInternalID,
Notification,
notification_item AS NotificationItem,
is_applied_for_order_chg AS ProdnHoldIsAppldForOrderChg
FROM mpe_exec_hold AS hold
LEFT OUTER JOIN I_ProductionHoldObjectType AS _ProductionHoldObjectType ON ProductionHoldObjectType = _ProductionHoldObjectType.ProductionHoldObjectType -- association [1..1]
LEFT OUTER JOIN I_Plant AS _ProductionPlant ON ProductionPlant = _ProductionPlant.Plant -- association [1..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [0..1]
LEFT OUTER JOIN I_WorkCenter AS _WorkCenter ON WorkCenterTypeCode = _WorkCenter.WorkCenterTypeCode AND WorkCenterInternalID = _WorkCenter.WorkCenterInternalID -- association [0..1]
LEFT OUTER JOIN I_MfgOrder AS _MfgOrder ON ManufacturingOrder = _MfgOrder.ManufacturingOrder -- association [0..1]
LEFT OUTER JOIN I_OrdInternalBillOfOperations AS _OrderInternalID ON OrderInternalID = _OrderInternalID.OrderInternalBillOfOperations -- association [1..1]
LEFT OUTER JOIN I_MfgOrderOperation AS _MfgOrderOperation ON OrderInternalID = _MfgOrderOperation.OrderInternalBillOfOperations AND OrderOperationInternalID = _MfgOrderOperation.OrderIntBillOfOperationsItem -- association [0..1]
LEFT OUTER JOIN I_ShopFloorItem AS _ShopFloorItem ON ShopFloorItem = _ShopFloorItem.ShopFloorItem -- association [0..1]
LEFT OUTER JOIN I_ProductionHoldStatus AS _ProductionHoldStatus ON ProductionHoldStatus = _ProductionHoldStatus.ProductionHoldStatus -- association [1..1]
LEFT OUTER JOIN I_OpActyNtwkInstance AS _OpActyNtwkInstance ON OpActyNtwkInstance = _OpActyNtwkInstance.OpActyNtwkInstance -- association [0..1]
LEFT OUTER JOIN I_OperationActivityInstance AS _OperationActivityInstance ON OpActyNtwkInstance = _OperationActivityInstance.OpActyNtwkInstance AND OpActyNtwkElement = _OperationActivityInstance.OpActyNtwkElement -- association [0..1]
LEFT OUTER JOIN I_Defect AS _Defect ON DefectInternalID = _Defect.DefectInternalID -- association [0..1]
LEFT OUTER JOIN I_Notification AS _Notification ON Notification = _Notification.Notification -- association [0..1]
LEFT OUTER JOIN I_NotificationItem AS _NotificationItem ON Notification = _NotificationItem.Notification AND NotificationItem = _NotificationItem.NotificationItem -- association [0..1]
LEFT OUTER JOIN I_OperationActivitySFIGroup AS _OperationActivitySFIGroup ON OperationActivitySFIGroup = _OperationActivitySFIGroup.OperationActivitySFIGroup -- 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