Hi,
Create a new DSO, load it from 0PA_DSO4. The target DSO should have the key as employee number. The transformation should also have the semantic grouping as employee number.
In the transformation, apply logic that will retain only the latest record for each employee. You can take an ABAPper's help for this.
Then create your query on the new DSO.
Regards,
Suhas