I need to fetch the currently assigned PERNR(Personnel Number) for an external person ID irrespective of the PERNR status.
I have tried with FM 'CRIF_GET_EMPLOYEE_FOR_USER' and method 'CL_HRTMC_CP_BASIC_UTILITIES=>CONVERT_IDS' but both were not helpful.
these are helpful only when the PERNR is ACTIVE.
But if the CURRENT ASSIGNED PERNR is inactive/withdrawn, I need to fetch that PERNR.
Please help me here.
Many Thanks in Advance,