I_MstrProjActivityDetail
Master Project Activity Detail
I_MstrProjActivityDetail is a Composite CDS View that provides data about "Master Project Activity Detail" in SAP S/4HANA. It reads from 1 data source (P_MPActivityDetail) and exposes 45 fields with key fields ActivityUUID, MstrProjActivityId. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_MPActivityDetail | ActivityRoot | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MstrProjActyPlndStrtDte | _PlannedStartDate | $projection.ActivityUUID = _PlannedStartDate.ActivityUUID |
| [0..1] | I_MstrProjActyPlndEndDte | _PlannedEndDate | $projection.ActivityUUID = _PlannedEndDate.ActivityUUID |
| [0..1] | I_MstrProjActyActlStrtDte | _ActualStartDate | $projection.ActivityUUID = _ActualStartDate.ActivityUUID |
| [0..1] | I_MstrProjActyActlEndDte | _ActualEndDate | $projection.ActivityUUID = _ActualEndDate.ActivityUUID |
| [0..1] | I_MstrProjActyCompletedStatus | _CmpltStatus | $projection.OriginApplication = _CmpltStatus.OriginApplication and $projection.Status = _CmpltStatus.Status |
| [0..1] | I_UserContactCard | _CreatedByUser | _CreatedByUser.ContactCardID = $projection.CreatedByUser |
| [0..1] | I_UserContactCard | _ChangedByUser | _ChangedByUser.ContactCardID = $projection.LastChangedByUser |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMPACTYDETAIL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Master Project Activity Detail | view |
Fields (45)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ActivityUUID | P_MPActivityDetail | ActivityUUID | Activity UUID |
| KEY | MstrProjActivityId | P_MPActivityDetail | MstrProjActivityId | |
| ActivityType | P_MPActivityDetail | ActivityType | Activity Type | |
| MstrProjChklstPrioCode | P_MPActivityDetail | MstrProjChklstPrioCode | ||
| MstrProjChklstRsnCode | P_MPActivityDetail | MstrProjChklstRsnCode | ||
| Status | P_MPActivityDetail | Status | Workflow Status | |
| LastChangedByUser | P_MPActivityDetail | LastChangedByUser | User Name | |
| CreatedByUser | P_MPActivityDetail | CreatedByUser | User Name | |
| CreationDateTime | P_MPActivityDetail | CreationDateTime | Timestamp | |
| CreationDate | P_MPActivityDetail | CreationDate | Time Stamp | |
| ChangedOnDateTime | P_MPActivityDetail | ChangedOnDateTime | Last Changed At | |
| ChangedDate | P_MPActivityDetail | ChangedDate | Payt Rcpt Date | |
| ConditionIsMandatory | P_MPActivityDetail | ConditionIsMandatory | ||
| IsProposal | P_MPActivityDetail | IsProposal | TRUE | |
| MstrProjMlstnObjId | P_MPActivityDetail | MstrProjMlstnObjId | ||
| ProductID | P_MPActivityDetail | ProductID | Product ID | |
| ChecklistItem | P_MPActivityDetail | ChecklistItem | ||
| MstrProjActivityCategory | P_MPActivityDetail | MstrProjActivityCategory | ||
| OriginApplication | P_MPActivityDetail | OriginApplication | Origin Application | |
| IssueType | P_MPActivityDetail | IssueType | Issue Type for stock | |
| IssueCategory | P_MPActivityDetail | IssueCategory | Issue Category | |
| ChangeRecordUUID | P_MPActivityDetail | ChangeRecordUUID | NodeID | |
| ActivityName | ||||
| ReferenceDocument | ||||
| ReferenceDocumentDesc | ||||
| MasterProjectUUID | P_MPActivityDetail | MasterProjectUUID | NodeID | |
| MasterProject | P_MPActivityDetail | MasterProject | Project ID | |
| MasterProjectName | P_MPActivityDetail | MasterProjectName | ||
| MasterProjectType | P_MPActivityDetail | MasterProjectType | ||
| MasterProjectIsConfidential | P_MPActivityDetail | MasterProjectIsConfidential | ||
| MasterProjectOrganization | P_MPActivityDetail | MasterProjectOrganization | ||
| MasterProjectStage | P_MPActivityDetail | MasterProjectStage | ||
| CreatedByUserFullName | ||||
| LastChangedByUserFullName | ||||
| PlannedStartDate | _PlannedStartDate | PlannedStartDate | Latest Planned Start | |
| PlannedEndDate | _PlannedEndDate | PlannedEndDate | Ltst Planned Finish | |
| ActualStartDate | ||||
| ActualEndDate | ||||
| _PlannedStartDate | _PlannedStartDate | |||
| _PlannedEndDate | _PlannedEndDate | |||
| _ActualStartDate | _ActualStartDate | |||
| _ActualEndDate | _ActualEndDate | |||
| _CmpltStatus | _CmpltStatus | |||
| _CreatedByUser | _CreatedByUser | |||
| _ChangedByUser | _ChangedByUser |
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_MstrProjActivityDetail.
-- 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: IMPACTYDETAIL
CREATE VIEW I_MstrProjActivityDetail AS
SELECT
ActivityRoot.ActivityUUID AS ActivityUUID,
ActivityRoot.MstrProjActivityId AS MstrProjActivityId,
ActivityRoot.ActivityType AS ActivityType,
ActivityRoot.MstrProjChklstPrioCode AS MstrProjChklstPrioCode,
ActivityRoot.MstrProjChklstRsnCode AS MstrProjChklstRsnCode,
ActivityRoot.Status AS Status,
ActivityRoot.LastChangedByUser AS LastChangedByUser,
ActivityRoot.CreatedByUser AS CreatedByUser,
ActivityRoot.CreationDateTime AS CreationDateTime,
ActivityRoot.CreationDate AS CreationDate,
ActivityRoot.ChangedOnDateTime AS ChangedOnDateTime,
ActivityRoot.ChangedDate AS ChangedDate,
ActivityRoot.ConditionIsMandatory AS ConditionIsMandatory,
ActivityRoot.IsProposal AS IsProposal,
ActivityRoot.MstrProjMlstnObjId AS MstrProjMlstnObjId,
ActivityRoot.ProductID AS ProductID,
ActivityRoot.ChecklistItem AS ChecklistItem,
ActivityRoot.MstrProjActivityCategory AS MstrProjActivityCategory,
ActivityRoot.OriginApplication AS OriginApplication,
ActivityRoot.IssueType AS IssueType,
ActivityRoot.IssueCategory AS IssueCategory,
ActivityRoot.ChangeRecordUUID AS ChangeRecordUUID,
cast(ActivityRoot.ActivityName as /cpd/activity_name ) AS ActivityName,
cast(ActivityRoot.ReferenceDocument as /cpd/reference_id) AS ReferenceDocument,
cast(ActivityRoot.ReferenceDocumentDesc as /cpd/reference_name) AS ReferenceDocumentDesc,
ActivityRoot.MasterProjectUUID AS MasterProjectUUID,
ActivityRoot.MasterProject AS MasterProject,
ActivityRoot.MasterProjectName AS MasterProjectName,
ActivityRoot.MasterProjectType AS MasterProjectType,
ActivityRoot.MasterProjectIsConfidential AS MasterProjectIsConfidential,
ActivityRoot.MasterProjectOrganization AS MasterProjectOrganization,
ActivityRoot.MasterProjectStage AS MasterProjectStage,
cast( _CreatedByUser.FullName as /cpd/cpm_created_by) AS CreatedByUserFullName,
cast( _ChangedByUser.FullName as /cpd/cpm_changed_by) AS LastChangedByUserFullName,
_PlannedStartDate.PlannedStartDate AS PlannedStartDate,
_PlannedEndDate.PlannedEndDate AS PlannedEndDate,
cast(_ActualStartDate.ActualStartDate as istad) AS ActualStartDate,
cast(_ActualEndDate.ActualEndDate as /cpd/actual_completion_date) AS ActualEndDate
FROM P_MPActivityDetail AS ActivityRoot
LEFT OUTER JOIN I_MstrProjActyPlndStrtDte AS _PlannedStartDate ON ActivityUUID = _PlannedStartDate.ActivityUUID -- association [0..1]
LEFT OUTER JOIN I_MstrProjActyPlndEndDte AS _PlannedEndDate ON ActivityUUID = _PlannedEndDate.ActivityUUID -- association [0..1]
LEFT OUTER JOIN I_MstrProjActyActlStrtDte AS _ActualStartDate ON ActivityUUID = _ActualStartDate.ActivityUUID -- association [0..1]
LEFT OUTER JOIN I_MstrProjActyActlEndDte AS _ActualEndDate ON ActivityUUID = _ActualEndDate.ActivityUUID -- association [0..1]
LEFT OUTER JOIN I_MstrProjActyCompletedStatus AS _CmpltStatus ON OriginApplication = _CmpltStatus.OriginApplication AND Status = _CmpltStatus.Status -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByUser ON _CreatedByUser.ContactCardID = CreatedByUser -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _ChangedByUser ON _ChangedByUser.ContactCardID = LastChangedByUser -- association [0..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