Message type: E = Error
Message class:  HRPAY99_HR_PAYROLL - Messages for the environment of HR_PAYROLL 
Message number: 006
Message text: The personnel number is missing
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 HRPAY99_HR_PAYROLL006 indicates that a personnel number is missing in the payroll processing. This error typically occurs when the system is trying to execute payroll for an employee, but it cannot find the required personnel number associated with that employee.
Cause: Missing Personnel Number: The most common cause is that the personnel number has not been entered or is not available in the system for the employee in question. Incorrect Data Entry: There may have been an error in data entry, leading to the personnel number not being saved correctly. Data Migration Issues: If data was migrated from another system, there may have been issues during the migration process that resulted in missing personnel numbers. Employee Status: The employee may not be active or may have been terminated, leading to the absence of a valid personnel number for payroll processing.
Solution: Check Employee Master Data: Verify that the employee's master data is complete and
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPAY99_HR_PAYROLL005 Not all the copied infotype records belong to one infotype number
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAY99_HR_PAYROLL004 Not all the copied infotype records belong to one personnel number
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAY99_HR_PAYROLL007 The infotype number is missing
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAY99_HR_PAYROLL010 You do not have authorization for transaction &1
What causes this issue?  The authorization check is performed using the BAdI HRPAY00_B_AUTH_TCODE.System Response  The authorization is not granted.Ho...
Click on this link to search all SAP messages.