Application Development 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: 

Get PERNR from UNAME

Former Member
0 Kudos
255

Hello Experts,

I am currently writing a program to list all users of a role and their current position. I need to find a way to get PERNR given a username to eventually obtain the position number. Any help would be appreciated.

Thanks,

Nicole

1 ACCEPTED SOLUTION

Former Member
0 Kudos
81

Hi Nicole,

This depends on the how user ID are maintained in your system.

You may get the perner using Infotype 0105. There you have field USRID which is the user ID. Using this you can get the PERNR and once you got the PERNR you can get all the details Using different Infotypes.

Regards,

Atish

1 REPLY 1

Former Member
0 Kudos
82

Hi Nicole,

This depends on the how user ID are maintained in your system.

You may get the perner using Infotype 0105. There you have field USRID which is the user ID. Using this you can get the PERNR and once you got the PERNR you can get all the details Using different Infotypes.

Regards,

Atish