P_MstrProjAggrgdCmtmt

DDL: P_MSTRPROJAGGRGDCMTMT SQL: PMSTRPROJAGCTMT Type: view COMPOSITE Package: VDM_CPM_WS

Master Project Aggregated Commitment

P_MstrProjAggrgdCmtmt is a Composite CDS View that provides data about "Master Project Aggregated Commitment" in SAP S/4HANA. It reads from 1 data source (I_MstrProjCommitment) and exposes 4 fields with key field ControllingObject. It has 1 association to related views. Part of development package VDM_CPM_WS.

Data Sources (1)

SourceAliasJoin Type
I_MstrProjCommitment Commitment from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PMSTRPROJAGCTMT view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ControllingObject I_MstrProjCommitment ControllingObject Object number
ControllingArea I_MstrProjCommitment ControllingArea Controlling Area
ControllingAreaCurrency _ControllingArea ControllingAreaCurrency
CmtmtCostInGlobalCurrency

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_MstrProjAggrgdCmtmt.
-- 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: PMSTRPROJAGCTMT

CREATE VIEW P_MstrProjAggrgdCmtmt AS
SELECT
  Commitment.ControllingObject AS ControllingObject,
  Commitment.ControllingArea AS ControllingArea,
  _ControllingArea.ControllingAreaCurrency AS ControllingAreaCurrency,
  sum (Commitment.AmountInGlobalCurrency) AS CmtmtCostInGlobalCurrency
FROM I_MstrProjCommitment AS Commitment
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [1..1]
;