Message type: E = Error
Message class:  5V - HR: Messages for Belgium 
Message number: 313
Message text: You must enter a leaving date
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 5V313, which states "You must enter a leaving date," typically occurs in the context of personnel administration or employee management within the SAP system. This error indicates that a required field for entering a leaving date (or termination date) for an employee is missing or not filled out correctly.
Cause: Missing Leaving Date: The most common cause is that the system requires a leaving date to be entered for an employee who is being terminated or whose employment status is being changed. Incorrect Configuration: There may be configuration settings in the SAP system that require a leaving date for certain actions, such as processing a termination or changing an employee's status. Data Entry Error: The user may have overlooked entering the leaving date while processing the employee's record.
Solution: Enter Leaving Date: Navigate to the relevant employee record in the SAP system and ensure that the leaving date is entered in the
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
5V312 Do not enter a hiring date, only a leaving date
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
5V311 Enter a hiring date
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
5V314 Do not enter a leaving date
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
5V315 Do not enter any date (neither an entry date, nor a leaving date)
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.