P_ProjScheduleMilestoneAttrib

DDL: P_PROJSCHEDULEMILESTONEATTRIB SQL: PMLSTATTR Type: view COMPOSITE

P_ProjScheduleMilestoneAttrib is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_ProjectMilestoneData) and exposes 21 fields with key fields ProjectMilestone, ProjectMilestoneInternalID.

Data Sources (1)

SourceAliasJoin Type
I_ProjectMilestoneData ProjectMilestone from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PMLSTATTR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY ProjectMilestone ProjectMilestone Milestone no.
KEY ProjectMilestoneInternalID ProjectMilestoneInternalID Sort pos.
MilestoneDescription
ScheduledBasicDate ScheduledBasicDate
ActualEndDate ActualEndDate Actual Finish
CompletionRateInPercent CompletionRateInPercent
WBSElementInternalID WBSElementInternalID WBS Internal ID
ProjectNetworkInternalID ProjectNetworkInternalID Plan No.f.Oper.
NetworkActivityInternalID NetworkActivityInternalID Counter
OrderCategory OrderCategory Order Category
MilestoneObjectID Milestone no.
ProjectObjectendasProjectObject
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
FixedBasicDate FixedBasicDate
AuthorizationGroup AuthorizationGroup AuthorizGroup
ActualMilestoneTime ActualMilestoneTime Time
ScheduledBasicMilestoneTime ScheduledBasicMilestoneTime Time
FixedBasicMilestoneTime FixedBasicMilestoneTime Time
_WBSElement _WBSElement

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_ProjScheduleMilestoneAttrib.
-- 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: PMLSTATTR

CREATE VIEW P_ProjScheduleMilestoneAttrib AS
SELECT
  ProjectMilestone,
  ProjectMilestoneInternalID,
  cast( ' ' as ps_s4_mlst_ktext ) AS MilestoneDescription,
  ScheduledBasicDate,
  ActualEndDate,
  CompletionRateInPercent,
  WBSElementInternalID,
  ProjectNetworkInternalID,
  NetworkActivityInternalID,
  OrderCategory,
  cast(ProjectMilestone as j_objnr) AS MilestoneObjectID,
  case when WBSElementInternalID is not initial then ProjectMilestone._WBSElement._Project.ProjectObject else _ProjectNetwork._Project.ProjectObject end as ProjectObject AS ProjectObjectendasProjectObject,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  FixedBasicDate,
  AuthorizationGroup,
  ActualMilestoneTime,
  ScheduledBasicMilestoneTime,
  FixedBasicMilestoneTime
FROM I_ProjectMilestoneData AS ProjectMilestone
;