Hello,
Please check the table T77RCF_P_STAT in E-Rec box to see if the inactive employee is listed with the date from actions infotype with X value in Inactive column. This only applies if the employee is withdrawn with future date. Did you check the NA in HRP5102, field - IS_Inactive?
Also, please check if change pointers are active in tcode BD64 in ECC box.
Regards,
Sarvesh Hasija