Message type: E = Error
Message class:  HRPAYSA - Mesasge class for package PC24 
Message number: 123
Message text: Employee registered with a GOSI office &1 that is not selected
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 HRPAYSA123 typically relates to issues with the General Organization for Social Insurance (GOSI) registration for employees in the context of payroll processing in Saudi Arabia. This error indicates that an employee is registered with a GOSI office that has not been selected or configured correctly in the system.
Cause: Incorrect GOSI Office Configuration: The GOSI office associated with the employee may not be set up correctly in the SAP system. Missing GOSI Office Selection: The payroll processing run may not include the GOSI office that the employee is registered with. Data Entry Errors: There may be errors in the employee's master data, such as incorrect GOSI office codes or missing information. Integration Issues: There could be issues with the integration between the HR module and the payroll module, leading to discrepancies in GOSI office assignments.
Solution: Check Employee Master Data: Go to the employee's master data in SAP (Transaction PA30). Verify the GOSI office assigned
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPAYSA122 New GOSI applicable earning is same as previous amount
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYSA121 Period &1 is already considered as GOSI contribution period
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYSA124 The data structure in the interface of &1 is invalid for this report
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYSA125 Employee's action reason is not applicable for this report
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.