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

Get user list

Former Member
0 Likes
750

I wanted to get all the SAP users based on the parameter i pass. Im using BAPI BAPI_USER_GETLIST, but the problem with this BAPI, does not return the Name (First Name & Last name).

Can anyone tell me how can i get the User ID, First name & Last name from SAP?

BM

1 ACCEPTED SOLUTION
Read only

suresh_datti
Active Contributor
0 Likes
712

Did you try BAPI_USER_GET_DETAIL?

~Suresh

4 REPLIES 4
Read only

suresh_datti
Active Contributor
0 Likes
713

Did you try BAPI_USER_GET_DETAIL?

~Suresh

Read only

0 Likes
712

But I want to get the list of User ID..For example, If I pass the Last Name then i need to get the list of all USER ID, so BAPI_USER_GET_DETAIL will not help me.

BM

Read only

0 Likes
712

chk the FM <b>RH_USER_SEARCH_VIA_NAME</b> if it can help u

Read only

0 Likes
712

simply use V_USR_NAME Database view

select single * from v_usr_name into v_usr_name

where NAME_LAST = ''.

Thanks

Seshu