P_ShopFloorOrderHoldUnion

DDL: P_SHOPFLOORORDERHOLDUNION SQL: PMPESFOHOLDUNION Type: view CONSUMPTION

P_ShopFloorOrderHoldUnion is a Consumption CDS View in SAP S/4HANA. It reads from 11 data sources and exposes 25 fields with key fields ProductionHold, ManufacturingOrder, ManufacturingOrder, ManufacturingOrder, ManufacturingOrder.

Data Sources (11)

SourceAliasJoin Type
I_MfgOrder MfgOrder from
I_MfgOrderBasic MfgOrderBasic union_all
I_MfgOrderBasic MfgOrderBasic union_all
I_MfgOrderBasic MfgOrderBasic union_all
I_ProductionHoldBasic OAHold inner
I_OpActyNtwkInstanceBasic OpActyNtwkInstanceBasic inner
I_OrderOperationBasic OrderOperationBasic inner
I_ProductionHoldBasic ProductionHold inner
I_ProductionHoldBasic ProductionHold inner
I_ProductionHoldBasic ProductionHold inner
I_ShopFloorItem ShopFloorItem inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PMPESFOHOLDUNION view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view
VDM.private true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY ProductionHold I_ProductionHoldBasic ProductionHold Hold ID
KEY ManufacturingOrder I_MfgOrder ManufacturingOrder Order
ManufacturingOrderType I_MfgOrder ManufacturingOrderType Order Type
ManufacturingOrderCategory I_MfgOrder ManufacturingOrderCategory Order Category
Material I_ProductionHoldBasic Material Vehicle Model
ProductionPlant I_ProductionHoldBasic ProductionPlant Prod plnt
ProductionHold Hold ID
KEY ManufacturingOrder I_MfgOrderBasic ManufacturingOrder Order
ManufacturingOrderType I_MfgOrderBasic ManufacturingOrderType Order Type
ManufacturingOrderCategory I_MfgOrderBasic ManufacturingOrderCategory Order Category
Material I_ProductionHoldBasic Material Vehicle Model
ProductionPlant I_ProductionHoldBasic ProductionPlant Prod plnt
ProductionHold Hold ID
KEY ManufacturingOrder I_ShopFloorItem ManufacturingOrder Order
ManufacturingOrderType I_MfgOrderBasic ManufacturingOrderType Order Type
ManufacturingOrderCategory I_MfgOrderBasic ManufacturingOrderCategory Order Category
Material I_ProductionHoldBasic Material Vehicle Model
ProductionPlant I_ProductionHoldBasic ProductionPlant Prod plnt
ProductionHold Hold ID
KEY ManufacturingOrder I_MfgOrderBasic ManufacturingOrder Order
ManufacturingOrderType I_MfgOrderBasic ManufacturingOrderType Order Type
ManufacturingOrderCategory I_MfgOrderBasic ManufacturingOrderCategory Order Category
Material I_ProductionHoldBasic Material Vehicle Model
ProductionPlant I_ProductionHoldBasic ProductionPlant Prod plnt
ProductionHoldObjectType I_ProductionHoldBasic ProductionHoldObjectType Object Type

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_ShopFloorOrderHoldUnion.
-- 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: PMPESFOHOLDUNION

CREATE VIEW P_ShopFloorOrderHoldUnion AS
SELECT
  ProductionHold.ProductionHold AS ProductionHold,
  MfgOrder.ManufacturingOrder AS ManufacturingOrder,
  MfgOrder.ManufacturingOrderType AS ManufacturingOrderType,
  MfgOrder.ManufacturingOrderCategory AS ManufacturingOrderCategory,
  ProductionHold.Material AS Material,
  ProductionHold.ProductionPlant AS ProductionPlant,
  OAHold.ProductionHoldObjectType AS ProductionHoldObjectType
FROM I_MfgOrder AS MfgOrder
INNER JOIN I_ProductionHoldBasic AS ProductionHold ON /* join condition not captured in parsed metadata */
INNER JOIN I_OrderOperationBasic AS OrderOperationBasic ON /* join condition not captured in parsed metadata */
INNER JOIN I_ShopFloorItem AS ShopFloorItem ON /* join condition not captured in parsed metadata */
INNER JOIN I_OpActyNtwkInstanceBasic AS OpActyNtwkInstanceBasic ON /* join condition not captured in parsed metadata */
INNER JOIN I_ProductionHoldBasic AS OAHold ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_MfgOrderBasic
;