Message type: E = Error
Message class:  HRPAYAT_ELDA - Messages for ELDA File Creation 
Message number: 021
Message text: PRE-RUN record typing error at DTRNR &1 SI institute &2 SI body &3
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message HRPAYAT_ELDA021 indicates a pre-run record typing error related to the DTRNR (Data Transfer Number), SI institute, and SI body. This error typically occurs during the processing of payroll data, particularly when generating or processing data for social insurance (SI) in the context of payroll accounting.
Cause: Data Entry Errors: The error may arise from incorrect or incomplete data entries in the payroll master data or infotypes related to social insurance.
Configuration Issues: There may be issues with the configuration of the social insurance settings in the SAP system, such as incorrect mapping of SI institutes or bodies. Missing or Incorrect Records: The records for the specified DTRNR, SI institute, or SI body may be missing or incorrectly defined in the system. Version Mismatch: If there are updates or changes in the payroll schema or related programs, it may lead to inconsistencies in the data being processed.
Solution: Check Data Entries: Review the payroll
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPAYAT_ELDA020 CLOSING record write error for DTRNR &1 SI agency &2 SI ins. &3
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYAT_ELDA019 PRE-RUN record incorrect, RetCode &1 DTRNR &2 SI ins. &3 SI body &4
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYAT_ELDA022 Missing file information for DTRNR &1 &2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYAT_ELDA023 Data medium number &1 already exists in &2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.