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

Request: Function Module - Get PERNR from UserID

Former Member
0 Likes
981

Hi,

Is a simple Function Module available for getting the PERNR from a UserID?

For example, I'll send the FM the UserID and will get back the relevant PERNR.

Please Help.

Thanks,

John

3 REPLIES 3
Read only

Former Member
0 Likes
742

Does this FM 'BAPI_USER_GET_DETAIL' work for you.

Read only

former_member156446
Active Contributor
0 Likes
742

Hi John

check:

CATSXT_GET_USER_ID_OF_PERNR

or

HR_USER_PERNR_CUT

Read only

0 Likes
678

Just as a warning: HR_USER_PERNR_CUT does not just RETRIEVE data. It actually deleted/sets end-dates etc. With default settings as listed during calling the function, the user's enddate will be set.