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

Retrieving User name using SAP id

Former Member
0 Likes
3,118

Hi Experts,

I want to retrieve my name using my SAP user id. Can anyone say in which table I can find.

I searched usr01,02,...06 table where I didn't get my user name. But in all session, in title bar I am getting my name. From where it may be taken.

Thanks and regards,

Venkat

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,797

Hello,

You can use any of the table and try

USER_ADDR

USR21

ADRC

ADRP

ADCP

6 REPLIES 6
Read only

GauthamV
Active Contributor
0 Likes
2,797

Use USR21 and ADR6 tables.

you can check the same here.

[Retrieving User name and id|]

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
2,797

Hi,

Check whether usr02 table helps.

Read only

Former Member
0 Likes
2,798

Hello,

You can use any of the table and try

USER_ADDR

USR21

ADRC

ADRP

ADCP

Read only

Former Member
0 Likes
2,797

Use USR21. Get USR21-PERSNUMBER and pass to ADRP-PERSNUMBER. ADRP-NAME_TEXT is the field you need.

Read only

Former Member
0 Likes
2,797

Use the FM BAPI_USER_GET_DETAIL

Read only

Former Member
0 Likes
2,797

usr21

usr02