Symptom
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."
Environment
SAP SuccessFactors Learning
Reproducing the Issue
- Access a class >
- In "Actions", choose "Add to Learning History" >
- Go through the steps to record learning for all users >
- The validation error will occur as long as one user or more have a missing shopping account ID.
Cause
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.
Resolution
- Verify the accounts of the users registered in the given class >
- Open the record > "Finance" tab > Verify if the "Shopping Account" is filled and if the "Enable Shopping Account" has the box checked >
- Find the user which is missing the "Shopping Account" >
- 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 >
- Then, add the shopping account > Make the user external/internal, as per the proper user categorization > Check the "Enable Shopping Account" >
- Save the changes.
Keywords
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