‎2016 Feb 09 12:23 PM
Hi
I've seen a few posts that t-code SM04 can be used to disconnect users, but I would like to disconnect users.
But I would like to disconnect a specific user from third party software, and therefore can only use BAPI's and RFC's.
Are there a BAPI that I can use to disconnect a user?
‎2016 Feb 09 12:28 PM
Hello,
You can use that fonction :
CALL FUNCTION 'TH_DELETE_USER'
regards
Thierry
‎2016 Feb 09 12:28 PM
Hello,
You can use that fonction :
CALL FUNCTION 'TH_DELETE_USER'
regards
Thierry
‎2016 Feb 09 12:43 PM
‎2016 Feb 09 1:03 PM
I notice that TH_DELETE_USER takes parameters of USER, Client and TID.
I've got the User, and Client, but how do I find the TID?
‎2016 Feb 09 1:12 PM
You can leave the default (-1) so yo do not need to set this field
‎2016 Feb 09 1:16 PM
Thanks Peter. All my user sessions stay open when executing TH_DELETE_USER. That might be the 3rd party controls that fails. Thanks for the help!!
EDIT: UserName is case sensitive and that is why it failed. With the correct case it works.
‎2016 Feb 09 1:23 PM