How To Fix HRPAYBR_EFD870 - There is already an event &1 with the same key in the send process.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYBR_EFD - Message class EFD-Social

  • Message number: 870

  • Message text: There is already an event &1 with the same key in the send process.

  • Show details Hide details
  • What causes this issue?

    The event &v1& is being sent to the eSocial database, but the event has
    generated a new event &v1& with different data from the original.

    System Response

    The system excludes the new event and keeps the original event in the
    sending process.

    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_EFD870 - There is already an event &1 with the same key in the send process. ?

    The SAP error message HRPAYBR_EFD870 indicates that there is a duplicate event in the sending process for the Brazilian payroll system. This typically occurs when the system attempts to send an event that has already been processed or sent, leading to a conflict due to the same key being used for multiple entries.

    Cause:

    1. Duplicate Event Submission: The most common cause is that the same payroll event is being submitted more than once. This can happen due to:

      • Manual reprocessing of payroll events.
      • System errors that cause the same event to be queued multiple times.
      • Incorrect configuration or logic in the payroll processing.
    2. Data Integrity Issues: There may be issues with the data integrity in the payroll processing, leading to the same event being generated multiple times.

    3. Timing Issues: If the system is set to process events in a certain order, timing issues may lead to the same event being processed concurrently.

    Solution:

    1. Check for Duplicates: Review the event logs or the database to identify if the event with the same key has already been processed. You can use transaction codes like PA30 or PA40 to check employee events.

    2. Adjust Processing Logic: If the issue is due to the logic in the payroll processing, you may need to adjust the configuration or the custom code to prevent duplicate submissions.

    3. Error Handling: Implement error handling in your payroll processing to catch and manage duplicate events before they are sent.

    4. Reprocess Events: If you find that an event was incorrectly flagged as needing to be sent again, you may need to correct the status of that event in the system.

    5. Consult Documentation: Review SAP notes and documentation related to the specific error message for any patches or updates that may address this issue.

    6. Contact SAP Support: If the issue persists and you cannot identify the cause, consider reaching out to SAP support for assistance. They may provide insights specific to your system configuration.

    Related Information:

    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide guidance on handling payroll events in Brazil.
    • Transaction Codes: Familiarize yourself with transaction codes related to payroll processing, such as PC00_M01_CEDT for generating the EFD file.
    • Testing: Always test changes in a development or quality assurance environment before applying them to production to avoid further issues.

    By following these steps, you should be able to identify the cause of the error and implement a solution to prevent it from occurring in the future.

    • 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