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 3 fields with key fields CapacityInternalID, AreaOfResponsibility. It has 1 association to related views. Part of development package ODATA_PP_WORKCENTER_API.
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 (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CapacityInternalID | CapacityInternalID | ||
| KEY | AreaOfResponsibility | _Mat | AreaOfResponsibility | |
| 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,
key _Mat.AreaOfResponsibility,
sum(_Mat.NumberOfProducts) as NumberOfProducts
}
where
WorkCenterTypeCode = 'A'
and _Cap.Capacity != ''
group by
CapacityInternalID,
_Mat.AreaOfResponsibility
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