How To Fix HRPAYBR_EFD865 - Event for per.&1 was not generated bec.is older than eSocial prod.date


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYBR_EFD - Message class EFD-Social

  • Message number: 865

  • Message text: Event for per.&1 was not generated bec.is older than eSocial prod.date

  • Show details Hide details
  • What causes this issue?

    The event was generated in a date previous to the eSocial use date in
    production mode. The system does not generate data previous to this
    period.

    System Response

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

    How to fix this error?

    Generate the event again with date after the eSocial use date.
    If you want to see which is the eSocial start date, see the Customizing
    activity <DS:SIMG.PAY_BR_EFD05>Specify eSocial use date in production
    mode</>.

    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_EFD865 - Event for per.&1 was not generated bec.is older than eSocial prod.date ?

    The SAP error message HRPAYBR_EFD865 indicates that an event for a specific personnel number (indicated by &1) was not generated because it is older than the eSocial production date. This error typically occurs in the context of Brazilian payroll processing, particularly when dealing with the eSocial system, which is a digital bookkeeping system for labor, social security, and tax obligations in Brazil.

    Cause:

    1. Date Mismatch: The event you are trying to generate is dated before the eSocial production date. The eSocial system has a defined start date for reporting, and any events that occur before this date cannot be processed.
    2. Incorrect Configuration: There may be an issue with the configuration of the eSocial settings in your SAP system, leading to incorrect date handling.
    3. Data Entry Errors: There might be incorrect or outdated information in the employee's master data or payroll records.

    Solution:

    1. Check Event Dates: Review the dates of the events you are trying to generate. Ensure that they are not older than the eSocial production date.
    2. Update eSocial Configuration: Verify the configuration settings for eSocial in your SAP system. Ensure that the production date is correctly set and that all relevant parameters are configured properly.
    3. Adjust Payroll Data: If the event is indeed valid but dated incorrectly, you may need to adjust the payroll data or reprocess the payroll for the affected personnel number.
    4. Consult Documentation: Refer to SAP notes or documentation related to eSocial and the specific error message for any additional guidance or updates.
    5. Contact Support: If the issue persists, consider reaching out to SAP support or your internal SAP team for further assistance.

    Related Information:

    • eSocial: A Brazilian government initiative that aims to simplify the reporting of labor, social security, and tax obligations. It requires companies to submit various events related to employees electronically.
    • SAP Notes: Check for any relevant SAP notes that may address this specific error or provide updates on eSocial integration.
    • Transaction Codes: Familiarize yourself with relevant transaction codes in SAP for payroll processing and eSocial reporting, such as PC00_M01_EFD865 for generating eSocial events.

    By following these steps, you should be able to resolve the error and ensure that your payroll events are processed correctly in compliance with eSocial requirements.

    • 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