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: 

User Login ID

former_member300754
Participant
0 Kudos
125

Dear all,

how i know what user id logging on to SAP. i want to show the list for each user which each user might get a specific list. i mean different user, different list.

at the time he/she logs to SAP, the report gets the user login id. Pls describe me how to know the user login id.

Thanks in advance,

Peerasit

1 ACCEPTED SOLUTION

Former Member
0 Kudos
81

Hi, use the system field sy-uname.

5 REPLIES 5

Former Member
0 Kudos
82

Hi, use the system field sy-uname.

Former Member
0 Kudos
81

You can use the system varibale SY-UNAME in your program.

This variavble contains the SAP Login Id.

0 Kudos
81

hi,

i have one more question, how can i know the authorization of the user login id?

Thanks in advance,

Peerasit

0 Kudos
81

hi,

use USR04 table.

Former Member
0 Kudos
81

You can find their roles and authotizations in SU01 transaction