Message type: E = Error
Message class:  HRPAYSI_EBO - eBOL 
Message number: 022
Message text: You cannot modify finished records
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 HRPAYSI_EBO022 ("You cannot modify finished records") typically occurs in the context of payroll processing or when dealing with employee master data in the SAP Human Capital Management (HCM) module. This error indicates that you are attempting to modify a record that has already been finalized or processed, which is not allowed in the system.
Cause:
Finalized Payroll Period: The payroll period for which you are trying to make changes has already been closed or finalized. Once payroll is completed, the records are locked to prevent any modifications.
Data Locking: Certain records may be locked due to data integrity rules, ensuring that finalized data remains unchanged.
Authorization Issues: The user may not have the necessary permissions to modify certain records, especially if they are marked as finalized.
Solution:
Check Payroll Status: Verify the status of the payroll period. If it is closed, you will need to reopen it if your business process allows Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPAYSI_EBO021 Do not select any line, all records in the batch will be processed
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYSI_EBO020 Select one line for manual identification
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYSI_EBO023 Enter the pers. number for manual identification
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYSI_EBO024 Pers. no. &: not active in period & - &
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.