Symptom
Employees cannot log into the system due to an “Invalid Manager Detected” error message
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 Employee Central
Reproducing the Issue
Resolution
As per Engineering Team and Product Management, based on the current design, it is not supported for user-id to sync to any custom fields. There is already a hard-coded sync from EC's manager-id to EP's managerId to support this scenario.
There are two probably causes of this error (and their solution) -:
1) This could be because the employees manager is Inactive (maybe caused by Terminating the manager but choosing not to move the employees or the Basic User Data was imported making this manager inactive).
SOLUTION - Navigate to Admin Tools > Employee Export and export the basic user data file and ensure the Manager is Active
2) This could be caused by configuring the sync-mappings in the Succession Data Model configuration file, to synchronize the EC jobInfo.manager-id field with the EP field managerId. Because a hard-coded sync mapping already exists for this mapping, adding a custom mapping to perform the same task will cause data corruption in the managerId field in EP when the data is synchronized.
Examples of duplicated or invalid mapping for Manager field (never map to managerId) -:
<hris-mapping >
<hris-field-ref refid="custom-long14"/>
<standard-element-ref refid="managerId"/>
</hris-mapping>
<hris-mapping >
<hris-field-ref refid="manager-id"/>
<standard-element-ref refid="managerId"/>
</hris-mapping>
SOLUTION - Admin users without managers assigned will be able to log into the instance, export the Basic User Data via Admin Tools > Employee Export, and review the managerId column in the export file.
You find the following strange value in the Manager ID column, where we would expect to find either NO_MANAGER or the USERID of the related Manager. Instead we find the following (or the same but with a different number than 1615) - {"userDisplayValue":,"userId":"1615"}
The correction needs to be made in 2 steps -:
- Remove the sync-mapping from the Succession Data Model configuration file (if you are a customer you will need to raise a Product Support case for Product Support to meake the change on your behalf).
- Once step 1 is completed, run a Full HRIS Sync to re-synchronize the EC data to EP. Again if you are a customer you will need to engage with Product Support to have the Full HRIS Sync job executed on your instance.
See Also
Please view 2837710 - HRIS Sync from manager-id to a custom field in EP shows as {"userDisplayValue":,"userId":"XXXXX"}
Keywords
HRIS Sync, sync-mapping, invalid manager, employee central, userDisplayValue, manager-id sync, manager-id, userId, manager-id to custom field, hris sync, sync, managerId, ECT-123320, {"userDisplayValue":,"userId":"XXXXX"},"userDisplayValue":,"userId":"XXXXX" , KBA , LOD-SF-EC-HRS , HRIS Sync , How To