P_ProductionHoldEnhcd
P_ProductionHoldEnhcd is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_OrderOperationBasic, I_ProductionHoldBasic, P_ProductionHoldOpAndOpActy) and exposes 77 fields with key field ProductionHold. It has 1 association to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_OrderOperationBasic | OrderOperationBasic | inner |
| I_ProductionHoldBasic | ProductionHold | from |
| P_ProductionHoldOpAndOpActy | ProductionHold | union_all |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_WorkCenter | _WorkCenter | $projection.WorkCenterTypeCode = _WorkCenter.WorkCenterTypeCode and $projection.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMPEPRODHOLDENH | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (77)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionHold | P_ProductionHoldOpAndOpActy | ProductionHold | Hold ID |
| ProductionHoldObjectType | P_ProductionHoldOpAndOpActy | ProductionHoldObjectType | Object Type | |
| ProductionPlant | P_ProductionHoldOpAndOpActy | ProductionPlant | Prod plnt | |
| Material | P_ProductionHoldOpAndOpActy | Material | Vehicle Model | |
| WorkCenterInternalID | P_ProductionHoldOpAndOpActy | WorkCenterInternalID | Work Center | |
| WorkCenterTypeCode | P_ProductionHoldOpAndOpActy | WorkCenterTypeCode | Object Type | |
| ManufacturingOrder | P_ProductionHoldOpAndOpActy | ManufacturingOrder | Order | |
| OrderInternalID | P_ProductionHoldOpAndOpActy | OrderInternalID | Plan No.f.Oper. | |
| OrderOperationInternalID | P_ProductionHoldOpAndOpActy | OrderOperationInternalID | Plan No.f.Oper. | |
| ManufacturingOrderSequence | ||||
| ManufacturingOrderOperation | ||||
| OperationText | ||||
| ShopFloorItem | P_ProductionHoldOpAndOpActy | ShopFloorItem | Serial.Mat. ID | |
| OpActyNtwkInstance | P_ProductionHoldOpAndOpActy | OpActyNtwkInstance | Instance ID | |
| OpActyNtwkElement | P_ProductionHoldOpAndOpActy | OpActyNtwkElement | Element Number | |
| OperationActivitySFIGroup | P_ProductionHoldOpAndOpActy | OperationActivitySFIGroup | Serial Number Group | |
| OperationActivityName | ||||
| OpActyNtwkElementExternalID | Op. Activity | |||
| ProductionHoldStartDateTime | P_ProductionHoldOpAndOpActy | ProductionHoldStartDateTime | Time Stamp | |
| ProductionHoldEndDateTime | P_ProductionHoldOpAndOpActy | ProductionHoldEndDateTime | Released On | |
| HoldDurationInSeconds | P_ProductionHoldOpAndOpActy | HoldDurationInSeconds | Gross duration | |
| CalendarBasedNetDurnInSeconds | P_ProductionHoldOpAndOpActy | CalendarBasedNetDurnInSeconds | Duration (Work Days) | |
| WorkCenterBsdNetDurnInSeconds | P_ProductionHoldOpAndOpActy | WorkCenterBsdNetDurnInSeconds | Duration (Op. Time) | |
| DefectInternalID | P_ProductionHoldOpAndOpActy | DefectInternalID | Internal Defect ID | |
| Notification | P_ProductionHoldOpAndOpActy | Notification | Notification | |
| NotificationItem | P_ProductionHoldOpAndOpActy | NotificationItem | Item | |
| ProdnHoldIsAppldForOrderChg | P_ProductionHoldOpAndOpActy | ProdnHoldIsAppldForOrderChg | Change Order | |
| ProductionHoldStatus | P_ProductionHoldOpAndOpActy | ProductionHoldStatus | ||
| _ProductionHoldObjectType | P_ProductionHoldOpAndOpActy | _ProductionHoldObjectType | ||
| _ProductionPlant | P_ProductionHoldOpAndOpActy | _ProductionPlant | ||
| _Material | P_ProductionHoldOpAndOpActy | _Material | ||
| _WorkCenter | P_ProductionHoldOpAndOpActy | _WorkCenter | ||
| _ShopFloorItem | P_ProductionHoldOpAndOpActy | _ShopFloorItem | ||
| _OpActyNtwkInstance | P_ProductionHoldOpAndOpActy | _OpActyNtwkInstance | ||
| _OperationActivityInstance | P_ProductionHoldOpAndOpActy | _OperationActivityInstance | ||
| _OperationActivitySFIGroup | P_ProductionHoldOpAndOpActy | _OperationActivitySFIGroup | ||
| _Defect | P_ProductionHoldOpAndOpActy | _Defect | ||
| _Notification | P_ProductionHoldOpAndOpActy | _Notification | ||
| ProductionHold | Hold ID | |||
| ProductionHoldObjectType | P_ProductionHoldOpAndOpActy | ProductionHoldObjectType | Object Type | |
| ProductionPlant | P_ProductionHoldOpAndOpActy | ProductionPlant | Prod plnt | |
| Material | P_ProductionHoldOpAndOpActy | Material | Vehicle Model | |
| WorkCenterInternalID | I_OrderOperationBasic | WorkCenterInternalID | Work Center | |
| WorkCenterTypeCode | I_OrderOperationBasic | WorkCenterTypeCode | Object Type | |
| ManufacturingOrder | P_ProductionHoldOpAndOpActy | ManufacturingOrder | Order | |
| OrderInternalID | P_ProductionHoldOpAndOpActy | OrderInternalID | Plan No.f.Oper. | |
| OrderOperationInternalID | P_ProductionHoldOpAndOpActy | OrderOperationInternalID | Plan No.f.Oper. | |
| ManufacturingOrderSequence | ||||
| ManufacturingOrderOperation | ||||
| OperationText | ||||
| ShopFloorItem | P_ProductionHoldOpAndOpActy | ShopFloorItem | Serial.Mat. ID | |
| OpActyNtwkInstance | P_ProductionHoldOpAndOpActy | OpActyNtwkInstance | Instance ID | |
| OpActyNtwkElement | P_ProductionHoldOpAndOpActy | OpActyNtwkElement | Element Number | |
| OperationActivitySFIGroup | P_ProductionHoldOpAndOpActy | OperationActivitySFIGroup | Serial Number Group | |
| OperationActivityName | P_ProductionHoldOpAndOpActy | OperationActivityName | ||
| OpActyNtwkElementExternalID | P_ProductionHoldOpAndOpActy | OpActyNtwkElementExternalID | Op. Activity | |
| ProductionHoldStartDateTime | P_ProductionHoldOpAndOpActy | ProductionHoldStartDateTime | Time Stamp | |
| ProductionHoldEndDateTime | P_ProductionHoldOpAndOpActy | ProductionHoldEndDateTime | Released On | |
| HoldDurationInSeconds | P_ProductionHoldOpAndOpActy | HoldDurationInSeconds | Gross duration | |
| CalendarBasedNetDurnInSeconds | P_ProductionHoldOpAndOpActy | CalendarBasedNetDurnInSeconds | Duration (Work Days) | |
| WorkCenterBsdNetDurnInSeconds | P_ProductionHoldOpAndOpActy | WorkCenterBsdNetDurnInSeconds | Duration (Op. Time) | |
| DefectInternalID | P_ProductionHoldOpAndOpActy | DefectInternalID | Internal Defect ID | |
| Notification | P_ProductionHoldOpAndOpActy | Notification | Notification | |
| NotificationItem | P_ProductionHoldOpAndOpActy | NotificationItem | Item | |
| ProdnHoldIsAppldForOrderChg | P_ProductionHoldOpAndOpActy | ProdnHoldIsAppldForOrderChg | Change Order | |
| ProductionHoldStatus | P_ProductionHoldOpAndOpActy | ProductionHoldStatus | ||
| _ProductionHoldObjectType | P_ProductionHoldOpAndOpActy | _ProductionHoldObjectType | ||
| _ProductionPlant | P_ProductionHoldOpAndOpActy | _ProductionPlant | ||
| _Material | P_ProductionHoldOpAndOpActy | _Material | ||
| _WorkCenter | _WorkCenter | |||
| _ShopFloorItem | P_ProductionHoldOpAndOpActy | _ShopFloorItem | ||
| _OpActyNtwkInstance | P_ProductionHoldOpAndOpActy | _OpActyNtwkInstance | ||
| _OperationActivityInstance | P_ProductionHoldOpAndOpActy | _OperationActivityInstance | ||
| _OperationActivitySFIGroup | P_ProductionHoldOpAndOpActy | _OperationActivitySFIGroup | ||
| _Defect | P_ProductionHoldOpAndOpActy | _Defect | ||
| _Notification | P_ProductionHoldOpAndOpActy | _Notification | ||
| _NotificationItem | P_ProductionHoldOpAndOpActy | _NotificationItem |
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 P_ProductionHoldEnhcd.
-- 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: PMPEPRODHOLDENH
CREATE VIEW P_ProductionHoldEnhcd AS
SELECT
ProductionHold.ProductionHold AS ProductionHold,
ProductionHold.ProductionHoldObjectType AS ProductionHoldObjectType,
ProductionHold.ProductionPlant AS ProductionPlant,
ProductionHold.Material AS Material,
ProductionHold.WorkCenterInternalID AS WorkCenterInternalID,
ProductionHold.WorkCenterTypeCode AS WorkCenterTypeCode,
ProductionHold.ManufacturingOrder AS ManufacturingOrder,
ProductionHold.OrderInternalID AS OrderInternalID,
ProductionHold.OrderOperationInternalID AS OrderOperationInternalID,
cast('' as manufacturingordersequence ) AS ManufacturingOrderSequence,
cast('' as manufacturingorderoperation ) AS ManufacturingOrderOperation,
cast('' as mfgorderoperationtext ) AS OperationText,
ProductionHold.ShopFloorItem AS ShopFloorItem,
ProductionHold.OpActyNtwkInstance AS OpActyNtwkInstance,
ProductionHold.OpActyNtwkElement AS OpActyNtwkElement,
ProductionHold.OperationActivitySFIGroup AS OperationActivitySFIGroup,
cast('' as mpe_oa_description) AS OperationActivityName,
cast('' as mpe_oa_number_ext) AS OpActyNtwkElementExternalID,
ProductionHold.ProductionHoldStartDateTime AS ProductionHoldStartDateTime,
ProductionHold.ProductionHoldEndDateTime AS ProductionHoldEndDateTime,
ProductionHold.HoldDurationInSeconds AS HoldDurationInSeconds,
ProductionHold.CalendarBasedNetDurnInSeconds AS CalendarBasedNetDurnInSeconds,
ProductionHold.WorkCenterBsdNetDurnInSeconds AS WorkCenterBsdNetDurnInSeconds,
ProductionHold.DefectInternalID AS DefectInternalID,
ProductionHold.Notification AS Notification,
ProductionHold.NotificationItem AS NotificationItem,
ProductionHold.ProdnHoldIsAppldForOrderChg AS ProdnHoldIsAppldForOrderChg,
ProductionHold.ProductionHoldStatus AS ProductionHoldStatus,
ProductionHold._ProductionHoldObjectType AS _ProductionHoldObjectType,
ProductionHold._ProductionPlant AS _ProductionPlant,
ProductionHold._Material AS _Material,
ProductionHold._WorkCenter AS _WorkCenter,
ProductionHold._ShopFloorItem AS _ShopFloorItem,
ProductionHold._OpActyNtwkInstance AS _OpActyNtwkInstance,
ProductionHold._OperationActivityInstance AS _OperationActivityInstance,
ProductionHold._OperationActivitySFIGroup AS _OperationActivitySFIGroup,
ProductionHold._Defect AS _Defect,
ProductionHold._Notification AS _Notification,
ProductionHold._NotificationItem AS _NotificationItem
FROM I_ProductionHoldBasic AS ProductionHold
INNER JOIN I_OrderOperationBasic AS OrderOperationBasic ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_WorkCenter AS _WorkCenter ON WorkCenterTypeCode = _WorkCenter.WorkCenterTypeCode AND WorkCenterInternalID = _WorkCenter.WorkCenterInternalID -- association [0..1]
-- UNION ALL with additional select branch(es): P_ProductionHoldOpAndOpActy
;
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