P_MfgOrderHeaderHold

DDL: P_MFGORDERHEADERHOLD SQL: PMPEMFGORDHDRHLD Type: view CONSUMPTION

P_MfgOrderHeaderHold is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (I_MfgOrder, I_ProductionHoldBasic) and exposes 11 fields with key field ProductionHold.

Data Sources (2)

SourceAliasJoin Type
I_MfgOrder MfgOrder from
I_ProductionHoldBasic ProductionHold inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PMPEMFGORDHDRHLD 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 (11)

KeyFieldSource TableSource FieldDescription
KEY ProductionHold I_ProductionHoldBasic ProductionHold Hold ID
ProductionHoldStatus I_ProductionHoldBasic ProductionHoldStatus
ManufacturingOrder I_MfgOrder ManufacturingOrder Order
ProductionHoldObjectType I_ProductionHoldBasic ProductionHoldObjectType Object Type
OrderInternalBillOfOperations I_MfgOrder OrderInternalBillOfOperations Order Internal Bill of Operations
ManufacturingOrderType I_MfgOrder ManufacturingOrderType
ManufacturingOrderCategory I_MfgOrder ManufacturingOrderCategory
ProductionPlant I_ProductionHoldBasic ProductionPlant Prod plnt
Material I_ProductionHoldBasic Material Vehicle Model
WorkCenterInternalID I_ProductionHoldBasic WorkCenterInternalID Work Center
WorkCenterTypeCode I_ProductionHoldBasic WorkCenterTypeCode 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_MfgOrderHeaderHold.
-- 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: PMPEMFGORDHDRHLD

CREATE VIEW P_MfgOrderHeaderHold AS
SELECT
  ProductionHold.ProductionHold AS ProductionHold,
  ProductionHold.ProductionHoldStatus AS ProductionHoldStatus,
  MfgOrder.ManufacturingOrder AS ManufacturingOrder,
  ProductionHold.ProductionHoldObjectType AS ProductionHoldObjectType,
  MfgOrder.OrderInternalBillOfOperations AS OrderInternalBillOfOperations,
  MfgOrder.ManufacturingOrderType AS ManufacturingOrderType,
  MfgOrder.ManufacturingOrderCategory AS ManufacturingOrderCategory,
  ProductionHold.ProductionPlant AS ProductionPlant,
  ProductionHold.Material AS Material,
  ProductionHold.WorkCenterInternalID AS WorkCenterInternalID,
  ProductionHold.WorkCenterTypeCode AS WorkCenterTypeCode
FROM I_MfgOrder AS MfgOrder
INNER JOIN I_ProductionHoldBasic AS ProductionHold ON /* join condition not captured in parsed metadata */
;