C_ProjectCostsToDate
Project Costs to Date
C_ProjectCostsToDate is a Consumption CDS View that provides data about "Project Costs to Date" in SAP S/4HANA. It reads from 1 data source (P_ProjectCostsToDate) and exposes 18 fields with key fields YearMonth, Project, CompanyCode, PostingDate, ProfitCenter. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ProjectCostsToDate | _ProjectCostsToDate | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_PPM_Project | _ProjectHeaderExtension | $projection.ProjectUUID = _ProjectHeaderExtension.ProjectUUID |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPROJCOSTSTODATE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Project Costs to Date | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.dbHints.hint | NO_RECOMPILE_WITH_SQL_PARAMETERS | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| Consumption.semanticObject | EnterpriseProject | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | YearMonth | YearMonth | Year Month | |
| KEY | Project | P_ProjectCostsToDate | Project | WBS Element |
| KEY | CompanyCode | P_ProjectCostsToDate | CompanyCode | Receiver Company Code |
| KEY | PostingDate | P_ProjectCostsToDate | PostingDate | Posting Date for GR |
| KEY | ProfitCenter | P_ProjectCostsToDate | ProfitCenter | Profit Center |
| KEY | PlanningCategory | P_ProjectCostsToDate | PlanningCategory | Plan Category |
| ProjectUUID | P_ProjectCostsToDate | ProjectUUID | Project UUID | |
| ProjectInternalID | P_ProjectCostsToDate | ProjectInternalID | Project Def. | |
| GlobalCurrency | P_ProjectCostsToDate | GlobalCurrency | GM Billing Element: Global Currency | |
| ControllingArea | P_ProjectCostsToDate | ControllingArea | Controlling Area | |
| BusinessPartnerFullName | P_ProjectCostsToDate | BusinessPartnerFullName | Broker Name | |
| BusinessPartnerUUID | P_ProjectCostsToDate | BusinessPartnerUUID | UUID | |
| BusinessPartner | P_ProjectCostsToDate | BusinessPartner | Issuing Authority | |
| ProjectType | P_ProjectCostsToDate | ProjectType | Project Type | |
| ActualAmountInGlobalCurrency | P_ProjectCostsToDate | ActualAmountInGlobalCurrency | Actual Cost | |
| PlanAmountInGlobalCurrency | P_ProjectCostsToDate | PlanAmountInGlobalCurrency | Planned Cost | |
| AmountInGlobalCurrency | P_ProjectCostsToDate | AmountInGlobalCurrency | Amount in Global Currency | |
| CalendarMonthName | P_ProjectCostsToDate | CalendarMonthName |
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_ProjectCostsToDate.
-- 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: CPROJCOSTSTODATE
CREATE VIEW C_ProjectCostsToDate AS
SELECT
YearMonth,
_ProjectCostsToDate.Project AS Project,
_ProjectCostsToDate.CompanyCode AS CompanyCode,
_ProjectCostsToDate.PostingDate AS PostingDate,
_ProjectCostsToDate.ProfitCenter AS ProfitCenter,
_ProjectCostsToDate.PlanningCategory AS PlanningCategory,
_ProjectCostsToDate.ProjectUUID AS ProjectUUID,
_ProjectCostsToDate.ProjectInternalID AS ProjectInternalID,
_ProjectCostsToDate.GlobalCurrency AS GlobalCurrency,
_ProjectCostsToDate.ControllingArea AS ControllingArea,
_ProjectCostsToDate.BusinessPartnerFullName AS BusinessPartnerFullName,
_ProjectCostsToDate.BusinessPartnerUUID AS BusinessPartnerUUID,
_ProjectCostsToDate.BusinessPartner AS BusinessPartner,
_ProjectCostsToDate.ProjectType AS ProjectType,
_ProjectCostsToDate.ActualAmountInGlobalCurrency AS ActualAmountInGlobalCurrency,
_ProjectCostsToDate.PlanAmountInGlobalCurrency AS PlanAmountInGlobalCurrency,
_ProjectCostsToDate.AmountInGlobalCurrency AS AmountInGlobalCurrency,
_ProjectCostsToDate.CalendarMonthName AS CalendarMonthName
FROM P_ProjectCostsToDate AS _ProjectCostsToDate
LEFT OUTER JOIN E_PPM_Project AS _ProjectHeaderExtension ON ProjectUUID = _ProjectHeaderExtension.ProjectUUID -- association [1..1]
;
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