‎2008 Jul 28 10:10 AM
Hi,
I need to create a program where the following will be retrieved:
(1) Application Servers available
(2) Users logged on per Application Server
(3) Transactions/sessions used by each user
In order to get the Application Server List, I used FM TH_SERVER_LIST.
Then for each destination, I call the FM CALL FUNCTION 'THUSRINFO' DESTINATION <DESTINATION> . This FM returns the complete list of users per App. Serv, but the TCODE field does not always reflect all of the Transactions accessed by the user. Is there another FM I can use where I can retrieve the Session details per user (regardless of App Server) ?
Thanks.
‎2008 Jul 28 10:31 AM
Hi There.
I would like to suggest a few,
FIND_DB_APPLICATION_SERVER
FIND_DB_APPL_SERVER_SDB
MSS_GET_ALL_APPSERVER_INFO
SISM_GET_APPLSERVER_INFOS
CNV_GET_USERS_FOR_APP_SERVER
PRGN_GET_USERS_FOR_APP_SERVER
DSVAS_FL_SEARCH_SESSIONS - search sessions according to user specified criteria
DSVAS_FL_SEND_SESSION - send a session to SAP
DSVAS_FL_SESSION_DETAILS - show details of a selected session
Hope that's usefull.
Good Luck & Regards.
Harsh Dave
‎2008 Jul 28 10:45 AM
using sm04 tcdoe u can get the detail
User/Session list for each application server
TH_USER_INFO(for how many session)
TH_WP_DETAIL_INFO64(tcode name /program name)
TH_DISPLAY_USER_LIST(thsi will help u ....)
this will help u.
Regards
Anbu
Edited by: Anbu B on Jul 28, 2008 11:47 AM
‎2008 Jul 28 11:03 AM
Hi,
TH_USER_LIST - Function module gives you logon users list.
FIND_DB_APPLICATION_SERVER - To find Application server availabe
Regards,
Rajitha.