Message type: E = Error
Message class:  HRPAYAT_0526 - Messages in Area for Master Data (Austria) IT 0526 
Message number: 407
Message text: If "Legal Basis: Code" is unequal to 99, text field must remain empty.
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_0526407 indicates that there is a validation issue related to the "Legal Basis: Code" in the payroll processing for Austria. Specifically, the error states that if the "Legal Basis: Code" is not equal to 99, then the associated text field must remain empty. This is a common issue in payroll processing where certain fields are expected to adhere to specific rules based on the values of other fields.
Cause: The error is triggered when the system detects that the "Legal Basis: Code" is set to a value other than 99, but the corresponding text field has been filled in. This violates the validation rules defined in the SAP system for payroll processing.
Solution: To resolve this error, you should follow these steps: Check the Legal Basis Code: Review the value set for the "Legal Basis: Code" in the relevant payroll infotype (e.g., IT 0014 or IT 0015). Ensure that it is
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
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_0526405 Always specify "From"/"To" for factored leave compens./leave compens.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYAT_0526408 If "Legal Basis: Code" is empty, text field must also 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...
HRPAYAT_0526411 From date cannot be later than To 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.