How To Fix HRPAYBR_EFD858 - Error in the creation of the XML generation class for event type &1


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYBR_EFD - Message class EFD-Social

  • Message number: 858

  • Message text: Error in the creation of the XML generation class for event type &1

  • Show details Hide details
  • What causes this issue?

    While sending an eSocial event, the system was not able to create a XML
    generation class instance specified in the customizing activity
    <DS:SIMG.PAY_BR_EFD01>Set event types</> for the event type &v1&.

    System Response

    The event was not sent.

    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.

    INCLUDE NA_SYSADMIN1 OBJECT DOKU ID TX LANGUAGE EN

    Procedure for System Administrators

    Check the concerned XML generation class for any syntax error.
    Make sure that the concerned XML generation class implements the
    interface IF_HRPAYBR_EFDF_XML_GEN.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message HRPAYBR_EFD858 - Error in the creation of the XML generation class for event type &1 ?

    The SAP error message HRPAYBR_EFD858 typically occurs in the context of the Brazilian payroll module when there is an issue with the generation of XML files for the EFD (Escrituração Fiscal Digital) reporting. This error indicates that there is a problem in creating the XML generation class for a specific event type.

    Cause:

    1. Configuration Issues: The event type specified in the error message may not be properly configured in the system.
    2. Missing or Incorrect Data: There may be missing or incorrect data in the infotypes related to the payroll or the specific event type.
    3. Custom Code Issues: If there are custom enhancements or modifications in the payroll processing, they may interfere with the standard XML generation process.
    4. Authorization Issues: The user executing the process may not have the necessary authorizations to access the required data or execute the XML generation.
    5. System Bugs: There may be bugs in the SAP version being used that affect the XML generation process.

    Solution:

    1. Check Configuration: Verify the configuration settings for the event type in the SAP system. Ensure that all necessary parameters are correctly set up.
    2. Review Data: Check the relevant infotypes for the employee(s) involved in the event. Ensure that all required fields are filled out correctly.
    3. Debugging: If you have access to the ABAP development environment, you can debug the XML generation process to identify where the error occurs.
    4. Check Authorizations: Ensure that the user has the necessary authorizations to perform the operation. You may need to consult with your security team.
    5. SAP Notes: Check the SAP Support Portal for any relevant SAP Notes that may address this specific error. There may be patches or updates available that resolve the issue.
    6. Consult Documentation: Review the documentation related to the EFD reporting and XML generation for any additional configuration or setup steps that may have been missed.
    7. Contact SAP Support: If the issue persists after trying the above solutions, consider reaching out to SAP Support for further assistance.

    Related Information:

    • EFD Reporting: The EFD is a digital bookkeeping system in Brazil that requires companies to report various tax and payroll information to the government.
    • XML Generation: The XML files generated are used for compliance with Brazilian tax regulations, and any issues in their creation can lead to compliance risks.
    • SAP HR Module: This error is specific to the SAP HR module, particularly in the context of Brazilian payroll processing.

    By following the above steps, you should be able to identify and resolve the issue related to the HRPAYBR_EFD858 error message.

    • 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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker