SAP Message 3L374 - There is no balance for this credit in the last payroll

Diagnosis
In the payroll results corresponding to the last period there is nobalance for this credit.

System Response
The system interrupts the program run.

Procedure
Check if the credit has been settled. Check also if the credit has abalance in the last payroll result.