SAP Knowledge Base Article - Public

3221749 - "Account Code is required for this Class" - Error message when self-registering in Class

Symptom

User receives the error below when attempting to self-register to a Class.

Account Code is required for this Class

Environment

SAP SuccessFactors Learning

Reproducing the Issue

Prerequisites:

  • Online Course Home enabled ("enableCourseHome=true" found within LMS_ADMIN property file under System Admin > Configuration > System Configuration);
  • Blended Course Home disabled ("enableCourseHomeBlended=false" found within LMS_ADMIN property file under System Admin > Configuration > System Configuration);
  • Add an Account Code to a test user;
  • At the Class Level, Purchasing option is any of these:
    • Charge to Buyer's Specified Account Code;
    • Charge to Buyer's Authorized Account Code;
    • Distribute Charges to Specified Account Codes;
  • Class is part of a Library;
  • Class has a Price;
  • showPricingInternalUsers=false (found within FINANCIAL property file under System Admin > Configuration > System Configuration)

Steps:

  1. Go to the user side;
  2. Search for the class in the Library;
  3. Click on Register Now;
  4. Error will pop up.

Cause

Online Course Home (enableCourseHome) is causing the issue.

Resolution

Online Course Home will be removed from the application in the upcoming release. We encourage our customers to start using the new Course Home Blended and disable the old one.

Keywords

Account Code is required for this Class, class, purchasing, account code, library, pricing, course home , KBA , LOD-SF-LMS-CHM , Course Home , LOD-SF-LMS , Learning Management System , Known Error

Product

SAP SuccessFactors Learning all versions