On P&F i'm trying to fetch all IT21 records for an employee. This works fine for almost every employee.
When it comes to employees from US or Canada, the records from IT21 are associated with records from IT106.
The problem is:
For example, when an employee has more than one divorced spouse (subtype 10), each one have a different objps (object id).
This causes a dump when the process is initialized.
The exception is raised on MODIFY_SECONDARY_RECORD of CL_HRPA_INFOTYPE_CONTAINER (this method is called on the adapter of SAP_PA).
I already checked the consistency between records from IT21 and IT106 an they are fine.
Anyone had a similar problem? Any suggestion?