I_PPM_ProjectPublicSector

DDL: I_PPM_PROJECTPUBLICSECTOR SQL: IPPMPRJPSM Type: view COMPOSITE

Extension for Public Sector Fields

I_PPM_ProjectPublicSector is a Composite CDS View that provides data about "Extension for Public Sector Fields" in SAP S/4HANA. It reads from 2 data sources (I_PPM_ProjectSummaryTask, I_WBSElementBasicData) and exposes 18 fields with key field ProjectUUID. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_PPM_ProjectSummaryTask pst from
I_WBSElementBasicData wbs inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_PPM_Project _Root $projection.ProjectUUID = _Root.ProjectUUID

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IPPMPRJPSM view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.compositionRoot false view
ObjectModel.representativeKey ProjectUUID view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
feature BF:PSM_BUDGET_ACCOUNTING_CONTROL, EPPM_PUBLIC_SECTOR view
EndUserText.label Extension for Public Sector Fields view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY ProjectUUID I_PPM_ProjectSummaryTask ProjectUUID
ProjectSummaryTaskUUID I_PPM_ProjectSummaryTask ProjectSummaryTaskUUID
ProjectInternalID I_PPM_ProjectSummaryTask ProjectInternalID
WBSElementInternalID I_PPM_ProjectSummaryTask WBSElementInternalID
Fund I_WBSElementBasicData Fund
FundIsFixAssigned I_WBSElementBasicData FundIsFixAssigned
FunctionalArea I_WBSElementBasicData FunctionalArea
FunctionalAreaIsFixAssigned I_WBSElementBasicData FunctionalAreaIsFixAssigned
GrantID I_WBSElementBasicData GrantID
GrantIsFixAssigned I_WBSElementBasicData GrantIsFixAssigned
SponsoredProgram I_WBSElementBasicData SponsoredProgram
ControllingArea I_WBSElementBasicData ControllingArea
ProfitCenter I_WBSElementBasicData ProfitCenter
_AuthUser _AuthUser
_AuthSubst _AuthSubst
_AuthRole _AuthRole
_AuthGroup _AuthGroup
_Root _Root
@AbapCatalog.sqlViewName: 'IPPMPRJPSM'

@VDM: {
    viewType: #COMPOSITE,
    lifecycle.contract.type: #SAP_INTERNAL_API
}
@AbapCatalog.preserveKey:true

@AbapCatalog.compiler.compareFilter: true
@AccessControl: {
    authorizationCheck:     #CHECK,
    personalData.blocking:  #BLOCKED_DATA_EXCLUDED
}

@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel: {
   compositionRoot: false,
   representativeKey: 'ProjectUUID',
   alternativeKey: [ { id : 'ProjectSummaryTaskUUID', uniqueness: #UNIQUE } ],
   usageType: {
     serviceQuality:  #D,
     dataClass:       #MIXED,
     sizeCategory:    #L
    }
}

@feature: 'BF:PSM_BUDGET_ACCOUNTING_CONTROL, EPPM_PUBLIC_SECTOR'

@EndUserText.label: 'Extension for Public Sector Fields'
define view I_PPM_ProjectPublicSector
  as select from I_PPM_ProjectSummaryTask as pst
    inner join   I_WBSElementBasicData    as wbs on wbs.WBSElementInternalID = pst.WBSElementInternalID

  association [1..1] to I_PPM_Project as _Root on $projection.ProjectUUID = _Root.ProjectUUID
{
  key pst.ProjectUUID,
      pst.ProjectSummaryTaskUUID,
      pst.ProjectInternalID,
      pst.WBSElementInternalID,
      //    @Consumption.hidden: true

      //   prj.ControllingArea,    // only for auth check

      //  @Consumption.hidden: true

      //  prj.ProfitCenter,       // only for auth check

      wbs.Fund,
      wbs.FundIsFixAssigned,
      wbs.FunctionalArea,
      wbs.FunctionalAreaIsFixAssigned,
      wbs.GrantID,
      wbs.GrantIsFixAssigned,
      //2008 sponsored program

      wbs.SponsoredProgram,

      wbs.ControllingArea, // For Authorization similar to Joint Venture Accounting

      wbs.ProfitCenter, // For Authorization similar to Joint Venture Accounting


      @Consumption.hidden: true
      _AuthUser,
      @Consumption.hidden: true
      _AuthSubst,
      @Consumption.hidden: true
      _AuthRole,
      @Consumption.hidden: true
      _AuthGroup,

      _Root
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PPM_PROJECTSUMMARYTASK",
"I_WBSELEMENTBASICDATA"
],
"ASSOCIATED":
[
"I_PPM_AUTHZNBYSUBSTITH",
"I_PPM_AUTHZNBYUSERROLEH",
"I_PPM_AUTHZNBYUSRGRPH",
"I_PPM_AUTHZNBYUSRH",
"I_PPM_PROJECT"
],
"BASE":
[
"I_PPM_PROJECTSUMMARYTASK"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/