For separated employees
Kindly check below findings.
Find below screen shot for table HRP1001 where details of 3 employees are being displayed,
Active Employee : 21827040
Separated Employees : 21821281, 21801253
In case of active employee entry exists with relation object type “P” (i.e. Person), and same entry was missing in case of separated employees. This is reason because of which system did not get relation between employee ID (PERNR) and relational object ID. Hence system not generating pay slip for such cases.