R_EntProjElementPublicSector
Basic View for Public Sector on WBS
R_EntProjElementPublicSector is a Basic CDS View that provides data about "Basic View for Public Sector on WBS" in SAP S/4HANA. It reads from 2 data sources (prps, /s4ppm/task) and exposes 15 fields with key field TaskUUID. It has 2 associations to related views. Part of development package VDM_PPM_OBJECTS_TP_TASK.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| prps | prps | inner |
| /s4ppm/task | task | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_EnterpriseProjectElement | _Element | $projection.TaskUUID = _Element.ProjectElementUUID |
| [1..1] | R_EnterpriseProject | _EnterpriseProject | $projection.ProjectUUID = _EnterpriseProject.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 | TaskUUID | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | Basic View for Public Sector on WBS | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TaskUUID | /s4ppm/task | guid | |
| ProjectUUID | /s4ppm/task | project_guid | ||
| 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 | ||
| _EnterpriseProject | _EnterpriseProject | |||
| _Element | _Element |
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@AccessControl: {
authorizationCheck: #MANDATORY,
personalData.blocking: #BLOCKED_DATA_EXCLUDED
}
@ObjectModel: {
compositionRoot: false,
representativeKey: 'TaskUUID',
alternativeKey: [ { id : 'WBSElementInternalID', uniqueness: #UNIQUE } ],
usageType: {
serviceQuality: #A,
dataClass: #MIXED,
sizeCategory: #L
}
}
@EndUserText.label: 'Basic View for Public Sector on WBS'
define view entity R_EntProjElementPublicSector
as select from /s4ppm/task as task
inner join prps as prps on prps.pspnr = task.pspnr
association [1..1] to R_EnterpriseProjectElement as _Element on $projection.TaskUUID = _Element.ProjectElementUUID
association [1..1] to R_EnterpriseProject as _EnterpriseProject on $projection.ProjectUUID = _EnterpriseProject.ProjectUUID
{
key task.guid as TaskUUID,
task.project_guid as ProjectUUID,
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,
_EnterpriseProject,
_Element
}
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