Message type: E = Error
Message class:  HRPAYDE_0700 - Messages for Infotype 0700 (Electronic Data Exchange) 
Message number: 040
Message text: Validity of the infotype not the same as the end of employment
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 HRPAYDE_0700040 indicates that there is a mismatch between the validity period of an infotype and the end of employment date for an employee. This typically occurs in the context of personnel administration and payroll processing when trying to maintain or process data related to an employee's infotype (such as infotype 0000 for actions, infotype 0001 for organizational assignment, etc.).
Cause: End of Employment Date: The end of employment date (usually set in infotype 0000) is earlier than the validity period of the infotype you are trying to maintain. This means that the infotype is valid beyond the employee's official end of employment. Incorrect Dates: There may be incorrect or inconsistent date entries in the infotypes that are causing the validity period to overlap incorrectly with the end of employment. Infotype Configuration: The configuration of the infotype may not allow for certain actions to be performed after the end of employment
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPAYDE_0700039 You didn't enter a date
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYDE_0700038 You need to enter a date
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYDE_0700041 Enter the employee who was given notice on &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYDE_0700042 Did the employer give written notice?
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.