Message type: E = Error
Message class:  HRPSGB_LG - HR GB PS Messages for Local Government 
Message number: 005
Message text: A Return Year MUST be entered
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 HRPSGB_LG005: A Return Year MUST be entered typically occurs in the context of payroll processing or reporting in the SAP Human Capital Management (HCM) module, particularly when dealing with statutory returns or reports that require a specific year to be specified.
Cause: This error usually arises when a user attempts to generate a report or process payroll without specifying the required return year. The return year is essential for the system to know which year's data it should be processing or reporting on. This can happen in various scenarios, such as: Generating tax returns or payroll reports. Running year-end processing. Attempting to access historical payroll data without specifying the year.
Solution: To resolve this error, you should ensure that the return year is specified in the relevant transaction or report. Here are the steps you can take: Check Input Fields: When you are in the transaction or report screen, look for a field labeled
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPSGB_LG004 Run Number &1 does not exist
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPSGB_LG003 Snapshot Date CANNOT be before 01.04.1999
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPSGB_LG006 A Snapshot Date MUST be entered
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPSGB_LG007 A Run Number to re-run MUST be entered
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.