

Error “Person Already Hired” While Replicating Employee Master Data From SAP Suc...
source link: https://blogs.sap.com/2023/06/11/error-person-already-hired-while-replicating-employee-master-data-from-sap-successfactors-employee-central-to-sap-s-4hana-or-sap-erp-hcm-system./
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Error “Person Already Hired” While Replicating Employee Master Data From SAP SuccessFactors Employee Central To SAP S/4HANA Or SAP ERP HCM System.
Hello Reader,
How are you? I hope you are fine. Today I will be sharing with you one of the reasons of the error “person already hired” while trying to replicate the Employee Master data from SAP SuccessFactors Employee Center to SAP S∕4HANA . If you are an Integration Consultant and you are a beginner at Replication of Employee Master Data from SAP SuccessFactors Employee Center to SAP S∕4HANA then this blog is for you. Even if you have a little bit of experience, you can also read the blog and provide any comments or suggestions about the topic and also provide your valuable feedback.
So let us start the blog.
If you are integrating the SAP SuccessFactors Employee Center with the On-premise SAP S∕4HANA system then the first step is data migration. You first need to migrate the existing employee master data and organizational data from SAP S∕4HANA to SAP SuccessFactors Employee Central. It is strongly recommended to use standard SAP Infoporter tool for the migration in order to avoid any errors while replicating back the employee master data to SAP S∕4HANA.
But you can also migrate the data by custom approach for example by CSV import of all data into SAP SuccessFactors Employee Central. Which in turn can cause problems while replicating master data back to SAP S/4HANA.
Why not using an SAP infoporter tool can cause problems?
When we use the standard SAP infoporter tool for migration of data from SAP S/4HANA to SAP SuccessFactors Employee Central, all the employees that we migrate from SAP S/4HANA to SAP SuccessFactors Employee Central will have their PERNR ( employee id / userId) stored in a Employee Key mapping table (ECPAO_EE_KMAP). So that when we run the replication of all employees from SAP SuccessFactors Employee Central to SAP S/4HANA, the existing PERNR are utilized instead of assigning new PERNR.
If you do not use the standard approach for migration of data then the Employee Key mapping table would not get populated. When we run the replication of all employees from SAP SuccessFactors Employee Central to SAP S/4HANA, all the employees will try to create a new PERNR in SAP S/4HANA. But for employees that already exist in SAP S/4HANA with the same PERNR, the replication process would throw an error that says “person already hired”.
Now you are not trying to rehire the employee but still you are getting this error. This is because when the system is checking for the PERNR in employee key mapping table (ECPAO_EE_KMAP), it does not find it so the program considers it as a new employee so it tries to hire it in the system but since the employee already exist in the system, it will resist and hence throw the error “person already hired” ( as shown in screenshot below).

Error person already hired
Resolution:
Now that you have used a custom approach to migrate the data from SAP S/4HANA to SAP SuccessFactors Employee Central and you do not have any entries in employee key mapping table (ECPAO_EE_KMAP) for the existing employees in SAP S/4HANA, you would have to populate the ECPAO_EE_KMAP table for all the employees that already exist in SAP S/4HANA.
Since there is no standard report for this, you would need to create a custom report to fill this data in the ECPAO_EE_KMAP table. You can check the table in transaction se16 and then search for ECPAO_EE_KMAP table.
Now try to replicate the employee master data, you will no longer get the error “person already hired”.
Conclusion:
In this article, we can conclude that we should always follow the standard approach (Infoporter) while migrating data from SAP S/4HANA system to SAP SuccessFactors Employee Central. But if you have already followed the custom approach, we still have a work around as given in this blog.
Similar articles:
https://userapps.support.sap.com/sap/support/knowledge/en/2758271
https://answers.sap.com/questions/209772/employee-key-mapping-from-ec-to-sap.html
Thank you for reading this blog. Please comment if you have any queries, also share your valuable feedbacks.
Thank you,
Zainab Fatima
Recommend
-
26
Loads of folks found brand-new Wyze surveillance cameras under their trees or in their stockings this Christmas. And on Boxing Day, the company itself unwrapped a whole new world of trouble for everyone who uses its produc...
-
12
Rails and Address Already In Use - Bind Error Jul 29, 2017 Lately I've seen this error come up quite a few times: /Users/sjohnson/.rvm/gems/ruby-2.3.1@seira_watch_web_app_api/gems/puma-3.9.1/lib/puma/b...
-
9
Hyper-V host already registered to Azure Recovery Vault ErrorIf you are setting up Azure Migrate on your Hyper-V host to replicate virtual machines to Azure, you will need to install the Hyper-V replication provider(AzureSiteRecoveryProvider....
-
8
How to Fix "the Person Who Bought This Needs to Sign In" Xbox Error By Amir M. Bohlooli Published 1 day ago Has Microsoft comple...
-
9
[AngularJS] Safe Scope.$apply Implementation (Error: $apply already in progress) Updated: February 23,...
-
6
-
8
Home
-
5
I'm an Amazon employee who likes working in person. I think our return-to-office plan falls short, so I'm quitting to work somewhere with a stronger office presence....
-
1
A Gucci employee got sacked after flaunting her freebies on TikTok, and now juggles multiple gigs at once. 3 tips to prepare for an unexpected job loss
-
4
TL; DR: Getting Hired as a Scrum Master or Agile Coach Are you considering a new Scrum Master or Agile Coach job, but you are not sure that it is the right organization? Don’t worry: there are four steps of proactive research to identify...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK