P_ProjectCostSum
Project Total Actual Costs
P_ProjectCostSum is a Composite CDS View that provides data about "Project Total Actual Costs" in SAP S/4HANA. It reads from 1 data source (P_EnterpriseProjectCosts) and exposes 2 fields with key field ProjectInternalID. Part of development package VDM_PS_ST.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_EnterpriseProjectCosts | costline | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPROCSTSUM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectInternalID | P_EnterpriseProjectCosts | ProjectInternalID | |
| ActualAmountInGlobalCurrency |
@AbapCatalog.sqlViewName: 'PPROCSTSUM'
@AbapCatalog.compiler.compareFilter: true
@VDM.private: true
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling: {
type: #CLIENT_DEPENDENT,
algorithm: #SESSION_VARIABLE
}
@ObjectModel: {
usageType:{ sizeCategory: #XXL,
dataClass: #MIXED,
serviceQuality: #D }
}
define view P_ProjectCostSum as select from P_EnterpriseProjectCosts as costline
{
key costline.ProjectInternalID,
@DefaultAggregation: #SUM
sum (costline.AmountInGlobalCurrency) as ActualAmountInGlobalCurrency
} where costline.PlanningCategory = 'ACT01' and costline.ProjectInternalID <> '00000000' and IsSettled = 'X'
group by costline.ProjectInternalID
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