Skip to Content
Technical Articles
Author's profile photo Chelliah Soundar

Employee to Business Partner Synchronization during S/4HANA system conversion

Updated on Nov 9, 2021 – Relevant to SAP S/4HANA 2020 and higher

SAP SuccessFactors, the next generation HCM suite in the public cloud, is the go-forward HCM solution for both cloud and on-premise editions of SAP S/4HANA. However, some SAP ERP customers who are converting to SAP S/4HANA on-premise may not be able to move their existing SAP ERP HCM to SAP SuccessFactors in the near future and would like to continue to use SAP ERP HCM until they are ready to move to SAP SuccessFactors. Those customers can run their HCM in either a separate instance or a single instance with S/4HANA. The integration between SAP ERP HCM and S/4HANA on-premise will be available via ALE if HCM is running on a separate instance. If HCM is running inside of S/4HANA on-premise, then the integration is automatically provided as part of the Compatibility Mode.

In SAP S/4HANA, Business Partner (BP) is the leading object, and customer and vendor master data will be assigned as roles to Business Partner. This is one of the major changes in S/4HANA, and therefore, it requires considerable effort to prepare the SAP ERP system for conversion to S/4HANA. Implementing Customer Vendor Integration (CVI) and synchronizing customer and vendor data with Business Partner (BP) in the SAP ERP system is a prerequisite for system conversion to S/4HANA. You may refer to my blog BP and CVI in SAP S/4HANA System Conversion for a step by step guide for CVI Implementation and Synchronization.

If an existing SAP ERP customer who is using SAP ERP HCM is planning to convert their ERP system to S/4HANA, they are required to synchronize their employee data as well to Business Partner once they are in S/4HANA. There are two parts to this, one is to synchronize the employee vendors to BP in the SAP ERP System before system conversion and the second one is to synchronize the employee records to BP in S/4HANA after system conversion. I will explain both in this blog.

 

CVI Synchronization

CVI Synchronization – Employee Vendors

First of all, if employee vendors exist in the SAP ERP system, the employee vendors will have to be converted to BPs of category “Person” during CVI synchronization. To accomplish this, implement SAP Note 2539457 (CVI & employee vendors in incorrect BP category) and ensure that BAdI implementation HCM_CVI_MAP_BP_CATEGORY (BAdI CVI_MAP_TITLE) is active. This BAdI implementation identifies employee vendors (LFB1-PERNR has an entry) and enables the synchronization of those vendors to BPs of category “Person” while executing the CVI synchronization report MDS_LOAD_COCKPIT. If this note is not applied, the standard program will create BPs of category “Organization” which is not desired for employee vendors while executing the CVI synchronization report MDS_LOAD_COCKPIT.

Activities in S/4HANA

Once the system is converted from SAP ERP to SAP S/4HANA, carry out the following activities. For more details, please check the installation guide here.

  1. Activate Business Function /SHCM/EE_BP_1
  2. Set the following switches in the table T77S0 as below.
  • HRALX HRAC to ‘X’
  • HRALX PBPON to ‘ON’
  1. Check if the following BP roles exist in the system. You may check this in Customizing, SPRO -> Cross-Application Components SAP Business Partner -> Business Partner -> Basic Settings -> Business Partner Roles -> Define BP Roles
  • BUP003 Employee
  • BBP005 Service Agent
  • BBP010 Freelancer
  • FLVN00 Supplier (Fin Accounting)
  • FLVN01 Supplier
  • BUP010 Employment
  1. Check if the following BP Address Types are maintained in the system. You may check this in Customizing, SPRO -> Cross-Application Components SAP Business Partner -> Business Partner -> Basic Settings -> Address Determination -> Define Address Types
  • HCM001 Employee Private Address
  • HCM003 Address of Main Employment
  1. Check if the following Identification Types are available in the system. You may check this in Customizing, SPRO -> Cross-Application Components SAP Business Partner -> Business Partner -> Basic Settings -> Identification Numbers -> Define Identification Types
  • HCM001 Employee ID
  • HCM028 Internal Personnel Number
  • HCM030 Employee ID (Service Performer)
  • HCM031 Employee ID (Freelancer)
  • HCM032 Personnel Number (Main Employment)
  • HCM033 Personnel Number (Employment)
  1. The following switches in the table T77S0 are used to assign number range for the BPs with employee role
  • HRALX PNUMB
  • HRALX PSUBG
  1. The following switches in the table T77S0 are used to assign number range for the BPs with employment role
  • HRALX ENUMB
  • HRALX ESUBG
  1. Run the report /SHCM/RH_SYNC_BUPA_EMPL_SINGLE. You can use this report only if the initial synchronization of BP has to be executed in parallel jobs due to large volume of employees or during testing cycles. This report will create two BPs, one with employee role and another with employment role, for every employee record for which no BP exists in the system. For the BPs created during CVI Synchronization for employee vendors, this report will add the employment role BUP010. A log is written for the failed synchronization, and the error log can be reviewed in transaction SLG1 for object SHCM_EE_INTEGRATION, Sub-object: BUPA_SYNC.
  2. After completing the initial synchronization of employees with Business Partner, set up a background job for the report /SHCM/RH_SYNC_BUPA_FROM_EMPL. This report will update employee BPs based on the changes made to the employee records and keep the employee and BPs in sync. Secondly, this report will create new BPs for the future dated employees created in the system. An error log is written for the failed synchronization, and the error log can be reviewed in transaction SLG1 for object SHCM_EE_INTEGRATION, Sub-object: BUPA_SYNC.
  3. The new Business Partner with employment role is designed to keep employment related roles, such as vendor. The creation of vendor role is optional in the new BP data model and can be triggered using the report /SHCM/R_EMPL_HANDLE_BPROLES.
  4. Make sure the business process CVI_04 – Business Partner -> Vendor is active for component AP-MD (IMG Path: SPRO-> Cross-Application Components -> General Application Functions -> Postprocessing Office -> Business Processes->Activate Creation of Postprocessing Orders). This setting will enable the system to capture errors during vendor role creation for employment BPs.

Additional Info

  1. HRALXSYNC (report) – You cannot use this sync report for employee synchronization in SAP S/4HANA. For any other (organizational unit) object synchronization, you can use this report.
  2. Transaction PRAA – This transaction was used for employee vendor creation in the SAP ERP system for travel expenses. You cannot create employee vendors using this transaction, and it is no longer valid in the SAP S/4HANA system.
  3. Table IEMPLOYEE provides info on the link between Employee and BP in S/4HANA.
  4. Table /SHCM/D_BP_SYNC keeps track of the pending/failed employee records from previous/delta synchronization, which will then be picked up in the next run of the sync job.
  5. SAP Note 2578294 – FAQ – Employee to Business Partner synchronization in S/4HANA OnPremise
  6. SAP Note 2409229 – Employee Synchronization Report: FAQ
  7. SAP Note 2340095 – S4TWL – Conversion of Employees to Business Partners
  8. SAP Note 3023906 – FAQ – NEW Employee to Business Partner synchronization in S/4HANA OnPremise (NEW MODE)
  9. SAP Help: New Employee Business Partner Model in SAP S/4HANA
  10. Blog: New Employee Business Partner Data Model in SAP S/4HANA 2020 On-Premise

Thank you.

Brought to you by the SAP S/4HANA RIG and Customer Care team.

Assigned Tags

      12 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Kanishka Tirumala
      Kanishka Tirumala

      thank you! Was really helpful

      Author's profile photo Steffen Mallwitz
      Steffen Mallwitz

      Hello Chelliah,

      very sound and helpful article, indeed.

      One question remains for me, even after checking all kinds of SAP-Notes: What triggers the creation of the BBP005 Service Provider and BBP010 Freelancer roles?

      I mean, what must be maintained in the PA30 infotypes to trigger the creation of BP's with these roles instead of the standard BUP003 role?

      KR,

      Steffen

      Author's profile photo Jean-Marie CONSEIL
      Jean-Marie CONSEIL

      Hello Steffen,

      To my knowledge, the only way to trigger those roles is to implement Badi mentioned in following OSS note:

      Best regards,

      Jean-Marie

      Author's profile photo Steffen Mallwitz
      Steffen Mallwitz

      Hello Jean-Marie,

       

      excellent, many thanks, this SAP-Note was initially published 9 days after my comment.

      As if people heard me 😉

      I will check it out immediately.

       

      Yours,

      Steffen

      Author's profile photo Tilen Drobnic
      Tilen Drobnic

      Dears,

       

      thank you for very nice overview of integration.

       

      when creating new HR no. in synchronization to new BP no. we are missing some values:

      • enter a value for field Authorization group
      • enter a value for field Data origin types
      • enter a value for field Business partner type

      Any hints what to do ?

      Regards,

      Tilen

       

      Author's profile photo Jean-Marie CONSEIL
      Jean-Marie CONSEIL

      Hello Tilen,

      I doubt there is a chance those fields to be mapped in standard.

      I never implemented it myself but one of my colleagues advised me about badi BADI_FITV_VENDOR_SYNC where you have several methods (e.g.  MODIFY_PERSON_CENTRAL_DATA). In this method, you have in terms of input all infotypes related to the personnel number and you can change almost all fields on general view of the business partner.

      Information on the Badi can be found here:

      As I said, I never implemented it so if you dig into this one, it would be great if you can give some feedback...

      Best regards,

      Jean-Marie

      Author's profile photo Jakob Steen-Petersen
      Jakob Steen-Petersen

      Hi Chelliah

      I am a bit confused regarding this issue. In this blog you state that there is a risk of ending up with two Business Partners: one for Vendor and one for Employee.

      Then if i read note 2542175, it is stated that is it Strongly recommended to have two seperate business partners: one for Vendor and one for Employee.

      So could you explain to me what is the correct way of handling this?

      Regards

      Jakob Steen-Petersen

      Author's profile photo Sridher Sathi
      Sridher Sathi

      Hello Chelliah

       

      Thanks for such a informative blog. I wanted to check if there would be a feasibility to have different number ranges for BP for employees (Say active &  retired employees). Any suggestions are welcome

       

      Regards

       

      Sridher

      Author's profile photo Francisco Jose Fernandez Prieto
      Francisco Jose Fernandez Prieto

      Hi,

      Thank you for the article, it´s been really helpful. However, I am having doubts with the customizing of the field PNUMB. I see that there are also two additional fields that look similar to PNUMB, which are ENUMB and ONUMB.

      I really can´t get the hang of this and am having doubts about customizing ENUMB and ONUMB fields the same way I would do for PNUMB, or if maybe it reallyisn´t necessary to customize these additional fields.

      Can anyone shed some light about this issue?

       

      Thank you in advance and best regards,

      Author's profile photo Ashok Srinivasan
      Ashok Srinivasan

      This blog helped me today, thank you !

      Author's profile photo Devraj Chauhan
      Devraj Chauhan

      Hi,

      After creating Employee in SAP, it is not being synchronized automatically to BP. However, after running the program /SHCM/RH_SYNC_BUPA_EMPL_SINGLE it is reflecting the details in tcode BP.

      Is there a TCODE for this program to synchronize details, as we cannot give access of this program to end user for processing.

      Author's profile photo Syed Zain Ul Abdin
      Syed Zain Ul Abdin

      Employee is hired and Employee as Vendor as created (General Data) but once i switched to Company Code Date (BP Role FLNV00), Company code and Reconciliation GL is not maintained. screen shot attached. Recon GL is already define in > Personal Management > SAP S4 Hana for Human Resource > Define Reconciliation Accounts for Employee in FI Role