How To Fix HRPAYFR_ANI139 - Contract reference &1 generated: last ref. &2 used by personnel no. &3


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYFR_ANI - Class of messages for ANI

  • Message number: 139

  • Message text: Contract reference &1 generated: last ref. &2 used by personnel no. &3

  • Show details Hide details
  • What causes this issue?

    A new contract reference was generated from the last contract reference
    used by another personnel number with the same social security number.

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    System Response

    You cannot reuse the same contract reference for the same person
    identified by the same social security number.

    How to fix this error?

    Use a new contract reference for this record.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message HRPAYFR_ANI139 - Contract reference &1 generated: last ref. &2 used by personnel no. &3 ?

    The SAP error message HRPAYFR_ANI139 typically occurs in the context of payroll processing in the SAP HR module, particularly in the French payroll system. This error indicates that there is an issue with contract references for an employee, specifically that the last reference for a contract has already been used by another personnel number.

    Cause:

    1. Duplicate Contract Reference: The error arises when the system detects that the contract reference being generated or used is already associated with another employee (personnel number).
    2. Incorrect Data Entry: There may be a mistake in the data entry where the same contract reference is inadvertently assigned to multiple employees.
    3. Configuration Issues: There could be issues in the configuration of the payroll system that lead to incorrect handling of contract references.

    Solution:

    1. Check Contract References: Review the contract references assigned to the personnel numbers involved. Ensure that each contract reference is unique and not duplicated across different employees.
    2. Correct Data Entry: If a duplicate contract reference is found, correct the data entry by assigning a unique contract reference to the affected employee.
    3. Review Payroll Configuration: If the issue persists, consult with your SAP HR configuration team to review the settings related to contract references in the payroll module. Ensure that the configuration allows for unique contract references for each employee.
    4. Consult Documentation: Refer to SAP documentation or notes related to this specific error message for any additional troubleshooting steps or patches that may be available.
    5. Testing: After making corrections, run a test payroll to ensure that the error does not reoccur.

    Related Information:

    • SAP Notes: Check SAP Notes for any known issues or updates related to this error message. SAP frequently releases notes that address specific error messages and provide guidance on resolution.
    • Transaction Codes: Familiarize yourself with relevant transaction codes such as PA30 (Maintain HR Master Data) and PC00_MXX_CALC (Payroll Calculation) to investigate employee records and payroll processing.
    • User Roles: Ensure that users have the appropriate roles and authorizations to make changes to employee contract data.

    If the problem continues after following these steps, it may be beneficial to engage SAP support or a consultant with expertise in SAP HR and payroll to assist in resolving the issue.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant