Message type: E = Error
Message class:  HRPAYAT_MBGM - Messages for mBGM Functionality 
Message number: 021
Message text: Status for &1 mBGMs &2 set, &3 errors
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 HRPAYAT_MBGM021 typically relates to issues in the payroll processing within the SAP Human Capital Management (HCM) module, specifically concerning the management of payroll results and the processing of wage types. The message indicates that there are errors associated with the payroll results for a specific employee or group of employees.
Cause: The error message HRPAYAT_MBGM021 can be triggered by several factors, including but not limited to: Incorrect Configuration: Issues in the payroll configuration settings, such as incorrect wage type settings or payroll schema configurations. Data Inconsistencies: Inconsistencies in master data (e.g., employee master data, infotypes) or payroll results that prevent successful processing. Missing Data: Required data for payroll processing may be missing or incomplete, leading to errors. Authorization Issues: Lack of proper authorizations for the user attempting to process payroll. Technical Issues: Bugs or issues in the SAP system that may affect payroll processing.
Solution: To resolve the HRPAYAT_MBGM021 error, you can follow these steps: Check
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPAYAT_MBGM020 Limit of &1 nodes to be displayed has been reached
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYAT_MBGM018 Payroll results exist: No mBGM generated
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYAT_MBGM022 Status for mBGM on &1 : &2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYAT_MBGM031 Table &1 is locked by user &2
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.