Do you have any question about this error?
Message type: E = Error
Message class: 5M - Error Messages for Denmark
Message number: 582
Message text: Both the leaving date/key must be either filled out or empty
You have only filled out one of the fields 'Hiring Date' and 'Hiring
Key'. However, you must fill out both fields.
Processing is interrupted until the error has been corrected.
Fill out both fields or leave both fields empty.
Error message extract from SAP system. Copyright SAP SE.
5M582
- Both the leaving date/key must be either filled out or empty ?The SAP error message 5M582, which states "Both the leaving date/key must be either filled out or empty," typically occurs in the context of personnel administration or employee master data management. This error indicates that there is an inconsistency in the data entry for an employee's leaving date or key. Specifically, it means that either both fields should be filled out or both should be left empty.
Cause:
- Inconsistent Data Entry: The leaving date and leaving key (or reason for leaving) are not both filled in or both left blank. For example, if you have entered a leaving date but have not specified a leaving key, or vice versa, this error will occur.
- Data Validation Rules: SAP has built-in validation rules that enforce data integrity. This error is a result of those rules being triggered due to the inconsistent state of the fields.
Solution:
To resolve this error, you should ensure that both fields are either filled out or left empty. Here are the steps to do this:
- Check the Fields: Go to the relevant transaction (e.g., PA30 for maintaining HR master data) and check the employee record.
- Fill Out or Clear Fields:
- If you have a leaving date, make sure to also enter a corresponding leaving key.
- If you do not have a leaving date, ensure that the leaving key is also blank.
- Save Changes: After making the necessary adjustments, save the changes to the employee record.
Related Information:
If the issue persists after following these steps, it may be beneficial to consult with your SAP HR module administrator or technical support for further assistance.
Get instant SAP help. Start your 7-day free trial now.
5M581
Both the hiring date/key must be either filled or empty
What causes this issue? You have only filled out one of the fields 'Hiring Date' and 'Hiring Key'. However, you must fill out bot...
5M580
The 'leaving' key was specified without marking the action as leaving
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
5M583
Only fill out the fields for regular or special payroll runs
What causes this issue? You have specified a payroll period in which both fields from regular payroll (payroll period and year) and fields from speci...
5M584
Specify the payroll period that should be used
What causes this issue? You have not specified a payroll period (either regular or special) , for which the data is relevant.System Response The sys...
Click on this link to search all SAP messages.