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

standard table for all users

Former Member
0 Likes
1,166

Hi,

Is there any standard table where I can find only sap id and user names??

Plz give me information on this.

Thanks,

Ravindra.

Hi,

Is there any standard table where I can find only sap id and user names??

Plz give me information on this.

Thanks,

Ravindra.

6 REPLIES 6
Read only

Former Member
0 Likes
1,030

table USR01,

Read only

0 Likes
1,030

try using USR01!!

Read only

Former Member
0 Likes
1,030

Hi,

You can use FM 'HR_GET_EMPLOYEE_DATA' to get the above fields by passing PERNR and OBJID = 'P'.

Or use tables....

(PERNR) LIKE PA0000-PERNR "personnel number

(AKANAME) LIKE PA0002-RUFNM "name

(USRID) LIKE PA0105-USRID "user ID

Thanks.

If this helps you reward with points.

Message was edited by: Deepak333 k

Read only

abdul_hakim
Active Contributor
0 Likes
1,030

Hi

Use USR01.

For other user details use USR02,03,04,05...etc...

REgards,

ABdul

Read only

Former Member
0 Likes
1,030

Hi

tables starting with nameUSR will give info about sap id and user name

usr01 - User master record (runtime data)

usr02- Logon Data (Kernel-Side Use)

usr03- user address data

and soon..

go to se11 type usr* in table name area and press F4

Read only

andreas_mann3
Active Contributor
0 Likes
1,030

Hi,

try that:


  SELECT U~BNAME A~NAME_FIRST A~NAME_LAST
                         INTO  table USRTAB
               FROM  ( USR21 AS U INNER JOIN ADRP AS A
                         ON U~MANDT = A~CLIENT
                       AND  U~PERSNUMBER = A~PERSNUMBER )
        WHERE U~BNAME in ...

Andreas