C_PPM_ProjectBriefCost
Source of Cost Chart
C_PPM_ProjectBriefCost is a Consumption CDS View that provides data about "Source of Cost Chart" in SAP S/4HANA. It reads from 1 data source (I_PPM_Project) and exposes 21 fields with key fields ProjectUUID, ProjectSummaryTaskUUID, ProjectInternalID, YearMonth. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PPM_Project | PPM | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_CalendarMonth | _CalendarMonth | $projection.CalendarMonth = _CalendarMonth.CalendarMonth |
| [0..1] | I_PPM_AuthznByUsrH | _AuthUserFin | _AuthUserFin.ReferencedObjectUUID = $projection.ProjectSummaryTaskUUID and _AuthUserFin.UserID = $session.user and _AuthUserFin.Activity = 'Financials' |
| [0..*] | I_PPM_AuthznBySubstitH | _AuthSubstFin | _AuthSubstFin.ReferencedObjectUUID = $projection.ProjectSummaryTaskUUID and _AuthSubstFin.UserID = $session.user and _AuthSubstFin.Activity = 'Financials' |
| [0..*] | I_PPM_AuthznByUserRoleH | _AuthRoleFin | _AuthRoleFin.ReferencedObjectUUID = $projection.ProjectSummaryTaskUUID and _AuthRoleFin.UserID = $session.user and _AuthRoleFin.Activity = 'Financials' |
| [0..*] | I_PPM_AuthznByUsrGrpH | _AuthGroupFin | _AuthGroupFin.ReferencedObjectUUID = $projection.ProjectSummaryTaskUUID and _AuthGroupFin.UserID = $session.user and _AuthGroupFin.Activity = 'Financials' |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPPMPROBRFCOSP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Source of Cost Chart | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.representativeKey | ProjectUUID | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| Consumption.semanticObject | Project | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectUUID | I_PPM_Project | ProjectUUID | Project UUID |
| KEY | ProjectSummaryTaskUUID | I_PPM_Project | ProjectSummaryTaskUUID | Entity GUID |
| KEY | ProjectInternalID | I_PPM_Project | ProjectInternalID | Project Def. |
| KEY | YearMonth | Period | YearMonth | Year Month |
| Project | I_PPM_Project | Project | WBS Element | |
| GlobalCurrency | Global Currency | |||
| CalendarYear | Period | CalendarYear | Year | |
| CalendarMonth | Period | CalendarMonth | Calendar Month | |
| CalendarMonthName | ||||
| ActualAmountInGlobalCurrency | Actual | |||
| PlanAmountInGlobalCurrency | Planned | |||
| _CalendarMonth | _CalendarMonth | |||
| _I_Project | I_PPM_Project | _I_Project | ||
| _AuthUser | I_PPM_Project | _AuthUser | ||
| _AuthSubst | I_PPM_Project | _AuthSubst | ||
| _AuthRole | I_PPM_Project | _AuthRole | ||
| _AuthGroup | I_PPM_Project | _AuthGroup | ||
| _AuthUserFin | _AuthUserFin | |||
| _AuthSubstFin | _AuthSubstFin | |||
| _AuthRoleFin | _AuthRoleFin | |||
| _AuthGroupFin | _AuthGroupFin |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_PPM_ProjectBriefCost.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CPPMPROBRFCOSP
CREATE VIEW C_PPM_ProjectBriefCost AS
SELECT
PPM.ProjectUUID AS ProjectUUID,
PPM.ProjectSummaryTaskUUID AS ProjectSummaryTaskUUID,
PPM.ProjectInternalID AS ProjectInternalID,
Period.YearMonth AS YearMonth,
PPM.Project AS Project,
cast( 'EUR' as abap.cuky ) AS GlobalCurrency,
Period.CalendarYear AS CalendarYear,
Period.CalendarMonth AS CalendarMonth,
_CalendarMonth._Text[1:Language = $session.system_language].CalendarMonthName AS CalendarMonthName,
cast( 0 as /s4ppm/ovr_act_cos_in_glo_curr) AS ActualAmountInGlobalCurrency,
cast( 0 as /s4ppm/ovr_pln_cos_in_glo_curr) AS PlanAmountInGlobalCurrency,
PPM._I_Project AS _I_Project,
PPM._AuthUser AS _AuthUser,
PPM._AuthSubst AS _AuthSubst,
PPM._AuthRole AS _AuthRole,
PPM._AuthGroup AS _AuthGroup
FROM I_PPM_Project AS PPM
LEFT OUTER JOIN I_CalendarMonth AS _CalendarMonth ON CalendarMonth = _CalendarMonth.CalendarMonth -- association [1]
LEFT OUTER JOIN I_PPM_AuthznByUsrH AS _AuthUserFin ON _AuthUserFin.ReferencedObjectUUID = ProjectSummaryTaskUUID AND _AuthUserFin.UserID = $session.user AND _AuthUserFin.Activity = 'Financials' -- association [0..1]
LEFT OUTER JOIN I_PPM_AuthznBySubstitH AS _AuthSubstFin ON _AuthSubstFin.ReferencedObjectUUID = ProjectSummaryTaskUUID AND _AuthSubstFin.UserID = $session.user AND _AuthSubstFin.Activity = 'Financials' -- association [0..*]
LEFT OUTER JOIN I_PPM_AuthznByUserRoleH AS _AuthRoleFin ON _AuthRoleFin.ReferencedObjectUUID = ProjectSummaryTaskUUID AND _AuthRoleFin.UserID = $session.user AND _AuthRoleFin.Activity = 'Financials' -- association [0..*]
LEFT OUTER JOIN I_PPM_AuthznByUsrGrpH AS _AuthGroupFin ON _AuthGroupFin.ReferencedObjectUUID = ProjectSummaryTaskUUID AND _AuthGroupFin.UserID = $session.user AND _AuthGroupFin.Activity = 'Financials' -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA