I_MassMaintCapMatlCtPooledCap
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)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkCenterCapacity_2 | _Cap | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MfgBOOMatlAssgmtWrkCtrCt | _Mat | _Mat.WorkCenterTypeCode = 'A' and _Mat.WorkCenterInternalID = _Cap.WorkCenterInternalID |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CapacityInternalID | CapacityInternalID | ||
| NumberOfProducts |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Material Count for Pooled Capacity'
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #MIXED
}
define view entity I_MassMaintCapMatlCtPooledCap
as select from I_WorkCenterCapacity_2 as _Cap
association [0..1] to I_MfgBOOMatlAssgmtWrkCtrCt as _Mat on _Mat.WorkCenterTypeCode = 'A'
and _Mat.WorkCenterInternalID = _Cap.WorkCenterInternalID
{
key CapacityInternalID,
sum(_Mat.NumberOfProducts) as NumberOfProducts
}
where
WorkCenterTypeCode = 'A'
group by
CapacityInternalID
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MFGBOOMATLASSGMTWRKCTRCT",
"I_WORKCENTERCAPACITY_2"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA