SAP Message 53640 - No maternity protection absence records for personnel number &1

Diagnosis
To be able to create the statement of earnings to calculate maternitypay, an absence due to maternity must exist.
This absence does not exist.

Procedure
Please check the Absences infotype (2001) for your employee.