How To Fix HRPAYBR_EFD167 - There is already an event &1 with the same key with accepted status.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYBR_EFD - Message class EFD-Social

  • Message number: 167

  • Message text: There is already an event &1 with the same key with accepted status.

  • Show details Hide details
  • What causes this issue?

    You tried to generate an event type that was classified as <LS>Q -
    Periodic event processed at company level without correction</> in the
    customizing activity <DS:SIMG.PAY_BR_EFD01>Set event types</>. However,
    an event of this type was already generated and accepted in the eSocial
    national enviroment.

    System Response

    The system does not generate the event again, nor its correction.

    How to fix this error?

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

    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 HRPAYBR_EFD167 - There is already an event &1 with the same key with accepted status. ?

    The SAP error message HRPAYBR_EFD167 indicates that there is an attempt to create or process an event in the Brazilian payroll system that already exists with the same key and has an accepted status. This typically occurs in the context of generating or submitting payroll events to the government or other authorities, where each event must be unique.

    Cause:

    1. Duplicate Event Submission: The most common cause of this error is that the event you are trying to create or submit has already been processed and accepted by the system. This could happen if:

      • The event was submitted previously and is still in the accepted status.
      • There was an attempt to reprocess or re-submit the same event without making any changes.
    2. Incorrect Data Entry: Sometimes, the data being entered might inadvertently match an existing event, leading to a conflict.

    3. System Configuration Issues: There may be issues with how the system is configured to handle events, leading to unexpected duplicates.

    Solution:

    1. Check Existing Events:

      • Review the existing events in the system to confirm if the event with the same key already exists. You can do this by using transaction codes like PA30 (Maintain HR Master Data) or PC00_M10_CEDT (for Brazilian payroll).
      • Look for the event in question and verify its status.
    2. Modify or Delete Duplicate Events:

      • If you find that the event already exists and is in an accepted status, you may need to modify your new event to ensure it has a unique key or delete the duplicate if it is not needed.
      • If the event needs to be reprocessed, you may need to reverse or delete the existing event first, depending on your business process.
    3. Consult Documentation:

      • Review SAP documentation or notes related to the specific event type you are working with to ensure compliance with the requirements.
    4. Contact Support:

      • If you are unable to resolve the issue, consider reaching out to your SAP support team or consulting SAP Notes for further assistance.

    Related Information:

    • SAP Notes: Check for any relevant SAP Notes that might address this specific error or provide additional guidance on handling payroll events in Brazil.
    • Transaction Codes: Familiarize yourself with relevant transaction codes for payroll processing in SAP, especially those specific to Brazilian payroll.
    • Testing in Development: If possible, replicate the issue in a development or test environment to better understand the cause without affecting production data.

    By following these steps, you should be able to identify the cause of the error and take appropriate action to resolve it.

    • 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