P_ProjectFinBdgtSummary

DDL: P_PROJECTFINBDGTSUMMARY SQL: PPROJFBDGTSMRY Type: view COMPOSITE

P_ProjectFinBdgtSummary is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (I_ProjectByProjMgr, P_ProjFinSmmryLnItems, I_EnterpriseProject, I_WBSElementBasicData) and exposes 39 fields with key fields Project, SourceLedger, Ledger, CompanyCode, FiscalYear. It has 1 association to related views.

Data Sources (4)

SourceAliasJoin Type
I_ProjectByProjMgr _Project from
P_ProjFinSmmryLnItems _ProjectCostLineItems left_outer
I_EnterpriseProject _ProjectSummary inner
I_WBSElementBasicData PS_RootWBS inner

Associations (1)

CardinalityTargetAliasCondition
[0..1] P_ProjectLastPredictedOn _ProjPredict $projection.ProjectInternalID = _ProjPredict.ProjectInternalID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PPROJFBDGTSMRY view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
AbapCatalog.compiler.compareFilter true view

Fields (39)

KeyFieldSource TableSource FieldDescription
KEY Project I_ProjectByProjMgr Project WBS Element
KEY SourceLedger SourceLedger Source Ledger
KEY Ledger Ledger Ledger
KEY CompanyCode I_ProjectByProjMgr CompanyCode Receiver Company Code
KEY FiscalYear P_ProjFinSmmryLnItems FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY FinancialPlanningReqTransSqnc FinancialPlanningReqTransSqnc Request TSN
KEY FinancialPlanningDataPacket FinancialPlanningDataPacket Data packet number
KEY ActualPlanJournalEntryItem ActualPlanJournalEntryItem
ProjectUUID I_ProjectByProjMgr ProjectUUID Project UUID
ProjectDescription I_ProjectByProjMgr ProjectDescription Project Name
ProjectInternalID I_ProjectByProjMgr ProjectInternalID Project Def.
ProjectObject I_ProjectByProjMgr ProjectObject Object number
ProjectProfileCode I_ProjectByProjMgr ProjectProfileCode Project Profile
PlannedStartDate I_ProjectByProjMgr PlannedStartDate Latest Planned Start
PlannedEndDate I_ProjectByProjMgr PlannedEndDate Ltst Planned Finish
ProjectSummaryTaskUUID I_ProjectByProjMgr ProjectSummaryTaskUUID Entity GUID
ProjectCategory I_ProjectByProjMgr ProjectCategory Proj. Category
ProfitCenter I_ProjectByProjMgr ProfitCenter Profit Center
ProjectType I_EnterpriseProject EnterpriseProjectType Proj.type
AvailabilityControlIsActive I_ProjectByProjMgr AvailabilityControlIsActive Budget Availability Control is Active
AvailabilityControlProfile I_ProjectByProjMgr AvailabilityControlProfile Budget Availability Control Profile
AvailyCtrlTimeRangeType I_ProjectByProjMgr AvailyCtrlTimeRangeType
BudgetCurrencyRole I_ProjectByProjMgr BudgetCurrencyRole
CurrentDate
ControllingArea I_ProjectByProjMgr ControllingArea Controlling Area
ResponsibleCostCenter I_WBSElementBasicData ResponsibleCostCenter Responsible Cost Center
PlanningCategory P_ProjFinSmmryLnItems PlanningCategory Plan Category
SemanticTag P_ProjFinSmmryLnItems SemanticTag Semantic Tag
PostingDate P_ProjFinSmmryLnItems PostingDate Posting Date for GR
CreationDate P_ProjFinSmmryLnItems CreationDate Time Stamp
PredictedCostCreationDate _ProjPredict CreationDate Time Stamp
PredictedCostPostingDate
ProjectProcessingStatus I_ProjectByProjMgr ProjectProcessingStatus
IsSettled IsSettled Is Settled
GlobalCurrency P_ProjFinSmmryLnItems GlobalCurrency GM Billing Element: Global Currency
AmountInGlobalCurrency P_ProjFinSmmryLnItems AmountInGlobalCurrency Amount in Global Currency
ControllingObjectCurrency P_ProjFinSmmryLnItems ControllingObjectCurrency CO Object Currency
AmountInObjectCurrency P_ProjFinSmmryLnItems AmountInObjectCurrency Amount in Obj Crcy

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 P_ProjectFinBdgtSummary.
-- 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: PPROJFBDGTSMRY

CREATE VIEW P_ProjectFinBdgtSummary AS
SELECT
  _Project.Project AS Project,
  SourceLedger,
  Ledger,
  _Project.CompanyCode AS CompanyCode,
  _ProjectCostLineItems.FiscalYear AS FiscalYear,
  AccountingDocument,
  FinancialPlanningReqTransSqnc,
  FinancialPlanningDataPacket,
  ActualPlanJournalEntryItem,
  _Project.ProjectUUID AS ProjectUUID,
  _Project.ProjectDescription AS ProjectDescription,
  _Project.ProjectInternalID AS ProjectInternalID,
  _Project.ProjectObject AS ProjectObject,
  _Project.ProjectProfileCode AS ProjectProfileCode,
  _Project.PlannedStartDate AS PlannedStartDate,
  _Project.PlannedEndDate AS PlannedEndDate,
  _Project.ProjectSummaryTaskUUID AS ProjectSummaryTaskUUID,
  _Project.ProjectCategory AS ProjectCategory,
  _Project.ProfitCenter AS ProfitCenter,
  _ProjectSummary.EnterpriseProjectType AS ProjectType,
  _Project.AvailabilityControlIsActive AS AvailabilityControlIsActive,
  _Project.AvailabilityControlProfile AS AvailabilityControlProfile,
  _Project.AvailyCtrlTimeRangeType AS AvailyCtrlTimeRangeType,
  _Project.BudgetCurrencyRole AS BudgetCurrencyRole,
  $session.system_date AS CurrentDate,
  _Project.ControllingArea AS ControllingArea,
  PS_RootWBS.ResponsibleCostCenter AS ResponsibleCostCenter,
  _ProjectCostLineItems.PlanningCategory AS PlanningCategory,
  _ProjectCostLineItems.SemanticTag AS SemanticTag,
  _ProjectCostLineItems.PostingDate AS PostingDate,
  _ProjectCostLineItems.CreationDate AS CreationDate,
  _ProjPredict.CreationDate AS PredictedCostCreationDate,
  '00000000' AS PredictedCostPostingDate,
  _Project.ProjectProcessingStatus AS ProjectProcessingStatus,
  IsSettled,
  _ProjectCostLineItems.GlobalCurrency AS GlobalCurrency,
  _ProjectCostLineItems.AmountInGlobalCurrency AS AmountInGlobalCurrency,
  _ProjectCostLineItems.ControllingObjectCurrency AS ControllingObjectCurrency,
  _ProjectCostLineItems.AmountInObjectCurrency AS AmountInObjectCurrency
FROM I_ProjectByProjMgr AS _Project
INNER JOIN I_WBSElementBasicData AS PS_RootWBS ON /* join condition not captured in parsed metadata */
INNER JOIN I_EnterpriseProject AS _ProjectSummary ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_ProjFinSmmryLnItems AS _ProjectCostLineItems ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_ProjectLastPredictedOn AS _ProjPredict ON ProjectInternalID = _ProjPredict.ProjectInternalID  -- association [0..1]
;