‎2007 Oct 16 9:07 AM
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
‎2007 Oct 16 9:30 AM
‎2007 Oct 16 9:30 AM
‎2007 Oct 16 9:40 AM
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
‎2007 Oct 16 10:05 AM
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
‎2007 Oct 22 7:22 AM
Hi Nick,
As you told this function module works.....thank you.
Ramya
‎2007 Oct 16 9:41 AM
‎2007 Oct 16 9:44 AM
‎2007 Oct 16 9:56 AM
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
‎2007 Oct 16 9:59 AM
‎2007 Oct 16 9:59 AM
hi,
you can view users who have logged in and onto which client and t.code thru SM04.
‎2007 Oct 22 7:23 AM