How To Fix HRPAYBR_EFD877 - Close the payroll of the company code &1 to resend the reopening.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYBR_EFD - Message class EFD-Social

  • Message number: 877

  • Message text: Close the payroll of the company code &1 to resend the reopening.

  • Show details Hide details
  • What causes this issue?

    You want to resend the reopening event of periodic events, but the
    payroll period has still not been closed in the eSocial.

    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 and send the closing event of the periodic events. After the
    closing event being accepted in the Federal Government database,
    generate and resend the reopening event of the periodic events.

    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_EFD877 - Close the payroll of the company code &1 to resend the reopening. ?

    The SAP error message HRPAYBR_EFD877 typically occurs in the context of Brazilian payroll processing. This error indicates that the payroll for a specific company code has not been closed, which is necessary to resend the reopening of payroll data.

    Cause:

    The error arises when you attempt to resend payroll data (for example, after making corrections or adjustments) without first closing the payroll for the specified company code. In Brazil, payroll processing involves several steps, and closing the payroll is essential to ensure that the data is finalized and can be reported correctly.

    Solution:

    To resolve this error, you need to follow these steps:

    1. Close the Payroll:

      • Navigate to the payroll processing transaction in SAP (usually through the transaction code PC00_M01_CEDT or similar).
      • Ensure that the payroll for the specified company code (&1) is closed. This typically involves running the payroll closing process for the relevant period.
    2. Check Payroll Status:

      • Verify the status of the payroll for the company code. You can do this by checking the payroll results or using reports that show the payroll status.
    3. Reopen if Necessary:

      • If you need to make changes after closing the payroll, you may need to reopen the payroll for that period. This can usually be done through the payroll transaction or specific configuration settings.
    4. Resend the Data:

      • Once the payroll is closed (or reopened if necessary), you can proceed to resend the payroll data as required.

    Related Information:

    • Transaction Codes:

      • PC00_M01_CEDT: This transaction is often used for payroll processing in Brazil.
      • PC00_M01_CALC: This transaction is used for running payroll calculations.
    • Documentation:

      • Refer to SAP Help documentation specific to Brazilian payroll for detailed steps on closing and reopening payroll periods.
    • Consulting with SAP Support:

      • If you continue to face issues, consider reaching out to SAP support or your internal SAP team for assistance, as they may have specific insights into your configuration and setup.
    • Testing in a Development Environment:

      • If possible, test the process in a development or sandbox environment to ensure that you understand the steps and that they work as expected before applying them in the production environment.

    By following these steps, you should be able to resolve the HRPAYBR_EFD877 error and successfully manage your payroll processing in SAP.

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author