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

User/Session list for each application server

Former Member
0 Likes
2,343

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.

3 REPLIES 3
Read only

Former Member
0 Likes
1,001

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

Read only

Former Member
0 Likes
1,001

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

Read only

Former Member
0 Likes
1,001

Hi,

TH_USER_LIST - Function module gives you logon users list.

FIND_DB_APPLICATION_SERVER - To find Application server availabe

Regards,

Rajitha.