SAP Message 5F524 - No data has been entered in table T5F42

Diagnosis
The employee's contract type has been determined using theHR_FR_GET_CONTRACT function module.
This employee's contract has not been entered in table T5F42.

Procedure
In the contract management table (T5F42), enter your employee's contracttype.