SAP Knowledge Base Article - Public

2612364 - '<ORG_ID> cannot be removed because it is in use.' when deleting a Learning organization

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

  1. Go to Learning Administration side >
  2. People > Organization >
  3. Search for the desired Organization ID which should be removed >
  4. Click 'Delete' >
  5. 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

2253851 - Unable to delete primary records in SAP SuccessFactors Learning

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

Product

SAP SuccessFactors Learning all versions