SAP Knowledge Base Article - Public

2928078 - Error trying to cancel a Class that is within a Program.

Symptom

Trying to cancel a Class and getting the following message "The Class cannot be cancelled because it is in use by a Program". When then trying to remove the Offering from the Program, you can't because of other Offerings that have passed are blocking it.

Environment

SAP SuccessFactors Learning

Reproducing the Issue

  1. Navigate to a Class.
  2. Try to cancel the entity.
  3. Get the above mentioned error as it is in a Program.

Cause

An Admin has previously closed the Class which has passed, they are given a warning that the Class is part of an active Program which they did not follow. So now you can't update the Program to cancel the future offering.

Resolution

Option 1:

Wait until the day arrives and record learning for the Class thus finishing the Program. You can then delete the Class from their learning history.

Option 2 :

You can remove the Class(es) that are causing the blockage from the Program. Each time you get a pop up that it is closed, you will have to remove that relevant section. Then once all the closed offerings are removed from the Program, you can then remove the future offering from the Program and cancel the Class on the Offering entity. This action does not remove the credit from the User’s Learning History if the User has already taken the previous offering.

See Also

2419060 - Scheduled offering approvals for schedule based programs bypassed

Keywords

delete, remove, cancel, withdraw, cancelling, canceling, canceled, cancelled, removed, deleting, withdrawn, enrolled, programs, assignment, duration , KBA , LOD-SF-LMS-SCH , Class - Scheduled Offerings , Problem

Product

SAP SuccessFactors Learning all versions