Do you have any question about this error?
Message type: E = Error
Message class: HRPAYBR_EFD_MSGS - Message class for eSocial processing errors
Message number: 022
Message text: Employer registr.no.must also be 8 (basis CNPJ), 11 (CPF) or 14 (CNPJ).
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Rejection of the event batch.
Check whether the employer registration number informed in XML file of
the event batch is correct.
If the registration number is correct and the batch is still rejected,
inform SAP about the problem by opening an incident on component PY-BR.
Error message extract from SAP system. Copyright SAP SE.
HRPAYBR_EFD_MSGS022
- Employer registr.no.must also be 8 (basis CNPJ), 11 (CPF) or 14 (CNPJ). ?The SAP error message HRPAYBR_EFD_MSGS022 indicates that there is an issue with the format of the employer registration number (CNPJ or CPF) in the Brazilian payroll system. This error typically arises when the registration number does not meet the expected length or format requirements.
Cause:
Incorrect Length: The employer registration number must be either:
- 8 digits for CPF (Cadastro de Pessoas Físicas)
- 11 digits for CNPJ (Cadastro Nacional da Pessoa Jurídica)
- 14 digits for CNPJ (for legal entities)
If the number provided does not match these lengths, the error will occur.
Invalid Characters: The registration number may contain invalid characters (e.g., letters, special characters) instead of just numeric digits.
Missing Data: The employer registration number may not have been entered at all, or it may be missing in the relevant configuration.
Solution:
Verify the Registration Number: Check the employer registration number entered in the system. Ensure that it is:
- The correct type (CNPJ or CPF).
- The correct length (8, 11, or 14 digits).
- Composed only of numeric characters.
Update the Configuration: If the registration number is incorrect, update it in the relevant configuration settings in SAP. This can typically be done in the following areas:
- Infotype 0001 (Organizational Assignment): Check the employer's data.
- Infotype 0006 (Addresses): Ensure the address information is correct and complete.
- Customizing Settings: If necessary, check the customizing settings for payroll in the SAP system.
Consult Documentation: Refer to SAP documentation or help resources for specific instructions on how to enter and validate employer registration numbers in the Brazilian payroll module.
Testing: After making corrections, perform a test run to ensure that the error no longer appears and that the payroll processing can continue without issues.
Related Information:
If the issue persists after following these steps, it may be necessary to consult with your SAP support team or a technical consultant who specializes in SAP HR and payroll for further assistance.
Get instant SAP help. Start your 7-day free trial now.
HRPAYBR_EFD_MSGS021
Employer CPF/invalid transceiver.
What causes this issue? The CPF informed in the XML file of the event batch is not valid.System Response Rejection of the event batch.How to fix thi...
HRPAYBR_EFD_MSGS020
Employer CNPJ/invalid transceiver.
What causes this issue? The CNPJ informed in the XML file of the event batch is not valid.System Response Rejection of the event batch.How to fix th...
HRPAYBR_EFD_MSGS023
Transceiver registration number must be equal to certificate CNPJ/CPF.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYBR_EFD_MSGS024
The maximum quantity of events by batch is 50.
What causes this issue? Each batch supports up to 50 events.System Response Rejection of the event batch.How to fix this error? Check that customiz...
Click on this link to search all SAP messages.