Message type: E = Error
Message class:  HRPSGB_ME_NEW - Multiple Employment (Re-work Into STD) 
Message number: 040
Message text: EE data (relationship & key &) will be replaced with linked record data
You are trying to create a Central Person link after the hiring action
has been completed and one of the following applications are active in
your system:
E-Recruitment (NA)
Business Partner Integration (BP)
If one of the above mentioned applications are active after the a
contract has been hired, the system assigns a unique key to link the
Central Person data to the data held in that application. However, if
the system creates a Central Person link during the hiring action, then,
the linked contracts' unique key is used. In this case, the system does
not create a  new unique key.
Currently, you are attempting to link two unique sets of data into one
single set, by trying to create a Central Person link after the hiring
action has been completed. In this case, the system deletes the existing
data on one of the contracts and replaces it with the data on the other
contract.
The system replaces the relationship NA (<ZH>and </>or <ZH>or </>BP) of
the contract with the key or data from the linked contract.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Consider that Employee A and Employee B were hired, but were not linked
during the hiring action. Consider also that the E-Recruitment (NA)
application is active and that the system has created relationship NA
separately for Employee A and B, with keys 00000001 and 00000002. Now,
when you try to link the two separate employees (through <ZH>PA30 </>
transaction  and <LS>Reference Personnel Numbers </>(0031) infotype),
the system deletes either Employee A's or Employee B's data  and
replaces it with the data from the other employee. (which means that
both employees will use either NA 00000001 or NA 00000002).
Error message extract from SAP system. Copyright SAP SE.
The SAP error message "HRPSGB_ME_NEW040 EE data (relationship & key &) will be replaced with linked record data" typically occurs in the context of Human Resources (HR) data management, particularly when dealing with employee data records and their relationships.
Cause: This error message indicates that there is a conflict between the existing employee data and the new data being processed. Specifically, it suggests that the system is attempting to update or replace existing employee relationship data with information from a linked record. This can happen due to: Data Inconsistency: There may be inconsistencies between the existing employee data and the new data being imported or updated. Duplicate Records: The system may have detected duplicate records or relationships that are causing confusion in the data hierarchy. Incorrect Data Entry: Errors in data entry or incorrect relationships defined in the employee master data can lead to this issue. Integration Issues: If data is being imported from another system
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPSGB_ME_NEW032 Non-primary Postgr. Loan deduction &1 will creates negative YTD on /PGL
 the amount of /PGL. This means that when the Postgraduate Loan is re-calculated on the primary, the /PGL amount will no longer exist on the non-prima...
HRPSGB_ME_NEW031 Non-primary Student Loan deduction &1 will creates negative YTD on /CSL
What causes this issue?  The Student Loan calculations for this employee has been re-assessed during retrospective payroll. This can only happen on th...
HRPSGB_ME_NEW041 
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPYO_SCH000 SQL exception occurred; &1 program &2 include &3 position &4
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.