I_MstrProjActivities

DDL: I_MSTRPROJACTIVITIES SQL: IMSTRPROJACTIES Type: view BASIC

Master Project Activities

I_MstrProjActivities is a Basic CDS View that provides data about "Master Project Activities" in SAP S/4HANA. It reads from 1 data source (/iam/d_act_root) and exposes 17 fields. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
/iam/d_act_root ActivityRoot from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_User _USER $projection.ChangedBy = _USER.UserID
[0..1] I_User _USERS $projection.CreatedByUserFullName = _USERS.UserID

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IMSTRPROJACTIES view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view
EndUserText.label Master Project Activities view

Fields (17)

KeyFieldSource TableSource FieldDescription
ActivityUUID /iam/d_act_root db_key UUID
MstrProjActivityId /iam/d_act_root activity_id IMG Activity
OriginApplication /iam/d_act_root application UI Application
ActivityType /iam/d_act_root act_type Task Type
MstrProjActivityCategory /iam/d_act_root act_category Activity Cat.
ChecklistItem /iam/d_act_root /cpd/mc_item_id
MstrProjMlstnObjId /iam/d_act_root /cpd/mc_object_id
BusinessObject /iam/d_act_root par_issue_uuid NodeID
ObjectStatus /iam/d_act_root cea_status Activity Status
MstrProjRiskStatus /iam/d_act_root act_item_stat_cd Status
StatusCode /iam/d_act_root /cpd/mc_status
ChangedBy /iam/d_act_root changed_by User Name
ChangedOnDateTime
CreationDateTime
CreatedByUserFullName /iam/d_act_root created_by Version Created By
PriorityCode /iam/d_act_root /cpd/mc_priority
CreatedByUser

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 I_MstrProjActivities.
-- 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: IMSTRPROJACTIES

CREATE VIEW I_MstrProjActivities AS
SELECT
  ActivityRoot.db_key AS ActivityUUID,
  ActivityRoot.activity_id AS MstrProjActivityId,
  ActivityRoot.application AS OriginApplication,
  ActivityRoot.act_type AS ActivityType,
  ActivityRoot.act_category AS MstrProjActivityCategory,
  ActivityRoot./cpd/mc_item_id AS ChecklistItem,
  ActivityRoot./cpd/mc_object_id AS MstrProjMlstnObjId,
  ActivityRoot.par_issue_uuid AS BusinessObject,
  ActivityRoot.cea_status AS ObjectStatus,
  ActivityRoot.act_item_stat_cd AS MstrProjRiskStatus,
  ActivityRoot./cpd/mc_status AS StatusCode,
  ActivityRoot.changed_by AS ChangedBy,
  cast(ActivityRoot.changed_on as /cpd/cpm_changedon) AS ChangedOnDateTime,
  cast(ActivityRoot.created_on as /cpd/cpm_createdon) AS CreationDateTime,
  ActivityRoot.created_by AS CreatedByUserFullName,
  ActivityRoot./cpd/mc_priority AS PriorityCode,
  cast(_USERS.UserDescription as /cpd/cpm_created_by) AS CreatedByUser
FROM /iam/d_act_root AS ActivityRoot
LEFT OUTER JOIN I_User AS _USER ON ChangedBy = _USER.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _USERS ON CreatedByUserFullName = _USERS.UserID  -- association [0..1]
;