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: 

Username from userid

Former Member
0 Kudos

Hi,

How can we get Username from userid...

Foe eg: userid : xyz01

username : Dhananjay Patil.

Pls help.

1 ACCEPTED SOLUTION

former_member194152
Contributor
0 Kudos

Hi,

You can use view 'USER_ADDR' to find username from userid.

Rewards if helpful.

Regards

Gagan

5 REPLIES 5

Former Member
0 Kudos

register in : sdn.sap.com

Former Member
0 Kudos

use table zbpa_user_cache....

former_member194152
Contributor
0 Kudos

Hi,

You can use view 'USER_ADDR' to find username from userid.

Rewards if helpful.

Regards

Gagan

Former Member
0 Kudos

Hi Dhananjay,

Use <b>BAPI_USER_GET_DETAIL</b> function module to get the user name for an user id.

Give your user id to this function module and you will get your name and details in ADDRESS parameter.

Thanks,

Vinay

former_member386202
Active Contributor
0 Kudos

Hi,

Check table USR01 User master record (runtime data)

Regards,

Prashant