2011 Sep 28 4:25 PM
Hi...first time posting.
I am writing a code where I need to pull all ID's associated with single pernr. Idea is that if this pernr is status 0 there might be other associating pernr that is status 3 so that first does not get kicked out. My employee has Central Person ID which is also tied to another pernr. I hope that there is FM or some way other then manually coding selections from IT709 and looping (reading p0000 for status) to get valid record. I hope I am clear.
Thanks.
2011 Sep 28 5:07 PM
Hi
As far as I konw BP_CENTRALPERSON_GET gives you that information based on the OM data.
There's a relationship between the employee number (PERNR) and the Central Person (CP) and it is maintained in HRP1001, this FM gives you that information, altough I'm not sure if this link is present for those personel numbers with status 0 (Withdrawn)
For more info on this, check the HCM forum ==>
Best Regards
2011 Sep 28 5:07 PM
Hi
As far as I konw BP_CENTRALPERSON_GET gives you that information based on the OM data.
There's a relationship between the employee number (PERNR) and the Central Person (CP) and it is maintained in HRP1001, this FM gives you that information, altough I'm not sure if this link is present for those personel numbers with status 0 (Withdrawn)
For more info on this, check the HCM forum ==>
Best Regards
2011 Sep 29 10:10 AM
It may be worth trying the function module HREIC_READ_INFTY_DATA.
2011 Sep 29 2:32 PM
in a report you should use logical database PNPCE.
see documentation of report SAPDBPNPCE.
GET PERSON provides a internal table with the CP and all realted PERNRs