I_PlantMaterialCount

DDL: I_PLANTMATERIALCOUNT SQL: IPLANTMATCNT Type: view COMPOSITE

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)

SourceAliasJoin Type
I_MaterialPlant I_MaterialPlant from

Annotations (13)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/