Symptom
When using the Add Learning History tool, the following error occurs: "The following cost center codes for user XYZ are not valid or you do not have permission to use them here: COST CENTER ABC"
Environment
SAP SuccessFactors Learning
Reproducing the Issue
- Go to the Class > Actions > Add to Learning History
- Proceed through the tool with some users that have a cost center
- Add the completion status and submit
Cause
This issue is could be caused by duplicate IDs in account code, one with an extra space. However, HTML removes the extra space in the ID so they appear to be same (This is as per HTML specification).
The other could be due to the admin roles missing the 'View/Edit/Search Account Code' permissions.
Resolution
Validate first that there are no duplicate Account Code ID under References > Finance > Account Codes. If there is, make sure to update the correct Account Code on the users that are showing up on the error.
If there are are no duplicate Account Codes, then modify the Admin roles to add either the 'View/Edit/Search Account Code' permissions. Please see the Administration Guide for on how to do this.
Keywords
Cost Center, LMS, Cost Center Codes, Permission LMS, Record Learning Error, Record learning, User Cost Codes, Cost Codes, Commerce LMS, Commerce, Cost Code Center Error, Validation Error, Cost Code Validation Error, Cost Center Permissions , KBA , LOD-SF-LMS-SCH , Class - Scheduled Offerings , Problem