P_OperationAffectedByProdnHold

DDL: P_OPERATIONAFFECTEDBYPRODNHOLD Type: view_entity COMPOSITE Package: MPE_EXEC_SFO

Operation affected by Production Hold

P_OperationAffectedByProdnHold is a Composite CDS View that provides data about "Operation affected by Production Hold" in SAP S/4HANA. It reads from 4 data sources (I_OrderInternalID, I_OrderItem, I_OrderOperationBasic, I_ProductionHoldBasic) and exposes 11 fields with key fields ProductionHold, OrderInternalID, OrderOperationInternalID. Part of development package MPE_EXEC_SFO.

Data Sources (4)

SourceAliasJoin Type
I_OrderInternalID OrderInternalID inner
I_OrderItem OrderItem inner
I_OrderOperationBasic OrderOperationBasic from
I_ProductionHoldBasic ProductionHold inner

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ProductionHold I_ProductionHoldBasic ProductionHold Hold ID
KEY OrderInternalID I_OrderOperationBasic OrderInternalID Plan No.f.Oper.
KEY OrderOperationInternalID I_OrderOperationBasic OrderOperationInternalID Plan No.f.Oper.
ProductionHoldObjectType I_ProductionHoldBasic ProductionHoldObjectType Object Type
ManufacturingOrder I_OrderInternalID OrderID Order ID
Material I_ProductionHoldBasic Material Vehicle Model
WorkCenterInternalID I_ProductionHoldBasic WorkCenterInternalID Work Center
ProductionPlant I_ProductionHoldBasic ProductionPlant Prod plnt
WorkCenter
OpActyNtwkInstance I_ProductionHoldBasic OpActyNtwkInstance Instance ID
OpActyNtwkElement I_ProductionHoldBasic OpActyNtwkElement Element Number

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_OperationAffectedByProdnHold.
-- 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 P_OperationAffectedByProdnHold AS
SELECT
  ProductionHold.ProductionHold AS ProductionHold,
  OrderOperationBasic.OrderInternalID AS OrderInternalID,
  OrderOperationBasic.OrderOperationInternalID AS OrderOperationInternalID,
  ProductionHold.ProductionHoldObjectType AS ProductionHoldObjectType,
  OrderInternalID.OrderID AS ManufacturingOrder,
  ProductionHold.Material AS Material,
  ProductionHold.WorkCenterInternalID AS WorkCenterInternalID,
  ProductionHold.ProductionPlant AS ProductionPlant,
  ProductionHold._WorkCenter.WorkCenter AS WorkCenter,
  ProductionHold.OpActyNtwkInstance AS OpActyNtwkInstance,
  ProductionHold.OpActyNtwkElement AS OpActyNtwkElement
FROM I_OrderOperationBasic AS OrderOperationBasic
INNER JOIN I_OrderInternalID AS OrderInternalID ON /* join condition not captured in parsed metadata */
INNER JOIN I_OrderItem AS OrderItem ON /* join condition not captured in parsed metadata */
INNER JOIN I_ProductionHoldBasic AS ProductionHold ON /* join condition not captured in parsed metadata */
;