Symptom
Once onboarding process is completed for a candidate in SF, the candidate data is imported in SAP and then the hiring action is trigerred through the HRSFI_ONB_HIRE transaction. Once the hiring action is completed, an error message "Unable to update candidate, user ID could not be determined'' appears for the candidate in the HRSFI_ONB_HIRE transaction.
Environment
- Integration Add-On for SAP ERP HCM and SuccessFactors HCM Suite
- Integration Scenario for Onboarding
Reproducing the Issue
In HRSFI_ONB_HIRE, hire a candidate via 'Start Action' button. Once the employee is successfully hired this error is displayed.
Cause
System does not know which option should be used to determine the UserID.
Resolution
In table V_HRSFI_R_PARA_S (transaction SM30), for parameter group USER_ID parameter PROVISIONING_OPTION define a value depending on how the userId is determined from the PERNR.
You have the following input options:
- 1: You use the employee’s central person (CP).
- 2: You use the ID that is stored for the employee in the field External Person ID (PERSONID_EXT) of the infotype Person ID (0709).
- X: You define a customer-specific implementation. To do so, use the method GET_USERID of the Business Add-In (BAdI) Replication of Employee Data (HRSFI_B_EMPL_DATA_REPLICATION).
Activate the function for transferring the user ID to SuccessFactors BizX in Customizing, as well. To do so, in table VV_SFI_PARAMS_ACTIV_SWITCHES, set the parameter CANDIDATE_UPDATE_ACTIVE to X.
Furthermore it is necessary that
- in Enhancement Spot HRSFI_PROCESSING,
- BAdI Definition HRSFI_B_PERNR_USERID,
method 'IF_HRSFI_PERNR_USERID_BADI~DETERMINE_USERID_FOR_PERNR' (Determine SFSF User ID based on Personnel Number) is filled. Best use the available standard BAdI-coding as example.
(IMG -> Personnel Management -> Integration Add-On for SAP ERP HCM and SuccessFactors BizX -> Basic Settings -> BAdI: Determination of SAP ERP Personnel Numbers and SFSF User IDs)
See Also
[Enter your See Also here...]
Keywords
HRSFI_ONBOARDING 032, HRSFI_ONBOARDING032, determine_userid_for_pernr , KBA , PA-SFI-TM , Integration with SuccessFactors BizX Talent Management , Problem