I_MassMaintCapOpsCtPooledCap

DDL: I_MASSMAINTCAPOPSCTPOOLEDCAP Type: view_entity COMPOSITE

Bill of ops count for pooled capacity

I_MassMaintCapOpsCtPooledCap is a Composite CDS View that provides data about "Bill of ops count for pooled capacity" in SAP S/4HANA. It reads from 1 data source (I_WorkCenterCapacity_2) and exposes 2 fields with key field CapacityInternalID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_WorkCenterCapacity_2 _Cap from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_BillOfOpsOpWorkCenterCount _OP _OP.WorkCenterTypeCode = 'A' and _OP.WorkCenterInternalID = _Cap.WorkCenterInternalID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Bill of ops count for pooled capacity view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CapacityInternalID CapacityInternalID Capacity ID
NumberOfBillOfOpsUsdInWrkCtr

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 I_MassMaintCapOpsCtPooledCap.
-- 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 I_MassMaintCapOpsCtPooledCap AS
SELECT
  CapacityInternalID,
  sum(_OP.NumberOfBillOfOpsUsdInWrkCtr) AS NumberOfBillOfOpsUsdInWrkCtr
FROM I_WorkCenterCapacity_2 AS _Cap
LEFT OUTER JOIN I_BillOfOpsOpWorkCenterCount AS _OP ON _OP.WorkCenterTypeCode = 'A' AND _OP.WorkCenterInternalID = _Cap.WorkCenterInternalID  -- association [0..1]
;