Symptom
You transfer employee data from ERP system to SF with program RH_SFI_SYNCHRONIZE_EMPL_DATA (Transaction HRSFI_EMPL_DATA_REPLICATION) in Odata version and intend to use parameters via BAdI: 'Parameters for Checks of Employee Data Transfer'.
However, the BAdI has no effect and/or an error occurs.
Environment
- Integration Add-On for SAP ERP HCM and SuccessFactors HCM Suite
- Employee Data Synchronization
Reproducing the Issue
1. Program RH_SFI_SYNCHRONIZE_EMPL_DATA (transaction HRSFI_EMPL_DATA_REPLICATION)
2. Odata version: View V_HRSFI_PARAMS (SM30): EMPL_WEB_ADAPTER_TYPE ODATA is set as 'X'.
3. BAdI 'Parameters for Checks of Employee Data Transfer' (IF_HRSFI_SFSF_API_PARAMETER~PROVIDE) is enabled.
See IMG path in ERP system: Personnel Management -> Integration Add-On for SAP ERP HCM and SuccessFactors BizX -> Integration Scenario for Employee Data -> Business Add-Ins (BAdIs) -> BAdI: Parameters for Checks of Employee Data Transfer
Cause
BAdI can be used for SOAP API only. Please refer documentation of the BAdI next to IMG node 'BAdI: Parameters for Checks of Employee Data Transfer':
"This BAdI is taken into account by the SOAP API only.
If you are using OData, additional parameters are transferred to SuccessFactors BizX using API Option Profile. For more information on the use of the API Option Profile, see the SAP SuccessFactors HXM Suite OData API Developer Guide on SAP Help Portal."
Resolution
See help.sap.com link SAP SuccessFactors API Reference Guide (OData V2) - Creating and Editing Users Using an API Option Profile
Keywords
RH_SFI_SYNCHRONIZE_EMPL_DATA, HRSFI_EMPL_DATA_REPLICATION, BAdI, parameter, CL_HRSFI_EX_API_PARAMETER, IF_HRSFI_SFSF_API_PARAMETER, SOAP (SFAPI), Odata , KBA , PA-SFI-TM , Integration with SuccessFactors BizX Talent Management , LOD-SF-INT-ODATA , OData API Framework , How To