Skip to Content
0
May 18, 2016 at 02:23 PM

Close user sessions on all application Servers

432 Views

Hello,

i get a user list in a report:

CALL FUNCTION 'TH_USER_LIST'

TABLES

list = gi_user_list

EXCEPTIONS

auth_misssing = 1

OTHERS = 2.


So I will get the user sessions which are online on the instance where I start the report. I take also the server list with TH_SERVER_LIST and kill the users with

CALL FUNCTION 'TH_DELETE_USER'

DESTINATION gwa_server-name

EXPORTING

user = g_user

client = g_mand

EXCEPTIONS

authority_error = 1.


But if one user is only logged in an other application server he will not be killed.

Is there a solution where I can get the user list of all application servers and so I can end all the sessions? Or, is there a function module which end all sessions on all application servers?