I_MassMaintCapGrpCtPooledCap

DDL: I_MASSMAINTCAPGRPCTPOOLEDCAP Type: view_entity COMPOSITE

WrkCtrGrp Count for Pooled Capacity

I_MassMaintCapGrpCtPooledCap is a Composite CDS View that provides data about "WrkCtrGrp 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_WorkCenterGroupObjectCount _ObjectCount _ObjectCount.ObjectTypeCode = 'A' and _ObjectCount.ObjectInternalID = _Cap.WorkCenterInternalID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label WrkCtrGrp 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
WorkCenterGroupObjectCount

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_MassMaintCapGrpCtPooledCap.
-- 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_MassMaintCapGrpCtPooledCap AS
SELECT
  CapacityInternalID,
  sum(_ObjectCount.WorkCenterGroupObjectCount) AS WorkCenterGroupObjectCount
FROM I_WorkCenterCapacity_2 AS _Cap
LEFT OUTER JOIN I_WorkCenterGroupObjectCount AS _ObjectCount ON _ObjectCount.ObjectTypeCode = 'A' AND _ObjectCount.ObjectInternalID = _Cap.WorkCenterInternalID  -- association [0..1]
;