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

Function module to find the current logged in users

Former Member
0 Likes
4,821

Hi all,

My requirement is to send mail with some information to the quality program account who are logged in currently.....for that which function module should i use

to get the details of logged in users,in that particular system.Please let me know as soon as possible ,its ugrent.If possible sent me the coding.

Thanks and Regards,

Ramya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,147

Please give me reward points...

10 REPLIES 10
Read only

Former Member
0 Likes
3,148

Please give me reward points...

Read only

0 Likes
3,147

Hi Murali,

Ya i already tried with that function module....but im not clear with that function module.....there we are exporting the list....but where we import the users....and also i need the usesr id....not user name.

Thanks and Regards,

Ramya

Read only

0 Likes
3,147

Hi Ramya,

The function module TH_USER_LIST mention in the thread found by Murali seems an exact fit to your requirement.

The function module returns a table of user information in USRLIST, including the user id in field BNAME. The table LIST can be ignored.

Regards,

Nick

Read only

0 Likes
3,147

Hi Nick,

As you told this function module works.....thank you.

Ramya

Read only

Former Member
0 Likes
3,147

Hi

APAR_EBPP_GET_USER_LOGIN_INFO

Read only

0 Likes
3,147

Hi Naresh,

This function module does not exist.

Read only

0 Likes
3,147

Hi

Try this code:

DATA:             TH_OPCODE(1) TYPE X.
DATA:             USRS_INFO TYPE TABLE OF UINFO.
CONSTANTS: OPCODE_LIST LIKE TH_OPCODE VALUE 2.

CALL 'ThUsrInfo' ID 'OPCODE' FIELD OPCODE_LIST
                 ID 'TAB'    FIELD  USRS_INFO-*SYS*.
LOOP AT USRS_INFO.
ENDLOOP.

Max

Read only

0 Likes
3,147

Hi

for RFC login

SUSR_GET_ADMIN_USER_LOGIN_INFO

Read only

Former Member
0 Likes
3,147

hi,

you can view users who have logged in and onto which client and t.code thru SM04.

Read only

Former Member
0 Likes
3,147

Hi Murali,

Ur view is right...this works.Thank you.