Message type: E = Error
Message class:  HRPAYBE_SOCIAL_RISK - Social risk declaration 
Message number: 031
Message text: Enter a period that is contained in one quarter only
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 HRPAYBE_SOCIAL_RISK031 indicates that the period you are trying to enter for a payroll or reporting process is not valid because it spans more than one quarter. This error typically occurs in the context of Belgian payroll processing, where certain reports or calculations must be confined to a single quarter.
Cause: The error arises when the date range you specify for a payroll run, report, or other related process includes dates that fall into more than one quarter of the fiscal year. For example, if you attempt to enter a period from March 15 to April 15, this would span the end of Q1 and the beginning of Q2, which is not allowed.
Solution: To resolve this error, you need to ensure that the period you are entering is entirely contained within a single quarter. Here are the steps you can take: Check the Dates: Review the start and end dates you
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPAYBE_SOCIAL_RISK030 The process failed: can be due to pernr locked, authorizations...
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYBE_SOCIAL_RISK029 & & & &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYBE_SOCIAL_RISK032 The start date has to be the start date of the quarter
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYBE_SOCIAL_RISK033 The end date has to be the end date of the quarter
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.