Ansicht
Dokumentation

HRSFI_BADI_PERNRUSER - BAdI: Determination of SAP ERP Personnel Numbers and SFSF User IDs

HRSFI_BADI_PERNRUSER - BAdI: Determination of SAP ERP Personnel Numbers and SFSF User IDs

rdisp/max_wprun_time - Maximum work process run time   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used for the integration add-on for SAP ERP HCM and SuccessFactors BizX.

You can use this BAdI to derive the personnel number used in the SAP ERP system and the user ID used in the SuccessFactors BizX systems from data that you transfer from SuccessFactors BizX. When importing data from the SuccessFactors BizX system, the SAP ERP system runs through the implementation of this BAdI and attempts to determine the personnel number and the user ID from the transferred SuccessFactors BizX field contents. If the SAP ERP system can determine the chosen information, it uses this to map the field contents transferred from SuccessFactors BizX to infotype fields in the SAP ERP system.

Additionally, you can use the BAdI to derive a user ID for SuccessFactors BizX from the personnel number used in the SAP ERP system after you have adopted a candidate transferred from SuccessFactors BizX as a new employee in SAP ERP Personnel Administration. The user ID is transferred to SuccessFactors BizX. SuccessFactors BizX stores the user ID in the Candidate object and thereby establishes a connection between the data of the external candidate who applied via SuccessFactors BizX and the new employee who has been hired using Personnel Administration in the SAP ERP system.

Note
You need to activate this function in Customizing. To do so, under Activate Additional Functions, set the parameter CANDIDATE_UPDATE_ACTIVE to X.
Recommendation
For this function, use the standard implementation of this BAdI. You only need your own implementation if you have a very specific request with regard to transferring the user ID to SuccessFactors BizX.

The BAdI uses the following methods:

  • PROVIDE_PERNR with the following parameters:
Import Parameter
  • IT_SFSF_FIELDS

Table with all fields and field values transferred from SuccessFactors BizX
Return Parameter
  • RV_PERNR

Personnel number used in SAP ERP HCM
You can use this method to determine the personnel number from the transferred data.
Example
Determining the personnel number can be useful for checking for duplicates in the SAP ERP system. The system displays the personnel number, for example, in the application for the further processing of imported applications (transaction HRSFI_RCT_HIRE). The HR Administrator can then check whether the employee is the same and is therefore not a new hire. If this is the case, the HR Administrator may need to perform the personnel actions for a reentry to the enterprise or an organizational reassignment.
  • PROVIDE_USERID with the following parameters:
Import Parameter
  • IT_SFSF_FIELDS

Table with all fields and field values transferred from SuccessFactors BizX
Return Parameter
  • RV_USER_ID

User ID used in SuccessFactors BizX
You can use this method to determine the user ID from the transferred data. You use this method when you store the user ID in SuccessFactors BizX in a field other than the default field USERID and want to make this available in the SAP ERP system. You can then run the method PROVIDE_PERNR, for example, to derive the personnel number using the user ID determined in this way.
  • DETERMINE_USERID_FOR_PERNR with the following parameters:
Import Parameters
  • IV_PERNR

Personnel number used in SAP ERP HCM
Return Parameter
  • RV_USER_ID

User ID for SuccessFactors BizX
You can use this method to derive the SuccessFactors BizX user ID from the SAP ERP personnel number.

  • HRSFI_RCT_PERNR_USERID
This implementation provides the following information:
  • It uses the method PROVIDE_PERNR to determine the personnel number from the data transferred from SuccessFactors BizX. To do so, it checks whether the table SuccessFactors: Log Table for Delta Handling (HRSFI_D_EXTR_LOG) already contains a personnel number for the transferred data record. This is the case if employee data has already been transferred from SAP ERP HCM to SuccessFactors BizX for the employee concerned.

  • It uses the method PROVIDE_USERID to determine the user ID from the data transferred from SuccessFactors BizX.

  • It uses the method DETERMINE_USERID_FOR_PERNR to derive a user ID from the SAP ERP personnel number. To do so, it first determines the ID of the central person who is assigned to the personnel number and checks whether this is stored in the table HRSFI_D_EXTR_LOG. This is the case if employee data has already been transferred from SAP ERP HCM to SuccessFactors BizX for the employee concerned. If the ID of the central person is not stored in the table HRSFI_D_EXTR_LOG, the person is a new employee or an employee for whom no employee data has yet been transferred from SAP ERP HCM to SuccessFactors BizX. In this case, the method checks which option is stored in Customizing under Choose Option for Deriving SuccessFactors BizX User ID from SAP ERP, and determines the user ID in this way.

If you want to determine information other than that which is provided as standard, create a customer-specific implementation of this BAdI.






ROGBILLS - Synchronize billing plans   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 6675 Date: 20240523 Time: 194451     sap01-206 ( 128 ms )