P_WorkPackageWorkItemCount
P_WorkPackageWorkItemCount is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_WorkPackageWorkItem) and exposes 2 fields with key field WorkPackage.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkPackageWorkItem | I_WorkPackageWorkItem | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | PWPWRKITMCNT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #NONE | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkPackage | WorkPackage | ||
| NumberOfWorkItems |
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog: {
sqlViewName: 'PWPWRKITMCNT',
compiler.compareFilter: true,
preserveKey: true
}
@AccessControl: {
authorizationCheck: #NOT_REQUIRED
}
@ObjectModel: {
usageType.serviceQuality: #D,
usageType.sizeCategory: #XL,
usageType.dataClass: #MIXED
}
@VDM: {
private: true,
viewType: #COMPOSITE,
lifecycle.contract.type: #NONE
}
define view P_WorkPackageWorkItemCount
as select from I_WorkPackageWorkItem
{
key WorkPackage,
count( distinct WorkItem ) as NumberOfWorkItems
}
group by
WorkPackage
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