P_MfgOrderOperHoldCount

DDL: P_MFGORDEROPERHOLDCOUNT Type: view_entity COMPOSITE

P_MfgOrderOperHoldCount is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (P_MfgOrderAORList, I_LogisticsOrder, I_ProductionHoldBasic) and exposes 2 fields with key field ManufacturingOrder.

Data Sources (3)

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