SAP Knowledge Base Article - Public

2821419 - Add Learning History with Finance > Validation error 'getP6CurrecyCode()'


When using the "Add Learning History with Finance" feature, it returns this error:

  • "The following error has occurred: while trying to load from index 9 of an object array with length 9, returned from com.plateausystems.elms.client.struts.student.TrainingEventWizardForm.getP6CurrencyCode()".

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


SAP SuccessFactors Learning

Reproducing the Issue

  1. Access a class >
  2. In "Actions", choose "Add to Learning History" >
  3. Go through the steps to record learning for all users >
  4. The validation error will occur as long as one user or more have a missing shopping account ID.


One or more users were manually deleted and then reincarnated by the connector, which removed the shopping account link. The proper user purge process would avoid this issue.


  1. Verify the accounts of the users registered in the given class >
  2. Open the record > "Finance" tab > Verify if the "Shopping Account" is filled and if the "Enable Shopping Account" has the box checked >
  3. Find the user which is missing the "Shopping Account" >
  4. Open a case with SAP Support and share the ID. The "PH_SHOPPING_ACCT" table needs to be reviewed to confirm the shopping account of that user >
  5. Then, add the shopping account > Make the user external/internal, as per the proper user categorization > Check the "Enable Shopping Account" >
  6. Save the changes.


getP6CurrencyCode, validation, error, Add Learning History with Finance, commerce, class, unable, complete, finish, cannot, array, object, index , KBA , LOD-SF-LMS-ADM , System Admin, Global Variables, References , LOD-SF-LMS , Learning Management System , LOD-SF-LMS-SCH , Class - Scheduled Offerings , LOD-SF-LMS-COM , Commerce , Problem


SAP SuccessFactors Learning all versions