SAP Knowledge Base Article - Public

2678084 - Change/Edit the site registration code dates

Symptom

When changing/editing the registration code dates, the system may throw different validation error messages.

um.png

dois.png

use.png

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

In the Learning admin side, click:

  1. System Administration > Application Administration > Sites > Search for the desired site and access it >
  2. Site Registration Codes > Select the desired registration code >
  3. Change the registration code start/expiration date and one of the above validation error messages appears.

Cause

There are different scenarios that might happen:

(1) If the registration code was not used yet (the usage setting shows 0), has a start date set and an expiration date set either in the past or in the future, if compared to the current date, or has no expiration date, when applying/changing the expiration date the system will only allow you to put a date equal or greater than the current date (Validation Error: Expiration Date must be greater than or equal to Current Date.).

(2) If the registration code is still usable (the usage setting did not reach its limit), has a start date set and an expiration date set either in the past or in the future, if compared to the current date, when changing the expiration date the system will only allow you to put a date equal or greater than the current date (Validation Error: Expiration Date must be greater than or equal to Current Date.).

(3) If the registration code is still usable (the usage setting did not reach its limit), has a start date set and has/does not have an expiration date set either in the past or in the future, if compared to the current date, when changing the start date the system will not allow you to modify it, because the registration code was already used (Validation Error: Start Date cannot be updated since code is already in use.).

(4) If the registration code is still usable (the usage setting did not reach its limit), has a start date set and has no expiration date set, when applying the expiration date the system may throw two different messages. It will only allow you to put a date equal or greater than the current date (Validation Error: Expiration Date must be greater than or equal to Current Date.) and it will state that the registration code date must be equal or greater than the current date (Validation Error: Start Date must be greater than or equal to Current Date.).

(5) If the registration code is not usable anymore (the usage setting has reached its limit), has a start date set and an expiration date set either in the past or in the future, if compared to the current date, or has no expiration date, when applying/changing the expiration date the system will only allow you to put a date equal or greater than the current date (Validation Error: Expiration Date must be greater than or equal to Current Date.).

Resolution

The steps to take would be:

(1) It is necessary to either follow the current or greater date rule or it is possible to remove the registration code.

remove.png

(2) It is necessary to either follow the current or greater date rule or change the usage (Max Usage) setting to the same amount of times the registration code was used, in case it is desired to have it not used anymore.

max.png

(3) It is necessary to change the usage (Max Usage) setting to the same amount of times the registration code was used, in case it is desired to have it not used anymore.

(4) It is necessary to either follow the current or greater date rules (for the start and expiration dates) or change the usage (Max Usage) setting to the same amount of times the registration code was used, in case it is desired to have it not used anymore.

max.png

(5) It is necessary to follow the current or greater date rule.

See Also

2148017 - Learning: How to configure and use Registration Code for sites self-registration

Keywords

change, edit, registration, code, date, error, site, modify , KBA , LOD-SF-LMS , Learning Management System , LOD-SF-LMS-ADM , System Admin, Global Variables, References , LOD-SF-LMS-EXT , Sites and External Users , Problem

Product

SAP SuccessFactors Learning all versions