R_EntProjectPublicSector
Basic view for ent proj public sector
R_EntProjectPublicSector is a Basic CDS View that provides data about "Basic view for ent proj public sector" in SAP S/4HANA. It reads from 4 data sources (proj, /s4ppm/project, prps, /s4ppm/task) and exposes 15 fields with key field ProjectUUID. It has 1 association to related views. Part of development package VDM_PPM_OBJECTS_TP_PROJECT.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| proj | proj | inner |
| /s4ppm/project | project | from |
| prps | prps | inner |
| /s4ppm/task | task | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_EnterpriseProject | _Root | $projection.ProjectUUID = _Root.ProjectUUID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.compositionRoot | false | view | |
| ObjectModel.representativeKey | ProjectUUID | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | Basic view for ent proj public sector | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectUUID | /s4ppm/project | guid | |
| ProjectSummaryTaskUUID | /s4ppm/task | guid | ||
| ProjectInternalID | ||||
| WBSElementInternalID | ||||
| Fund | prps | rfund | ||
| FundIsFixAssigned | prps | fund_fix_assign | ||
| FunctionalArea | prps | func_area | ||
| FunctionalAreaIsFixAssigned | prps | func_area_fix_assigned | ||
| GrantID | prps | rgrant_nbr | ||
| GrantIsFixAssigned | prps | grant_fix_assigned | ||
| SponsoredProgram | prps | sponsoredprog | ||
| WBSIsAvailyControlControlObj | prps | is_avc_check_level | ||
| ControllingArea | ||||
| ProfitCenter | prps | prctr | ||
| _Root | _Root |
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@AccessControl: {
authorizationCheck: #MANDATORY,
personalData.blocking: #BLOCKED_DATA_EXCLUDED
}
@ObjectModel: {
compositionRoot: false,
representativeKey: 'ProjectUUID',
alternativeKey: [ { id : 'ProjectSummaryTaskUUID', uniqueness: #UNIQUE } ],
usageType: {
serviceQuality: #B,
dataClass: #MIXED,
sizeCategory: #L
}
}
@EndUserText.label: 'Basic view for ent proj public sector'
define view entity R_EntProjectPublicSector
as select from /s4ppm/project as project
inner join /s4ppm/task as task on task.project_guid = project.guid
and task.object_type = 'DPO'
inner join proj as proj on proj.pspnr = project.pspnr
inner join prps as prps on prps.pspnr = task.pspnr
association [1..1] to R_EnterpriseProject as _Root on $projection.ProjectUUID = _Root.ProjectUUID
{
key project.guid as ProjectUUID,
task.guid as ProjectSummaryTaskUUID,
cast ( project.pspnr as ps_s4_proj_pspnr preserving type ) as ProjectInternalID,
cast ( task.pspnr as ps_s4_pspnr preserving type ) as WBSElementInternalID,
prps.rfund as Fund,
prps.fund_fix_assign as FundIsFixAssigned,
prps.func_area as FunctionalArea,
prps.func_area_fix_assigned as FunctionalAreaIsFixAssigned,
prps.rgrant_nbr as GrantID,
prps.grant_fix_assigned as GrantIsFixAssigned,
prps.sponsoredprog as SponsoredProgram,
prps.is_avc_check_level as WBSIsAvailyControlControlObj,
cast ( prps.pkokr as ps_s4_kokrs preserving type ) as ControllingArea,
prps.prctr as ProfitCenter,
_Root
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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