C_WBSElmntVersGraphOverview

DDL: C_WBSELMNTVERSGRAPHOVERVIEW SQL: CPROJWBSELMVOVW Type: view CONSUMPTION

Overview of WBS Element Version for Graph

C_WBSElmntVersGraphOverview is a Consumption CDS View that provides data about "Overview of WBS Element Version for Graph" in SAP S/4HANA. It reads from 1 data source (I_WBSElementVersionData) and exposes 83 fields with key fields WBSElementExternalID, Version. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_WBSElementVersionData ProjectWBSElement from

Associations (7)

CardinalityTargetAliasCondition
[0..1] I_StsObjConcatActiveStsILL _Status _Status.StatusObject = $projection.WBSElementObject
[1..1] C_ProjectVersForNetworkGraph _Project _Project.ProjectInternalID = $projection.ProjectInternalID and _Project.Version = $projection.Version
[0..1] I_FreeDfndTblFieldSemanticText _FieldKeyLabel $projection.FreeDefinedTableFieldSemantic = _FieldKeyLabel.FreeDefinedTableFieldSemantic and _FieldKeyLabel.Language = $session.system_language
[0..1] I_ProjectApplicant _ProjectApplicant $projection.ApplicantCode = _ProjectApplicant.ApplicantCode
[0..*] I_CostCenter _ResponsibleCostCenter _ResponsibleCostCenter.CostCenter = $projection.ResponsibleCostCenter and _ResponsibleCostCenter.ControllingArea = $projection.RespCostCenterControllingArea
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..*] I_ProfitCenter _ProfitCenter $projection.ProfitCenter = _ProfitCenter.ProfitCenter and $projection.ControllingArea = _ProfitCenter.ControllingArea

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CPROJWBSELMVOVW view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Overview of WBS Element Version for Graph view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view

Fields (83)

KeyFieldSource TableSource FieldDescription
KEY WBSElementExternalID
KEY Version Version XML Vers.
WBSElementInternalID WBSElementInternalID WBS Internal ID
WBSDescription I_WBSElementVersionData WBSDescription WBS Element Name
ProjectTypeName Project Type
PriorityCodeName Priority
WBSElementObject I_WBSElementVersionData WBSElementObject Object number
ProjectInternalID I_WBSElementVersionData ProjectInternalID Project Def.
FreeDefinedTableFieldSemantic I_WBSElementVersionData FreeDefinedTableFieldSemantic Field key PS
FreeDfndTableFieldSemanticName _FieldKeyLabel FreeDfndTableFieldSemanticName
ProjectType I_WBSElementVersionData ProjectType Project Type
ControllingArea I_WBSElementVersionData ControllingArea Controlling Area
RespCostCenterControllingArea I_WBSElementVersionData RespCostCenterControllingArea CA (resp.)
ProfitCenter I_WBSElementVersionData ProfitCenter Profit Center
IsMarkedForDeletion I_WBSElementVersionData IsMarkedForDeletion Purch.org. data
ProfitCenterName
Plant I_WBSElementVersionData Plant Valuation Area
PlantName _Plant PlantName Plant Name
WBSElementHierarchyLevel I_WBSElementVersionData WBSElementHierarchyLevel Level Number
ResponsiblePersonName I_WBSElementVersionData ResponsiblePersonName Person Responsible Name
ApplicantName I_WBSElementVersionData ApplicantName Applicant Name
ControllingObjectClassName
ControllingAreaName
CompanyCodeName
BusinessAreaName
BasicStartDate I_WBSElementVersionData BasicStartDate Start Date
BasicEndDate I_WBSElementVersionData BasicEndDate End Date
SchedldBasicEarliestStartDate I_WBSElementVersionData SchedldBasicEarliestStartDate Earliest Start Date
SchedldBasicEarliestEndDate I_WBSElementVersionData SchedldBasicEarliestEndDate Earliest End Date
SchedldBasicLatestStartDate I_WBSElementVersionData SchedldBasicLatestStartDate Latest Start Date
ScheduledBasicLatestEndDate I_WBSElementVersionData ScheduledBasicLatestEndDate Latest End Date
ActualStartDate I_WBSElementVersionData ActualStartDate Actual Start Date
ActualEndDate I_WBSElementVersionData ActualEndDate Actual End Date
BasicDuration I_WBSElementVersionData BasicDuration Duration
BasicDurationUnit I_WBSElementVersionData BasicDurationUnit Duration Unit
TentativeActualStartDate I_WBSElementVersionData TentativeActualStartDate Tentative Actual Start Date
TentativeActualEndDate I_WBSElementVersionData TentativeActualEndDate Tentative Actual End Date
ActualDuration I_WBSElementVersionData ActualDuration Actual Duration
ActualDurationUnit I_WBSElementVersionData ActualDurationUnit Actual Duration Unit
SchedldFcstdEarliestStartDate I_WBSElementVersionData SchedldFcstdEarliestStartDate Forecast Earliest Start Date
SchedldFcstdEarliestEndDate I_WBSElementVersionData SchedldFcstdEarliestEndDate Forecast Earliest End Date
LatestSchedldFcstdStartDate I_WBSElementVersionData LatestSchedldFcstdStartDate Forecast Latest Start Date
LatestSchedldFcstdEndDate I_WBSElementVersionData LatestSchedldFcstdEndDate Forecast Latest End Date
WBSElementIsPlanningElement I_WBSElementVersionData WBSElementIsPlanningElement
WBSIsAccountAssignmentElement I_WBSElementVersionData WBSIsAccountAssignmentElement
WBSElementIsBillingElement I_WBSElementVersionData WBSElementIsBillingElement Billing elem.
CostCenter I_WBSElementVersionData CostCenter Cost Center to which costs are posted
ResponsibleCostCenter I_WBSElementVersionData ResponsibleCostCenter Responsible Cost Center
ProjectExternalID
ProjectDescription _Project ProjectDescription Project Name
FreeDefinedAttribute01 I_WBSElementVersionData FreeDefinedAttribute01 Attribute 1
FreeDefinedAttribute02 I_WBSElementVersionData FreeDefinedAttribute02 Attribute 2
FreeDefinedAttribute03 I_WBSElementVersionData FreeDefinedAttribute03 Attribute 3
FreeDefinedAttribute04 I_WBSElementVersionData FreeDefinedAttribute04 Attribute 4
FreeDefinedQuantity1Unit I_WBSElementVersionData FreeDefinedQuantity1Unit
FreeDefinedQuantity1 I_WBSElementVersionData FreeDefinedQuantity1
FreeDefinedQuantity2Unit I_WBSElementVersionData FreeDefinedQuantity2Unit
FreeDefinedQuantity2 I_WBSElementVersionData FreeDefinedQuantity2
FreeDefinedAmount1Currency I_WBSElementVersionData FreeDefinedAmount1Currency
FreeDefinedAmount1
FreeDefinedAmount2Currency I_WBSElementVersionData FreeDefinedAmount2Currency
FreeDefinedAmount2
FreeDefinedDate1 I_WBSElementVersionData FreeDefinedDate1
FreeDefinedDate2 I_WBSElementVersionData FreeDefinedDate2
FreeDefinedIndicator1 I_WBSElementVersionData FreeDefinedIndicator1
FreeDefinedIndicator2 I_WBSElementVersionData FreeDefinedIndicator2
FreeDefinedAttribute01Label _FieldKeyLabel FreeDefinedAttribute01Label
FreeDefinedAttribute02Label _FieldKeyLabel FreeDefinedAttribute02Label
FreeDefinedAttribute03Label _FieldKeyLabel FreeDefinedAttribute03Label
FreeDefinedAttribute04Label _FieldKeyLabel FreeDefinedAttribute04Label
FreeDefinedQuantity1Label _FieldKeyLabel FreeDefinedQuantity1Label
FreeDefinedQuantity2Label _FieldKeyLabel FreeDefinedQuantity2Label
FreeDefinedAmount1Label _FieldKeyLabel FreeDefinedAmount1Label
FreeDefinedAmount2Label _FieldKeyLabel FreeDefinedAmount2Label
FreeDefinedDate1Label _FieldKeyLabel FreeDefinedDate1Label
FreeDefinedDate2Label _FieldKeyLabel FreeDefinedDate2Label
FreeDefinedIndicator1Label _FieldKeyLabel FreeDefinedIndicator1Label
FreeDefinedIndicator2Label _FieldKeyLabel FreeDefinedIndicator2Label
_Project _Project
_ProjectApplicant _ProjectApplicant
_ResponsibleCostCenter _ResponsibleCostCenter
_Plant _Plant
_ProfitCenter _ProfitCenter

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_WBSElmntVersGraphOverview.
-- 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: CPROJWBSELMVOVW

CREATE VIEW C_WBSElmntVersGraphOverview AS
SELECT
  cast (ProjectWBSElement.WBSElementExternalID as ps_posid_edit ) AS WBSElementExternalID,
  Version,
  WBSElementInternalID,
  ProjectWBSElement.WBSDescription AS WBSDescription,
  cast ( ProjectWBSElement._ProjectType._Text[1:Language = $session.system_language].ProjectTypeName as ps_s4_pratx preserving type ) AS ProjectTypeName,
  cast ( ProjectWBSElement._PriorityCode._Text[1:Language = $session.system_language].PriorityCodeName as ps_s4_priotext preserving type ) AS PriorityCodeName,
  ProjectWBSElement.WBSElementObject AS WBSElementObject,
  ProjectWBSElement.ProjectInternalID AS ProjectInternalID,
  ProjectWBSElement.FreeDefinedTableFieldSemantic AS FreeDefinedTableFieldSemantic,
  _FieldKeyLabel.FreeDfndTableFieldSemanticName AS FreeDfndTableFieldSemanticName,
  ProjectWBSElement.ProjectType AS ProjectType,
  ProjectWBSElement.ControllingArea AS ControllingArea,
  ProjectWBSElement.RespCostCenterControllingArea AS RespCostCenterControllingArea,
  ProjectWBSElement.ProfitCenter AS ProfitCenter,
  ProjectWBSElement.IsMarkedForDeletion AS IsMarkedForDeletion,
  _ProfitCenter[1: ValidityEndDate >= $session.system_date and ValidityStartDate <= $session.system_date]._Text[1:Language = $session.system_language ].ProfitCenterName AS ProfitCenterName,
  ProjectWBSElement.Plant AS Plant,
  _Plant.PlantName AS PlantName,
  ProjectWBSElement.WBSElementHierarchyLevel AS WBSElementHierarchyLevel,
  ProjectWBSElement.ResponsiblePersonName AS ResponsiblePersonName,
  ProjectWBSElement.ApplicantName AS ApplicantName,
  cast ( ProjectWBSElement._ControllingObjectClass._Text[1:Language = $session.system_language].ControllingObjectClassName as ps_s4_scope_cvtext ) AS ControllingObjectClassName,
  cast ( ProjectWBSElement._ControllingArea.ControllingAreaName as ps_s4_bezei preserving type ) AS ControllingAreaName,
  cast ( ProjectWBSElement._CompanyCode.CompanyCodeName as ps_s4_butxt preserving type ) AS CompanyCodeName,
  cast ( ProjectWBSElement._BusinessArea._Text[1:Language = $session.system_language].BusinessAreaName as fis_gtext preserving type ) AS BusinessAreaName,
  ProjectWBSElement.BasicStartDate AS BasicStartDate,
  ProjectWBSElement.BasicEndDate AS BasicEndDate,
  ProjectWBSElement.SchedldBasicEarliestStartDate AS SchedldBasicEarliestStartDate,
  ProjectWBSElement.SchedldBasicEarliestEndDate AS SchedldBasicEarliestEndDate,
  ProjectWBSElement.SchedldBasicLatestStartDate AS SchedldBasicLatestStartDate,
  ProjectWBSElement.ScheduledBasicLatestEndDate AS ScheduledBasicLatestEndDate,
  ProjectWBSElement.ActualStartDate AS ActualStartDate,
  ProjectWBSElement.ActualEndDate AS ActualEndDate,
  ProjectWBSElement.BasicDuration AS BasicDuration,
  ProjectWBSElement.BasicDurationUnit AS BasicDurationUnit,
  ProjectWBSElement.TentativeActualStartDate AS TentativeActualStartDate,
  ProjectWBSElement.TentativeActualEndDate AS TentativeActualEndDate,
  ProjectWBSElement.ActualDuration AS ActualDuration,
  ProjectWBSElement.ActualDurationUnit AS ActualDurationUnit,
  ProjectWBSElement.SchedldFcstdEarliestStartDate AS SchedldFcstdEarliestStartDate,
  ProjectWBSElement.SchedldFcstdEarliestEndDate AS SchedldFcstdEarliestEndDate,
  ProjectWBSElement.LatestSchedldFcstdStartDate AS LatestSchedldFcstdStartDate,
  ProjectWBSElement.LatestSchedldFcstdEndDate AS LatestSchedldFcstdEndDate,
  ProjectWBSElement.WBSElementIsPlanningElement AS WBSElementIsPlanningElement,
  ProjectWBSElement.WBSIsAccountAssignmentElement AS WBSIsAccountAssignmentElement,
  ProjectWBSElement.WBSElementIsBillingElement AS WBSElementIsBillingElement,
  ProjectWBSElement.CostCenter AS CostCenter,
  ProjectWBSElement.ResponsibleCostCenter AS ResponsibleCostCenter,
  cast (_Project.ProjectExternalID as ps_pspid_edit preserving type) AS ProjectExternalID,
  _Project.ProjectDescription AS ProjectDescription,
  ProjectWBSElement.FreeDefinedAttribute01 AS FreeDefinedAttribute01,
  ProjectWBSElement.FreeDefinedAttribute02 AS FreeDefinedAttribute02,
  ProjectWBSElement.FreeDefinedAttribute03 AS FreeDefinedAttribute03,
  ProjectWBSElement.FreeDefinedAttribute04 AS FreeDefinedAttribute04,
  ProjectWBSElement.FreeDefinedQuantity1Unit AS FreeDefinedQuantity1Unit,
  ProjectWBSElement.FreeDefinedQuantity1 AS FreeDefinedQuantity1,
  ProjectWBSElement.FreeDefinedQuantity2Unit AS FreeDefinedQuantity2Unit,
  ProjectWBSElement.FreeDefinedQuantity2 AS FreeDefinedQuantity2,
  ProjectWBSElement.FreeDefinedAmount1Currency AS FreeDefinedAmount1Currency,
  cast ( ProjectWBSElement.FreeDefinedAmount1 as abap.curr( 13, 2 ) ) AS FreeDefinedAmount1,
  ProjectWBSElement.FreeDefinedAmount2Currency AS FreeDefinedAmount2Currency,
  cast ( ProjectWBSElement.FreeDefinedAmount2 as abap.curr( 13, 2 ) ) AS FreeDefinedAmount2,
  ProjectWBSElement.FreeDefinedDate1 AS FreeDefinedDate1,
  ProjectWBSElement.FreeDefinedDate2 AS FreeDefinedDate2,
  ProjectWBSElement.FreeDefinedIndicator1 AS FreeDefinedIndicator1,
  ProjectWBSElement.FreeDefinedIndicator2 AS FreeDefinedIndicator2,
  _FieldKeyLabel.FreeDefinedAttribute01Label AS FreeDefinedAttribute01Label,
  _FieldKeyLabel.FreeDefinedAttribute02Label AS FreeDefinedAttribute02Label,
  _FieldKeyLabel.FreeDefinedAttribute03Label AS FreeDefinedAttribute03Label,
  _FieldKeyLabel.FreeDefinedAttribute04Label AS FreeDefinedAttribute04Label,
  _FieldKeyLabel.FreeDefinedQuantity1Label AS FreeDefinedQuantity1Label,
  _FieldKeyLabel.FreeDefinedQuantity2Label AS FreeDefinedQuantity2Label,
  _FieldKeyLabel.FreeDefinedAmount1Label AS FreeDefinedAmount1Label,
  _FieldKeyLabel.FreeDefinedAmount2Label AS FreeDefinedAmount2Label,
  _FieldKeyLabel.FreeDefinedDate1Label AS FreeDefinedDate1Label,
  _FieldKeyLabel.FreeDefinedDate2Label AS FreeDefinedDate2Label,
  _FieldKeyLabel.FreeDefinedIndicator1Label AS FreeDefinedIndicator1Label,
  _FieldKeyLabel.FreeDefinedIndicator2Label AS FreeDefinedIndicator2Label
FROM I_WBSElementVersionData AS ProjectWBSElement
LEFT OUTER JOIN I_StsObjConcatActiveStsILL AS _Status ON _Status.StatusObject = WBSElementObject  -- association [0..1]
LEFT OUTER JOIN C_ProjectVersForNetworkGraph AS _Project ON _Project.ProjectInternalID = ProjectInternalID AND _Project.Version = Version  -- association [1..1]
LEFT OUTER JOIN I_FreeDfndTblFieldSemanticText AS _FieldKeyLabel ON FreeDefinedTableFieldSemantic = _FieldKeyLabel.FreeDefinedTableFieldSemantic AND _FieldKeyLabel.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_ProjectApplicant AS _ProjectApplicant ON ApplicantCode = _ProjectApplicant.ApplicantCode  -- association [0..1]
LEFT OUTER JOIN I_CostCenter AS _ResponsibleCostCenter ON _ResponsibleCostCenter.CostCenter = ResponsibleCostCenter AND _ResponsibleCostCenter.ControllingArea = RespCostCenterControllingArea  -- association [0..*]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ProfitCenter = _ProfitCenter.ProfitCenter AND ControllingArea = _ProfitCenter.ControllingArea  -- association [0..*]
;