Message type: E = Error
Message class:  HRPAYDESV - Error Messages Germany Payroll, Social Insurance 
Message number: 228
Message text: Company code missing for personnel area &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 HRPAYDESV228 indicates that there is a missing company code for a specific personnel area in the Human Resources (HR) module. This error typically arises during payroll processing or when trying to access HR-related data.
Cause: The error occurs when the system cannot find a valid company code associated with the specified personnel area. This can happen due to several reasons:
Configuration Issues: The personnel area may not be properly configured in the system, or the mapping between the personnel area and the company code is missing. Data Entry Errors: There may be a typo or incorrect entry in the personnel area or company code fields. Master Data Issues: The employee master data may not be correctly maintained, leading to inconsistencies.
Solution: To resolve the HRPAYDESV228 error, you can follow these steps: Check Configuration: Go to the SAP Customizing Implementation Guide (IMG) and navigate to Personnel Management > Personnel Administration > Organizational Data > Define Personnel
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPAYDESV227 No information maintained for professionals pension organization
What causes this issue?  No information on professionals pension schemes is maintained in table T5D31.System Response  The system issues an error mess...
HRPAYDESV226 No information maintained for professionals pension organization &1
What causes this issue?  No information is maintained in table T5D31 for the professionals pension organization with number &V1&.System Respon...
HRPAYDESV229 No TemSe file was generated
What causes this issue?  The program did not generate a TemSe file because the user did not set the corresponding checkbox on the program's selec...
HRPAYDESV230 Continued pay absence is missing in period & - &
What causes this issue?  In the period &V1& - &V2&, the payroll table RT contains wage types that display a reimbursement for continue...
Click on this link to search all SAP messages.