C_PPM_MyActiveProjects

DDL: C_PPM_MYACTIVEPROJECTS SQL: CPPMMYACTIVE Type: view CONSUMPTION

My Projects – Active

C_PPM_MyActiveProjects is a Consumption CDS View that provides data about "My Projects – Active" in SAP S/4HANA. It reads from 1 data source (I_PPM_MyActiveProjects) and exposes 28 fields with key fields ProjectUUID, ProjectSummaryTaskUUID, ProjectSummaryTaskUUIDRaw, PortfolioItemUUID, PortfolioUUID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PPM_MyActiveProjects Project from

Associations (5)

CardinalityTargetAliasCondition
[0..*] I_PPM_AuthznByUsrH _AuthUser _AuthUser.ReferencedObjectUUID = $projection.ProjectSummaryTaskUUIDRaw and _AuthUser.UserID = $session.user and ( _AuthUser.Activity = 'Admin' or _AuthUser.Activity = 'Write' or _AuthUser.Activity = 'Read' )
[0..*] I_PPM_AuthznBySubstitH _AuthSubst _AuthSubst.ReferencedObjectUUID = $projection.ProjectSummaryTaskUUIDRaw and _AuthSubst.UserID = $session.user and ( _AuthSubst.Activity = 'Admin' or _AuthSubst.Activity = 'Write' or _AuthSubst.Activity = 'Read' )
[0..*] I_PPM_AuthznByUserRoleH _AuthRole _AuthRole.ReferencedObjectUUID = $projection.ProjectSummaryTaskUUIDRaw and _AuthRole.UserID = $session.user and ( _AuthRole.Activity = 'Admin' or _AuthRole.Activity = 'Write' or _AuthRole.Activity = 'Read' )
[0..*] I_PPM_AuthznByUsrGrpH _AuthGroup _AuthGroup.ReferencedObjectUUID = $projection.ProjectSummaryTaskUUIDRaw and _AuthGroup.UserID = $session.user and ( _AuthGroup.Activity = 'Admin' or _AuthGroup.Activity = 'Write' or _AuthGroup.Activity = 'Read' )
[1..1] E_PPM_Project _Extension _Extension.ProjectUUID = Project.ProjectUUID

Annotations (19)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName CPPMMYACTIVE view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label My Projects – Active view
Search.searchable true view
UI.headerInfo.typeName Project view
UI.headerInfo.typeNamePlural Projects view
UI.headerInfo.description.label My Projects – Active view
UI.headerInfo.description.value ProjectName view
UI.headerInfo.title.label My Projects – Active view
UI.headerInfo.title.value Project view
Metadata.allowExtensions true view
Consumption.semanticObject EnterpriseProject view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY ProjectUUID
KEY ProjectSummaryTaskUUID
KEY ProjectSummaryTaskUUIDRaw ProjectSummaryTaskUUID Entity GUID
KEY PortfolioItemUUID
KEY PortfolioUUID
RootObjectUUID ProjectUUID Project UUID
ProjectName ProjectName Project Name
ProjectNameUserLanguage ProjectNameUserLanguage
ProjectNameMasterLanguage ProjectNameMasterLanguage
Project Project Project ID
ProjectTypeName ProjectTypeName Project Type
ProjectType ProjectType Project Type
CurrentPhaseName CurrentPhaseName Current Phase
CurrentPhaseNameUserLanguage CurrentPhaseNameUserLanguage Object name
CurrentPhaseNameMasterLanguage CurrentPhaseNameMasterLanguage
CurrentPhase CurrentPhase SRM Reference
CurrentPhaseEndDate CurrentPhaseEndDate Phase Finish
LaunchDate LaunchDate Main Milestone
NextMilestoneName NextMilestoneName Upcoming Milestone
NextMilestoneNameUserLanguage NextMilestoneNameUserLanguage Object name
NextMilestoneNameMasterLang NextMilestoneNameMasterLang
NextMilestone NextMilestone SRM Reference
NextMilestoneDate NextMilestoneDate Upcoming Milestone Date
EPPMSettingsDefaultValue EPPMSettingsDefaultValue
_AuthUser _AuthUser
_AuthSubst _AuthSubst
_AuthRole _AuthRole
_AuthGroup _AuthGroup

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_PPM_MyActiveProjects.
-- 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: CPPMMYACTIVE

CREATE VIEW C_PPM_MyActiveProjects AS
SELECT
  bintohex(ProjectUUID) AS ProjectUUID,
  bintohex(ProjectSummaryTaskUUID) AS ProjectSummaryTaskUUID,
  ProjectSummaryTaskUUID AS ProjectSummaryTaskUUIDRaw,
  bintohex(PortfolioItemUUID) AS PortfolioItemUUID,
  bintohex(PortfolioUUID) AS PortfolioUUID,
  ProjectUUID AS RootObjectUUID,
  ProjectName,
  ProjectNameUserLanguage,
  ProjectNameMasterLanguage,
  Project,
  ProjectTypeName,
  ProjectType,
  CurrentPhaseName,
  CurrentPhaseNameUserLanguage,
  CurrentPhaseNameMasterLanguage,
  CurrentPhase,
  CurrentPhaseEndDate,
  LaunchDate,
  NextMilestoneName,
  NextMilestoneNameUserLanguage,
  NextMilestoneNameMasterLang,
  NextMilestone,
  NextMilestoneDate,
  EPPMSettingsDefaultValue
FROM I_PPM_MyActiveProjects AS Project
LEFT OUTER JOIN I_PPM_AuthznByUsrH AS _AuthUser ON _AuthUser.ReferencedObjectUUID = ProjectSummaryTaskUUIDRaw AND _AuthUser.UserID = $session.user AND ( _AuthUser.Activity = 'Admin' OR _AuthUser.Activity = 'Write' OR _AuthUser.Activity = 'Read' )  -- association [0..*]
LEFT OUTER JOIN I_PPM_AuthznBySubstitH AS _AuthSubst ON _AuthSubst.ReferencedObjectUUID = ProjectSummaryTaskUUIDRaw AND _AuthSubst.UserID = $session.user AND ( _AuthSubst.Activity = 'Admin' OR _AuthSubst.Activity = 'Write' OR _AuthSubst.Activity = 'Read' )  -- association [0..*]
LEFT OUTER JOIN I_PPM_AuthznByUserRoleH AS _AuthRole ON _AuthRole.ReferencedObjectUUID = ProjectSummaryTaskUUIDRaw AND _AuthRole.UserID = $session.user AND ( _AuthRole.Activity = 'Admin' OR _AuthRole.Activity = 'Write' OR _AuthRole.Activity = 'Read' )  -- association [0..*]
LEFT OUTER JOIN I_PPM_AuthznByUsrGrpH AS _AuthGroup ON _AuthGroup.ReferencedObjectUUID = ProjectSummaryTaskUUIDRaw AND _AuthGroup.UserID = $session.user AND ( _AuthGroup.Activity = 'Admin' OR _AuthGroup.Activity = 'Write' OR _AuthGroup.Activity = 'Read' )  -- association [0..*]
LEFT OUTER JOIN E_PPM_Project AS _Extension ON _Extension.ProjectUUID = Project.ProjectUUID  -- association [1..1]
;