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: 

table for userid and person name

Former Member
0 Kudos
15,492

Hi,

I want a table in which I can find two fields user id and person name.

can any body plz help me in this??

Thanks,

Satish.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
3,153

I think that table is USR21 & ADRP.

you can get the followings.

1) system variable SY-UNAME is sap's user id.

2) SELECT persnumber from USR21 WHERE bname = sy-uname.

3) SELECT name_first,name_middle,name_last,name_text from ADRP where persnumber = usr21-persnumber.

Good Luck..

4 REPLIES 4

former_member188685
Active Contributor
0 Kudos
3,153

Hi Satish,

USR03 will have userid and username

Former Member
0 Kudos
3,153

HI

use these table for infos about user

<b>USR01 User master record (runtime data)

USR02 Logon Data (Kernel-Side Use)

USR03 User address data

USR04 User master authorizations

USR05 User Master Parameter ID

USR06 Additional Data per User </b>

Former Member
0 Kudos
3,154

I think that table is USR21 & ADRP.

you can get the followings.

1) system variable SY-UNAME is sap's user id.

2) SELECT persnumber from USR21 WHERE bname = sy-uname.

3) SELECT name_first,name_middle,name_last,name_text from ADRP where persnumber = usr21-persnumber.

Good Luck..

0 Kudos
3,153

hi

use the following

USR01 User master record (runtime data)

USR02 Logon Data (Kernel-Side Use)

USR03 User address data

USR04 User master authorizations

USR05 User Master Parameter ID

USR06 Additional Data per User

and USR21 and adrp!!

plz reward points if it helped and close the thread!!

Regards,

Gunjan