I_PlantMaterialCount
Count of materials in plant
I_PlantMaterialCount is a Composite CDS View that provides data about "Count of materials in plant" in SAP S/4HANA. It reads from 1 data source (I_MaterialPlant) and exposes 2 fields with key field Plant.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaterialPlant | I_MaterialPlant | from |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | IPLANTMATCNT | view | |
| EndUserText.label | Count of materials in plant | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | false | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| Search.searchable | false | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Plant | Plant | ||
| NumberOfMaterialsInPlant |
@AbapCatalog.preserveKey: true
@AbapCatalog.sqlViewName: 'IPLANTMATCNT'
@EndUserText.label: 'Count of materials in plant'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass:#TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM: {
private: false,
viewType: #COMPOSITE,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@Search.searchable: false -- overwrite inherited annotation from parent
define view I_PlantMaterialCount as select from I_MaterialPlant {
key Plant,
count(*) as NumberOfMaterialsInPlant
}
group by Plant
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MATERIALPLANT"
],
"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