Symptom
When transfering user data from SAP to SFSF via SAP API, the documents are not getting routed to the new manager.
Environment
- Integration Add-On for SAP ERP HCM and SuccessFactors HCM Suite
- SAP SuccessFactors Performance & Goals
Cause
When data is upserted via APIs, there are a certain set of parameters that you need to pass in order for the documents to be routed automatically.
Resolution
The parameters that need to be passed are as follows:
- To route the forms to new manager in case of Direct Manager Transfer
- Parameters: managerTransfer, routeInboxDoc and routeEnRouteDoc are to be set to 'true'.
- Parameters: managerTransfer, routeInboxDoc and routeEnRouteDoc are to be set to 'true'.
- To route the forms to new manager in case of Matrix Manager Transfer
- Parameters: matrixManagerTransfer, routeEnRouteDocToMatrixManager and routeInboxDocToMatrixManager are to be set to 'true'.
Steps to implement the solution:
- In SE18 select BAdI name and give value: HRSFI_B_SFSF_API_PARAMETER;
- Select Implementations branch and there, right mouse click > Create BAdI Implementation;
- In your custom implementation, go to method IF_HRSFI_SFSF_API_PARAMETER~PROVIDE and enter the code to set your parameters. You may refer to example class CL_HRSFI_EX_API_PARAMETER.
Keywords
Performance, Forms, Not Routing, Indirect Supervisor, Manager, Managers, Transfer, API, Document, PM, BAdI, HRSFI_B_SFSF_API_PARAMETER, CL_HRSFI_EX_API_PARAMETER. , KBA , PA-SFI-TM , Integration with SuccessFactors BizX Talent Management , LOD-SF-INT , Integrations , Problem
SAP Knowledge Base Article - Public