I_ProjectDemandWorkTP
Project Demand for Resource - TP
I_ProjectDemandWorkTP is a Transactional CDS View that provides data about "Project Demand for Resource - TP" in SAP S/4HANA. It reads from 1 data source (R_ProjectDemandWork) and exposes 22 fields with key field ProjectDemandWorkUUID. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_ProjectDemandWork | R_ProjectDemandWork | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ProjDmndResourceAssignmentTP | _ResourceAssignment | |
| [0..*] | R_ProjDmndResourceRequestTP | _ResourceRequest | |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.representativeKey | ProjectDemandWorkUUID | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| EndUserText.label | Project Demand for Resource - TP | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectDemandWorkUUID | ProjectDemandWorkUUID | ||
| ProjectDemandUUID | ProjectDemandUUID | |||
| ProjectUUID | ProjectUUID | |||
| ReferencedObjectUUID | ReferencedObjectUUID | |||
| CostCenter | CostCenter | |||
| ActivityType | ActivityType | |||
| ProjDmndAssgmtStatus | ProjDmndAssgmtStatus | |||
| ProjectElementWorkItem | ProjectElementWorkItem | |||
| ProjDmndBillingControlCategory | ProjDmndBillingControlCategory | |||
| ProjDmndRequestedDeliveryOrg | ProjDmndRequestedDeliveryOrg | |||
| ProjDmndAssgmtIsInconsistent | ProjDmndAssgmtIsInconsistent | |||
| CreatedByUser | CreatedByUser | |||
| CreationDateTime | CreationDateTime | |||
| LastChangedByUser | LastChangedByUser | |||
| LastChangeDateTime | LastChangeDateTime | |||
| _Root | _Root | |||
| _CostCenterActType | _CostCenterActType | |||
| _CostCenter | _CostCenter | |||
| _ResourceAssignment | _ResourceAssignment | |||
| _ResourceRequest | _ResourceRequest | |||
| _CostCenterText | _CostCenterText | |||
| _ActivityTypeText | _ActivityTypeText |
//@AbapCatalog.sqlViewName: 'IPROJDMNDWORKTP'
//@AbapCatalog.compiler.compareFilter: true
//@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
//@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
semanticKey: ['ActivityType'],
representativeKey: 'ProjectDemandWorkUUID',
//alternativeKey: ['ProjectDemandUUID'],
usageType: {
serviceQuality: #B,
dataClass: #TRANSACTIONAL,
sizeCategory: #XL
}
}
@EndUserText.label: 'Project Demand for Resource - TP'
// Due changed RAP guideline, this view should be rather R_ProjectDemandWorkTP (ideally R_ProjectDemandResourceTP since Resource is in use).
// But "Work" will be kept to avoid unintended side effects (BO was migrated to RAP).
define view entity I_ProjectDemandWorkTP
as select from R_ProjectDemandWork
association to parent I_ProjectDemandTP as _Root on $projection.ProjectDemandUUID = _Root.ProjectDemandUUID
composition [0..*] of I_ProjDmndResourceAssignmentTP as _ResourceAssignment // Prior 2208 named as _ResourceRequest, but changed to _ResourceAssignment with 2208.
composition [0..*] of R_ProjDmndResourceRequestTP as _ResourceRequest // _ResourceRequest must be used here with 2208
{
key ProjectDemandWorkUUID,
ProjectDemandUUID,
ProjectUUID,
ReferencedObjectUUID,
CostCenter,
ActivityType,
ProjDmndAssgmtStatus,
ProjectElementWorkItem,
ProjDmndBillingControlCategory,
ProjDmndRequestedDeliveryOrg,
ProjDmndAssgmtIsInconsistent,
CreatedByUser,
CreationDateTime,
LastChangedByUser,
LastChangeDateTime,
/* Associations */
_Root,
_CostCenterActType,
_CostCenter,
_ResourceAssignment,
_ResourceRequest,
_CostCenterText,
_ActivityTypeText
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_PROJECTDEMANDWORK"
],
"ASSOCIATED":
[
"I_COSTCENTER",
"I_COSTCENTERACTIVITYTYPECTRL",
"I_COSTCENTERACTIVITYTYPETEXT",
"I_COSTCENTERTEXT",
"I_PROJDMNDRESOURCEASSIGNMENTTP",
"I_PROJECTDEMANDTP",
"R_PROJDMNDRESOURCEREQUESTTP"
],
"BASE":
[
"R_PROJECTDEMANDWORK"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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