Dear Rogi,
It will generate correctly try for an employee and check which is the method you are going to use whether PT_QtA00 or PT60.
I tried using PT_QTA00 it worked but make sure you give correct period (Start date and End date) For e.g assume and employee was hired on 01.01.2013 then start date would be 01.01.2013 and end date would be 31.12.2015 and the for the second start date would be 01.01.2016 and end date would be 31.12.2018.
Hope this solves your issue.
Regards,
Mithun K