I_MassMaintCapMatlCtPooledCap

DDL: I_MASSMAINTCAPMATLCTPOOLEDCAP Type: view_entity COMPOSITE

Material Count for Pooled Capacity

I_MassMaintCapMatlCtPooledCap is a Composite CDS View that provides data about "Material 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_MfgBOOMatlAssgmtWrkCtrCt _Mat _Mat.WorkCenterTypeCode = 'A' and _Mat.WorkCenterInternalID = _Cap.WorkCenterInternalID

Annotations (7)

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

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