I_ProdnRtgMatlCount
Count of materials per Routing Group
I_ProdnRtgMatlCount is a Composite CDS View that provides data about "Count of materials per Routing Group" in SAP S/4HANA. It reads from 1 data source (I_ProdnRoutingMatlAssgmtTP) and exposes 4 fields with key fields ProductionRoutingGroup, ProductionRouting.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProdnRoutingMatlAssgmtTP | I_ProdnRoutingMatlAssgmtTP | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Count of materials per Routing Group | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionRoutingGroup | ProductionRoutingGroup | ||
| KEY | ProductionRouting | ProductionRouting | ||
| NumberOfProducts | Associated Products | |||
| Product |
//@AbapCatalog.sqlViewName: 'IPRMATLCNT'
@VDM.viewType: #COMPOSITE
//@AbapCatalog.compiler.compareFilter: true
//@AbapCatalog.preserveKey:true
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #L, dataClass: #MIXED }
//@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Count of materials per Routing Group'
define view entity I_ProdnRtgMatlCount
as select from I_ProdnRoutingMatlAssgmtTP
{
key ProductionRoutingGroup,
key ProductionRouting,
@EndUserText.label: 'Associated Products'
count(*) as NumberOfProducts,
cast( cast( '' as abap.char(40) ) as matnr preserving type ) as Product
}
group by
ProductionRoutingGroup,
ProductionRouting
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PRODNROUTINGMATLASSGMTTP"
],
"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