Symptom
Error 'Role type XXXXX is assigned to a role. You cannot delete it.' when deleting a role in the SSCUI configuration 'Define Role Types'.
Environment
S/4HANA Cloud.
Reproducing the Issue
1. Go to the SSCUI configuration 'Define Role Types' (SSCUI ID: 103448).
2. Delete a custom role type.
3. The error 'Role type XXXXX is assigned to a role. You cannot delete it.' pops up.
Cause
The role type is assigned to a project.
Resolution
The CDS view I_EngmntProjectRoleAssgmt can be used to find out the list of projects that the role is assigned to. The role has to removed from all the projects and then the role type can be deleted in SSCUI configuration.
Keywords
Role Type, SSCUI 103448, CA-CPD-SS, Project Roles, PPM-FIO, CA-TS-S4, Project. , KBA , CA-CPD-SS , S/4HANA Public Cloud – Professional Service Projects , PPM-FIO , Fiori UI for Portfolio and Project Management , CA-TS-S4 , Cross Application Timesheet in S/4HANA , Problem