Message type: E = Error
Message class:  HRCALCOREPORT - Messages for payroll reports (CO) 
Message number: 031
Message text: There already exists a batch input generated for this year's results
The system has detected that a batch input data set with Income Tax
results has been generated for this fiscal year.
This new execution of the report has generated a new batch input data
set with Income Tax results for the same fiscal year.
Check which results must create a record in the infotype 0015 and
execute the corresponding batch input data set accordingly.
If the  batch input data set that has already been generated was
executed beforehand and must be corrected, erase the corresponding
record generated in the infotype 0015 and execute the new batch input
data set.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message HRCALCOREPORT031 indicates that there is already a batch input session created for the current year's results in the context of HR (Human Resources) payroll processing or reporting. This typically occurs when you attempt to generate a new batch input session for payroll results that have already been processed for the current year.
Cause: Duplicate Batch Input Session: The error is triggered because the system detects that a batch input session for the same year already exists. This can happen if: A previous attempt to generate the batch input session was made but not completed. The batch input session was created but not processed or was left in a status that prevents new sessions from being created. System Configuration: There may be specific configurations or settings in the HR module that restrict the creation of multiple batch input sessions for the same year.
Solution: Check Existing Batch Input Sessions: Go to transaction code SM37 (Job
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRCALCOREPORT030 Cluster result A2 for year &1 and sequence no. &2 could not be read
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRCALCOREPORT029 Creation date for wage type &1 after a leaving date &2
What causes this issue?  The selected employee is absent. The wage type creation date in the infotype (0015) is later than  the employee's absenc...
HRCALCOREPORT032 The function ( Form &1 / Program &2 ) could not be executed
What causes this issue?  The system has tried to execute form &1 of program &2 to perform the tax calculation but has been unable to do so. Th...
HRCALCOREPORT033 The tax calculation function has not saved the wage type &1
What causes this issue?  The Income Tax calculation function has not sent a final Income Tax result for the paid fiscal year. This could be due to the...
Click on this link to search all SAP messages.