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: 

Fetching Personnel number by inputting User ID

Former Member
0 Kudos
3,988

Hello,

Can anyone please guide me how to fetch a personnel number (PERNR) by giving a USER ID (this ID is used on a portal for login).

Ok, there is one way, i.e. by using PA0105 table, i can fetch, but i need to know standard class names which are used for the same purpose.

So, can you please mention names of any such Standard SAP class names used for such functionality?

Thanx

Ruchir

5 REPLIES 5

Former Member
0 Kudos
1,086

hi check this.....

i hope it is possible with the infotype 0105..

regards,

venkat

0 Kudos
1,086

Hi venkat,

thanx for your suggestion.

Ya i know that it is possible by using infotype 0105, but i need any SAP standard class name used for the same purpose.

thanx

Ruchir

ritesh_dugad2
Active Participant
0 Kudos
1,086

Not able to find the class,but you can use Function Module - RP_GET_PERNR_FROM_USERID.

0 Kudos
1,086

Hi,

Use this FM to get the details of an employee from user id.

HR_GETEMPLOYEEDATA_FROMUSER

This can be used in a report , a TCODE can be made an then the TCODE can be linked

to the ESS.

Have Fun!!

Ira!!

Former Member
0 Kudos
1,086

thanks