Message type: E = Error
Message class:  HRPAYSA - Mesasge class for package PC24 
Message number: 171
Message text: Update operation only permits status 1 rather than &1
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 HRPAYSA171 indicates that an update operation is being attempted on a payroll-related object, but the current status of that object does not allow for the update. Specifically, the message states that the operation only permits status 1, but the object is currently in a different status (indicated by &1).
Cause: This error typically occurs in the context of payroll processing in SAP HR (Human Resources) when: An attempt is made to update payroll results or related data that is not in the correct status for the operation being performed. The payroll results may be in a status that is locked or finalized, preventing further updates. The status of the payroll run or the employee's payroll data may not be set to allow modifications.
Solution: To resolve this error, you can take the following steps: Check the Status: Verify the current status of the payroll results or the object you are trying to update. You
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPAYSA170 Work for &1 from &2 to &3 already applied
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYSA158 Study score will be deleted
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYSA172 Infotype Update Successful
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYSA173 Automatic Retro-accounting activated; Use processing mode 'After Payroll'
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.