Symptom
When deleting a Learning organization, the system is throwing the following error:
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 Successfactors Learning
Reproducing the Issue
- Go to Learning Administration side >
- People > Organization >
- Search for the desired Organization ID which should be removed >
- Click 'Delete' >
- Face the error '<ORG_ID> cannot be removed because it is in use.'.
Cause
There are two possible reasons:
- User(s) is/are assigned to this organization.
- Slot(s) is/are reserved to this organization in a class.
Resolution
- To check if any users are assigned to this organization, search for users (Learning Administration side > People > Users) and filter by 'Organization ID', also selecting the “Both” radio button of the “User Status” entry.
. - To check if any class slots are reserved for this organization, run the Reserved Seat Status 'Reserved Seats Status Group By Organization' report, also selecting “Top Level Only” and “Include Sub Org.” when you add the organization to the filter.
Note: It’s possible that certain entities can’t be deleted. They are stored in their respective tables and different connections with other entities and tables take place. When trying to delete them, an error message stating that the entity is in use or cannot be deleted could be seen.
See Also
Keywords
learning, organization, delete, class, cannot be removed because it is in use, org , KBA , LOD-SF-LMS-ADM , System Admin, Global Variables, References , LOD-SF-LMS , Learning Management System , Problem