Message type: E = Error
Message class:  HRPAYFR_ANI - Class of messages for ANI 
Message number: 010
Message text: Contract reference already used by another personnel number for employee
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message HRPAYFR_ANI010 indicates that a contract reference has already been used by another personnel number for an employee. This typically occurs in the context of payroll processing or employee data management within the SAP Human Capital Management (HCM) module.
Cause: Duplicate Contract Reference: The error usually arises when there is an attempt to assign a contract reference (such as a contract number or identifier) that is already associated with a different employee or personnel number in the system. Data Entry Error: It may also occur due to incorrect data entry, where the same contract reference is mistakenly entered for multiple employees. System
Configuration Issues: There could be issues with the configuration of the payroll or personnel administration settings that allow for duplicate entries.
Solution: Check Existing Records: Verify the existing personnel records in the system to see which employee is currently using the contract reference. You can do this by running a report
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPAYFR_ANI009 Inital end (&1) incoherent, CDD duration estimated at &2 years
What causes this issue?  In the frame of the Law on Securing Employment (LSE), the duration of a CDD can be calculated in years/months/days. This date...
HRPAYFR_ANI008 Inital end (&1) incoherent, impossible duration calculation
What causes this issue?  The duration of a CDD is calculated in years/months/days. The system has determined that the number of years calculated excee...
HRPAYFR_ANI011 Contract reference already used in a following record
What causes this issue?  The system issues an error message and will not allow you to continue with this transaction until the error is resolved. Syst...
HRPAYFR_ANI012 With this reason, you cannot use the existing contract reference
What causes this issue?  The reason for change you have used requires a change of contract reference. If your record must refer to the same contract a...
Click on this link to search all SAP messages.