P_Customerprojectcontacts
P_Customerprojectcontacts is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (C_Custprojcustomercontact, I_EngagementProjectRole) and exposes 19 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| C_Custprojcustomercontact | Custprojcustomercontact | union |
| I_EngagementProjectRole | EngagementProjectRole | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_Language | sylangu |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | PCUSTPRJCONTACTS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| CustomerProject | I_EngagementProjectRole | EngagementProject | ||
| CustomerProjectUUID | I_EngagementProjectRole | EngagementProjectUUID | ||
| PersonnelNumber | I_EngagementProjectRole | EmploymentInternalID | ||
| BusinessUser | ||||
| EmployeeFullName | ||||
| EngagementProjectRoleName | ||||
| EmployeeImageURL | ||||
| DefaultEmailAddress | ||||
| NormalizedPhoneNumber | ||||
| CustomerProjectasCustomerProject | ||||
| CustomerProjectUUID | C_Custprojcustomercontact | CustomerProjectUUID | ||
| PersonnelNumber | C_Custprojcustomercontact | CustomerContact | ||
| BusinessUser | ||||
| EmployeeFullName | C_Custprojcustomercontact | BusinessPartnerName | ||
| EngagementProjectRoleName | ||||
| EmployeeImageURL | ||||
| DefaultEmailAddress | C_Custprojcustomercontact | EmailAddress | ||
| NormalizedPhoneNumber | C_Custprojcustomercontact | PhoneNumber | ||
| MblNormalizedPhoneNumber | C_Custprojcustomercontact | MobilePhoneNumber |
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'PCUSTPRJCONTACTS'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AccessControl.personalData.blocking: #NOT_REQUIRED
define view P_Customerprojectcontacts
with parameters
@Environment.systemField: #SYSTEM_LANGUAGE
P_Language : sylangu
as select from I_EngagementProjectRole as EngagementProjectRole
{
EngagementProjectRole.EngagementProject as CustomerProject,
EngagementProjectRole.EngagementProjectUUID as CustomerProjectUUID,
EngagementProjectRole.EmploymentInternalID as PersonnelNumber,
EngagementProjectRole._PersonWorkAgreement._WorkforcePerson.UserID as BusinessUser,
EngagementProjectRole._PersonWorkAgreement._WorkforcePerson.PersonFullName as EmployeeFullName,
EngagementProjectRole._Text[1:Language = $parameters.P_Language].EngagementProjectRoleName as EngagementProjectRoleName,
EngagementProjectRole._PersonWorkAgreement._WorkforcePersonImageURL.WorkforcePersonImageURL as EmployeeImageURL,
EngagementProjectRole._PersonWorkAgreement._WorkforcePerson._WorkplaceAddress.DefaultEmailAddress as DefaultEmailAddress,
EngagementProjectRole._PersonWorkAgreement._WorkforcePerson._WorkplaceAddress.NormalizedPhoneNumber as NormalizedPhoneNumber,
EngagementProjectRole._PersonWorkAgreement._WorkforcePerson._WorkplaceAddress.MblNormalizedPhoneNumber as MblNormalizedPhoneNumber
}
union select from C_Custprojcustomercontact as Custprojcustomercontact
{
Custprojcustomercontact.CustomerProject as CustomerProject,
Custprojcustomercontact.CustomerProjectUUID as CustomerProjectUUID,
Custprojcustomercontact.CustomerContact as PersonnelNumber,
'' as BusinessUser,
Custprojcustomercontact.BusinessPartnerName as EmployeeFullName,
'customer' as EngagementProjectRoleName,
'' as EmployeeImageURL,
Custprojcustomercontact.EmailAddress as DefaultEmailAddress,
Custprojcustomercontact.PhoneNumber as NormalizedPhoneNumber,
Custprojcustomercontact.MobilePhoneNumber as MblNormalizedPhoneNumber
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"C_CUSTPROJCUSTOMERCONTACT",
"I_ENGAGEMENTPROJECTROLE",
"I_ENGMTPROJECTROLETEXT",
"I_PERSNWRKAGREEMENTDET",
"I_WORKFORCEPERSONDET",
"I_WORKFORCEPERSONIMAGEURL",
"I_WORKPLACEADDRESS"
],
"ASSOCIATED":
[],
"BASE":
[],
"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