C_MilestoneVersGraphOverview
Overview of Milestone Version for Graph
C_MilestoneVersGraphOverview is a Consumption CDS View that provides data about "Overview of Milestone Version for Graph" in SAP S/4HANA. It reads from 1 data source (I_ProjectMilestoneVersionData) and exposes 49 fields with key fields ProjectMilestone, ProjectMilestoneInternalID, Version. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProjectMilestoneVersionData | ProjectMilestone | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | C_WBSElementVersForGraph | _WBSElement | _WBSElement.WBSElementInternalID = $projection.WBSElementInternalID and _WBSElement.Version = $projection.Version |
| [0..1] | C_ProjectVersForNetworkGraph | _Project | _Project.ProjectInternalID = $projection.ProjectInternalID and _Project.Version = $projection.Version |
| [0..1] | C_ProjectNetworkVersForGraph | _ProjectNetwork | _ProjectNetwork.ProjectNetwork = $projection.ProjectNetwork and _ProjectNetwork.Version = $projection.Version |
| [0..1] | C_NetworkActivityVersForGraph | _NetworkActivity | _NetworkActivity.ProjectNetworkInternalID = $projection.ProjectNetworkInternalID and _NetworkActivity.NetworkActivityInternalID = $projection.NetworkActivityInternalID and _NetworkActivity.Version = $projection.Version |
| [1..1] | E_ProjectMilestoneVersion | _Extension | $projection.ProjectMilestone = _Extension.ProjectMilestone and $projection.Version = _Extension.Version |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMLSGRAPHVOV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Overview of Milestone 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 | #M | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (49)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectMilestone | Milestone no. | ||
| KEY | ProjectMilestoneInternalID | ProjectMilestoneInternalID | Sort pos. | |
| KEY | Version | Version | XML Vers. | |
| WBSElementExternalID | ||||
| WBSElementObject | ||||
| ProjectExternalID | ||||
| ProjectInternalID | ||||
| ProjectNetwork | Network | |||
| char440asNetworkActivity | ||||
| SuperiorNtwkActivityExternalID | ||||
| WBSDescription | ||||
| ProjectDescription | ||||
| ProjectNetworkDescription | ||||
| NetworkActivityDescription | ||||
| WBSElementInternalID | WBS Internal ID | |||
| ProjectNetworkInternalID | ProjectNetworkInternalID | Plan No.f.Oper. | ||
| NetworkActivityInternalID | NetworkActivityInternalID | Counter | ||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| MilestoneDescription | MilestoneDescription | Milestone Name | ||
| UsageCode | UsageCode | Usage | ||
| UsageCodeNameendasUsageCodeName | ||||
| LastChangeDate | Time Stamp | |||
| ScheduledBasicDate | ScheduledBasicDate | |||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDate | Time Stamp | |||
| LastChangedByUser | User Name | |||
| ProjCostToBeInvoicedPercent | ||||
| IsDeleted | TRUE | |||
| MlstnIsRelevantForPrgrsAnlys | MlstnIsRelevantForPrgrsAnlys | |||
| MlstnIsRelevantForDteInSlsDoc | MlstnIsRelevantForDteInSlsDoc | |||
| MlstnIsRelevantForTrendAnlys | MlstnIsRelevantForTrendAnlys | |||
| MlstnIsUsedforMlstnFunc | MlstnIsUsedforMlstnFunc | |||
| MlstnReleaseStopIsActive | MlstnReleaseStopIsActive | |||
| SchedldBasicEarliestStartDate | _NetworkActivity | SchedldBasicEarliestStartDate | Basic Earliest Start Date | |
| SchedldBasicEarliestEndDate | _NetworkActivity | SchedldBasicEarliestEndDate | Basic Earliest End Date | |
| SchedldFcstdEarliestStartDate | _NetworkActivity | SchedldFcstdEarliestStartDate | Forecast Earliest Start Date | |
| SchedldFcstdEarliestEndDate | _NetworkActivity | SchedldFcstdEarliestEndDate | Forecast Earliest End Date | |
| LatestSchedldFcstdStartDate | _NetworkActivity | LatestSchedldFcstdStartDate | Forecast Latest Start Date | |
| LatestSchedldFcstdEndDate | _NetworkActivity | LatestSchedldFcstdEndDate | Forecast Latest End Date | |
| DateIsOffsetToParentEndDate | DateIsOffsetToParentEndDate | |||
| MlstnDateOffsetPercent | MlstnDateOffsetPercent | |||
| MlstnDateOffsetDurationUnit | MlstnDateOffsetDurationUnit | |||
| MlstnDateOffsetDuration | MlstnDateOffsetDuration | WarrCountValue | ||
| DateIsOffsetToParentLtstDates | DateIsOffsetToParentLtstDates | |||
| WorkflowTask | WorkflowTask | TaskID | ||
| _ProjectNetwork | _ProjectNetwork | |||
| _NetworkActivity | _NetworkActivity | |||
| _WBSElement | _WBSElement | |||
| _Project | _Project |
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_MilestoneVersGraphOverview.
-- 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: CMLSGRAPHVOV
CREATE VIEW C_MilestoneVersGraphOverview AS
SELECT
cast(ProjectMilestone as ps_s4_mlst_zaehl preserving type) AS ProjectMilestone,
ProjectMilestoneInternalID,
Version,
ProjectMilestone._WBSElement.WBSElementExternalID AS WBSElementExternalID,
ProjectMilestone._WBSElement.WBSElementObject AS WBSElementObject,
ProjectMilestone._WBSElement._Project.ProjectExternalID AS ProjectExternalID,
ProjectMilestone._WBSElement.ProjectInternalID AS ProjectInternalID,
ProjectMilestone._ProjectNetworkVersion.ProjectNetwork AS ProjectNetwork,
lpad( cast( case when ProjectMilestone._NetworkActivityVersion.NetworkActivity is null then '' else ProjectMilestone._NetworkActivityVersion.NetworkActivity end as abap.char( 4 )), 4, '0' ) as NetworkActivity AS char440asNetworkActivity,
lpad(_NetworkActivity.SuperiorNtwkActivityExternalID, 4, '0' ) AS SuperiorNtwkActivityExternalID,
ProjectMilestone._WBSElement.WBSDescription AS WBSDescription,
ProjectMilestone._WBSElement._Project.ProjectDescription AS ProjectDescription,
ProjectMilestone._ProjectNetworkVersion.ProjectNetworkDescription AS ProjectNetworkDescription,
ProjectMilestone._NetworkActivityVersion.NetworkActivityDescription AS NetworkActivityDescription,
cast( WBSElementInternalID as ps_pspnr) AS WBSElementInternalID,
ProjectNetworkInternalID,
NetworkActivityInternalID,
AuthorizationGroup,
MilestoneDescription,
UsageCode,
case when _UsageText._UsageCodeText[1:Language = $session.system_language].UsageCodeName is null then '' else _UsageText._UsageCodeText[1:Language = $session.system_language].UsageCodeName end as UsageCodeName AS UsageCodeNameendasUsageCodeName,
cast(LastChangeDate as ps_s4_updat) AS LastChangeDate,
ScheduledBasicDate,
CreatedByUser,
cast(CreationDate as erdat) AS CreationDate,
cast(LastChangedByUser as ps_s4_aenam) AS LastChangedByUser,
cast(ProjCostToBeInvoicedPercent as fproz ) AS ProjCostToBeInvoicedPercent,
cast (IsDeleted as ps_s4_loevm) AS IsDeleted,
MlstnIsRelevantForPrgrsAnlys,
MlstnIsRelevantForDteInSlsDoc,
MlstnIsRelevantForTrendAnlys,
MlstnIsUsedforMlstnFunc,
MlstnReleaseStopIsActive,
_NetworkActivity.SchedldBasicEarliestStartDate AS SchedldBasicEarliestStartDate,
_NetworkActivity.SchedldBasicEarliestEndDate AS SchedldBasicEarliestEndDate,
_NetworkActivity.SchedldFcstdEarliestStartDate AS SchedldFcstdEarliestStartDate,
_NetworkActivity.SchedldFcstdEarliestEndDate AS SchedldFcstdEarliestEndDate,
_NetworkActivity.LatestSchedldFcstdStartDate AS LatestSchedldFcstdStartDate,
_NetworkActivity.LatestSchedldFcstdEndDate AS LatestSchedldFcstdEndDate,
DateIsOffsetToParentEndDate,
MlstnDateOffsetPercent,
MlstnDateOffsetDurationUnit,
MlstnDateOffsetDuration,
DateIsOffsetToParentLtstDates,
WorkflowTask
FROM I_ProjectMilestoneVersionData AS ProjectMilestone
LEFT OUTER JOIN C_WBSElementVersForGraph AS _WBSElement ON _WBSElement.WBSElementInternalID = WBSElementInternalID AND _WBSElement.Version = Version -- association [0..1]
LEFT OUTER JOIN C_ProjectVersForNetworkGraph AS _Project ON _Project.ProjectInternalID = ProjectInternalID AND _Project.Version = Version -- association [0..1]
LEFT OUTER JOIN C_ProjectNetworkVersForGraph AS _ProjectNetwork ON _ProjectNetwork.ProjectNetwork = ProjectNetwork AND _ProjectNetwork.Version = Version -- association [0..1]
LEFT OUTER JOIN C_NetworkActivityVersForGraph AS _NetworkActivity ON _NetworkActivity.ProjectNetworkInternalID = ProjectNetworkInternalID AND _NetworkActivity.NetworkActivityInternalID = NetworkActivityInternalID AND _NetworkActivity.Version = Version -- association [0..1]
LEFT OUTER JOIN E_ProjectMilestoneVersion AS _Extension ON ProjectMilestone = _Extension.ProjectMilestone AND Version = _Extension.Version -- 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