Message type: E = Error
Message class:  HRPAYAT_0526 - Messages in Area for Master Data (Austria) IT 0526 
Message number: 405
Message text: Always specify "From"/"To" for factored leave compens./leave compens.
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 HRPAYAT_0526405 indicates that when processing leave compensation or factored leave compensation, the system requires the specification of both "From" and "To" dates. This error typically arises in the context of payroll processing or leave management within the SAP Human Capital Management (HCM) module.
Cause: The error occurs when the payroll or leave processing function is invoked without providing the necessary date range for the leave compensation. The system needs these dates to calculate the leave entitlements accurately and to ensure that the compensation is applied correctly for the specified period.
Solution: To resolve this error, you should ensure that the "From" and "To" dates are specified in the relevant payroll or leave compensation transaction. Here are the steps you can take: Check the Input Data: Review the input data for the payroll run or leave compensation entry. Ensure that both the "From" and "To" dates are filled in correctly. Review Configuration: If
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPAYAT_0526404 Always enter both pay in lieu of notice from and pay in lieu of notice to
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYAT_0526403 For "Work Relationship Was Ended": Enter end date
What causes this issue?  You have selected the <LS>Work Relationship Was Ended</> field, but you have not entered the date on which the wo...
HRPAYAT_0526406 Legal Basis: Code=99 requires "Legal Basis: Text"
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYAT_0526407 If "Legal Basis: Code" is unequal to 99, text field must remain empty.
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.