Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HR Central Person ....is there a function module?

Former Member
0 Likes
2,174

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.

1 ACCEPTED SOLUTION
Read only

former_member209703
Active Contributor
0 Likes
1,294

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

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.

3 REPLIES 3
Read only

former_member209703
Active Contributor
0 Likes
1,295

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

Read only

Former Member
0 Likes
1,294

It may be worth trying the function module HREIC_READ_INFTY_DATA.

Read only

former_member226519
Active Contributor
0 Likes
1,294

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