Symptom
You're trying to remove a Business Role from a Business User but you're getting the error message "Business Role XXXXXX can't be removed because of an existing draft version.".
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Go to Maintain Business Users app
- Open the Business User
- Select the Business Role
- Click on Remove button
- Error is displayed
Cause
The reason why this message is displayed is because the Business Role has Unsaved Changes by User XXX.
You can check which user has the draft version of the Role by following the steps below:
- Go to Maintain Business Roles app
- Search for the Business Role
- The Business Role will be displayed with a message "Business Role has Unsaved Changes by XXXX".
Resolution
Please ask user with unsaved changes to do some dummy changes to the Business Role and save it
OR
Discard the draft.
Once existing draft is discarded you should be able to remove the role from user.
Keywords
business role, remove, business user, delete, draft version, unsaved changes, removed, existing , KBA , BC-SRV-APS-IAM , Identity and Access Management , Problem