C_ProjectCostsToDate

DDL: C_PROJECTCOSTSTODATE SQL: CPROJCOSTSTODATE Type: view CONSUMPTION

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)

SourceAliasJoin Type
P_ProjectCostsToDate _ProjectCostsToDate from

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_PPM_Project _ProjectHeaderExtension $projection.ProjectUUID = _ProjectHeaderExtension.ProjectUUID

Annotations (14)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;