Message type: E = Error
Message class:  HRPAYDEPF - Error messages for German infotype module pools: garnishment 
Message number: 021
Message text: Correspondance key &1 not intended for type &2
You have entered a correspondence key that is not planned.
Check the following points:
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
If you have entered the correct key.Error message extract from SAP system. Copyright SAP SE.
The SAP error message HRPAYDEPF021 typically occurs in the context of payroll processing within the SAP HR module. This error indicates that there is a mismatch or an issue with the correspondence key being used in the payroll process. Specifically, it suggests that the correspondence key (identified by &1) is not intended for the specified type (identified by &2).
Cause: Incorrect Correspondence Key: The correspondence key being referenced may not be valid for the type of payroll processing being executed.
Configuration Issues: There may be configuration settings in the SAP system that do not align with the expected correspondence keys for the payroll type. Data Entry Errors: There could be a mistake in the data entry where an incorrect key is being used for a specific payroll type. Missing Customization: If the system has been customized, the necessary settings for the correspondence key may not have been properly defined.
Solution: Check Configuration: Review the configuration settings for
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPAYDEPF020 & & & &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYDEPF019 Private bankruptcy: The infotype cannot be created
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYDEPF022 Garnishment/cession of wages &1 &2 dormant, change status?
What causes this issue?  You would like to add a new garnishment/cession. This new garnishment/ cession is however not the first for the personnel num...
HRPAYDEPF023 Check whether 'Dependency' field needs to be filled
What causes this issue?  If loan fees or interest on notional costs or debt are created in infotype 0113, these are calculated for an unlimited amount...
Click on this link to search all SAP messages.