Symptom
- The error message "Cannot assign; employment dates of user are outside the project dates." is encountered when attempting to delete a customer project in SAP S/4HANA Public Cloud.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
Attempt to delete a project from SAP S/4HANA via Plan Customer Project app or SAP CI.
- Go to Project Control - Professional Services
- In Project field search for project ID.
- Click on Plan Customer Project
- Click on Delete Project.
- Error message occurs "Cannot assign; employment dates of xxxxxx (xxxxxx refers to employee's name) are outside the project dates"
Or - Via webservice in SAP CI
Cause
The issue occurs because the project manager’s employment period does not overlap with the project duration.
Since the employment period of a person assigned to a project role must overlap with the project duration by at least one day, the system prevents project deletion when this condition is not met. This is the expected behavior for the Project Manager role.
Resolution
Please adapt Project Manager work agreements start and end date to overlap with the project duration.
See Also
Keywords
project deletion failure, employment dates outside project dates, s/4hana public cloud, professional services projects, cannot assign error, "Cannot assign; employment dates of user are outside the project dates." , KBA , CA-CPD-SS , S/4HANA Public Cloud – Professional Service Projects , Problem
SAP Knowledge Base Article - Public