Symptom
How to update the Project Manager to an enterprise project using API?
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
SAP S/4HANA Cloud Public Edition
Resolution
You can use API API_ENTERPRISE_PROJECT_SRV_0002 to update Project manager to an enterprise project.
Example : For Creating a Project with a project Manager:
URL - <host>/sap/opu/odata/SAP/API_ENTERPRISE_PROJECT_SRV;v=0002/A_EnterpriseProject
Payload
{
"Project": "XXXXX",
"ProjectDescription": "XXXXXXX",
"ProjectStartDate": "2023-12-07T00:00:00",
"ProjectEndDate": "2024-03-31T00:00:00",
"ProfitCenter": "YB600",
"ResponsibleCostCenter": "XXXXXX",
"ProjectProfileCode": "YP03",
"to_EntProjTeamMember": [
{
"BusinessPartnerUUID": "31b4ddf5-d376-1eee-ad82-75fc5764c785",
"to_EntProjEntitlement": [
{
"ProjectRoleType": "YP_RL_0001"
}
]
}
]
}
For adding a project manager to a project:
URL - <host>/sap/opu/odata/SAP/API_ENTERPRISE_PROJECT_SRV;v=0002/A_EnterpriseProject(guid'ab8c92b8-949b-1eee-b087-3a44c5ebe262')/to_EntProjTeamMember
Payload
{
"BusinessPartnerUUID": "49411411-1c46-1ede-ad83-d2cc7f64267d",
"to_EntProjEntitlement": [
{
"ProjectRoleType": "YP_RL_0001"
}
]
}
Keywords
Project Manager, Update, Enterprise Project, API. , KBA , PPM-SCL-STR , Project Structure (Public Cloud) , How To