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

Read multiple user details

srinivas_anchuri
Product and Topic Expert
Product and Topic Expert
0 Likes
1,406

Hi,

I need to read the names of a set of users. I donot want to call BAPI_USER_GET_DETAIL for every user.

Is there a way I could read all the user names in a single go?

Thanks.

Srinivas.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,236

Hi Srinivas,

Sure you can: make a SELECT on table USR21 with join to ADRP on field persnumber.

Regards,

John.

4 REPLIES 4
Read only

Former Member
0 Likes
1,237

Hi Srinivas,

Sure you can: make a SELECT on table USR21 with join to ADRP on field persnumber.

Regards,

John.

Read only

0 Likes
1,236

Forgot to add this..

Even that view uses the same tables

Read only

Former Member
0 Likes
1,236

Hi Srinivas,

You can try with the function module:

<b>RH_USER_NAME_READ</b>

You need to put the user id in the table <b>user_tab</b>

and you get the relevant value in <b>user_name</b>

Regards,

Subramanian V.

Read only

0 Likes
1,236

Hi All,

Thanks for ur quick responses. I finally settled with a select from view user_addr. This is the view used by search help of user field on SU01 screen.

Thanks.

Srinivas.