P_MfgOrderOperHoldCount

DDL: P_MFGORDEROPERHOLDCOUNT Type: view_entity COMPOSITE Package: ODATA_MPE_MFGORDER

Number of active Operation Holds of a Production Order

P_MfgOrderOperHoldCount is a Composite CDS View that provides data about "Number of active Operation Holds of a Production Order" in SAP S/4HANA. It reads from 2 data sources (P_MfgOrderAORList, I_ProductionHoldBasic) and exposes 2 fields with key field ManufacturingOrder. Part of development package ODATA_MPE_MFGORDER.

Data Sources (2)

SourceAliasJoin Type
P_MfgOrderAORList _AORList inner
I_ProductionHoldBasic _prodHoldBsc from

Annotations (6)

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

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY ManufacturingOrder P_MfgOrderAORList OrderID Order ID
NumberOfHolds

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_MfgOrderOperHoldCount.
-- 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_MfgOrderOperHoldCount AS
SELECT
  _AORList.OrderID AS ManufacturingOrder,
  count(*) AS NumberOfHolds
FROM I_ProductionHoldBasic AS _prodHoldBsc
INNER JOIN P_MfgOrderAORList AS _AORList ON /* join condition not captured in parsed metadata */
;