SAP Knowledge Base Article - Public

2584806 - Unable to delete assignment type

Symptom

After checking that no active and inactive user has an item/program assigned with the given assignment type, it is tried to delete the assignment type, but at its attempt, the system throws a validation error:

Validation Error

You must correct the following error(s) before proceeding:
### cannot be removed because it is in use.

Environment

SAP SuccessFactors Learning

Reproducing the Issue

In the LMS admin side, click:

  1. References > Learning > Assignment Types;
  2. Search for the desired assignment type and try to delete it;
  3. The validation error is thrown.

Cause

This type of ID, the assignment type, falls under some of the IDs that are used on the compliance report table.

These are used as primary key in the database and they cannot be deleted.

Resolution

There would be two possible workarounds:

  1. Edit the assignment type name and put something as "Do not use".
  2. Reach out to the SAP Professional Services team to analyze and check the possibility to deleted it.

See Also

2178193 - Is it Possible to Change Item ID in SF LMS?
2149831 - To contact Professional Services, Partner and Account/Finance Team

Keywords

assignment type, delete, validation error, unable, not possible, cannot be removed because it is in use , KBA , LOD-SF-LMS , Learning Management System , LOD-SF-LMS-ADM , System Admin, Global Variables, References , LOD-SF-LMS-COR , LMS Core - Items, Catalog, Curricula , LOD-SF-LMS-ASP , Assignment Profile , Problem

Product

SAP SuccessFactors Learning all versions