How To Fix HRPAYBR_EFD217 - Fill in the name of the training supervisor in BAdI HRPAYBR_EFD_EEWNER.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYBR_EFD - Message class EFD-Social

  • Message number: 217

  • Message text: Fill in the name of the training supervisor in BAdI HRPAYBR_EFD_EEWNER.

  • Show details Hide details
  • What causes this issue?

    The employee is a trainee, but the name of the supervisor for the
    training has not been filled in.

    System Response

    The name of the CPF responsible for supervising the trainee has been
    filled in, and thus the name of the supervisor becomes mandatory. Since
    the name of the supervisor has not been filled in, the system has not
    generated the event.

    How to fix this error?

    INCLUDE NA_SYSADMIN1 OBJECT DOKU ID TX

    Procedure for System Administrators

    Fill in the <DS:SIMG.HRPAYBR_EFD_EEWNER>BAdI: eSocial - Employee with no
    employment relationship</>.

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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message HRPAYBR_EFD217 - Fill in the name of the training supervisor in BAdI HRPAYBR_EFD_EEWNER. ?

    The SAP error message HRPAYBR_EFD217 indicates that there is a missing entry for the training supervisor in the BAdI (Business Add-In) HRPAYBR_EFD_EEWNER. This error typically arises in the context of Brazilian payroll processing, particularly when generating the EFD (Escrituração Fiscal Digital) file, which is a digital tax reporting requirement in Brazil.

    Cause:

    The error occurs because the system expects the name of the training supervisor to be filled in, but it is either missing or not properly configured in the relevant infotype or BAdI implementation. This can happen due to:

    1. Incomplete Data: The employee's training supervisor information is not maintained in the system.
    2. BAdI Implementation: The BAdI HRPAYBR_EFD_EEWNER may not be correctly implemented or activated, leading to the absence of necessary data.
    3. Configuration Issues: There may be issues in the configuration of the payroll or EFD reporting settings.

    Solution:

    To resolve the HRPAYBR_EFD217 error, you can take the following steps:

    1. Check Employee Data:

      • Go to the relevant infotype (e.g., Infotype 0001 - Organizational Assignment) for the employee and ensure that the training supervisor's name is filled in correctly.
      • If the training supervisor is not assigned, you need to add this information.
    2. Review BAdI Implementation:

      • Check if the BAdI HRPAYBR_EFD_EEWNER is implemented in your system. You can do this by navigating to transaction SE19 (BAdI Implementation).
      • If it is not implemented, you may need to create an implementation that correctly populates the training supervisor's name.
    3. Consult Documentation:

      • Review the SAP documentation or notes related to the BAdI and EFD reporting to ensure that all necessary configurations are in place.
    4. Testing:

      • After making the necessary changes, perform a test run of the payroll process or EFD generation to ensure that the error no longer occurs.
    5. Seek Help from SAP Support:

      • If the issue persists after checking the above points, consider reaching out to SAP support for further assistance.

    Related Information:

    • BAdI HRPAYBR_EFD_EEWNER: This BAdI is specifically designed for handling EFD-related data in Brazilian payroll. It allows for custom logic to be implemented for populating fields required in the EFD file.
    • EFD Reporting: The EFD is a mandatory digital tax reporting system in Brazil that requires accurate payroll and tax information. Ensuring that all required fields are populated correctly is crucial for compliance.
    • Infotypes: Familiarize yourself with the relevant infotypes in SAP HR that pertain to employee data, especially those related to organizational assignments and training.

    By following these steps, you should be able to resolve the HRPAYBR_EFD217 error and ensure that the training supervisor's name is correctly populated in the EFD reporting process.

    • 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