08-21-2007 1:54 PM
Hello,
We want to allow multiple logins in our system but not from different terminal IDs. Therefore, we are using the user exit SURS0001 to check if the user is already logged in and what the terminal ID is.
If the user is already logged in from another terminal ID we want to end the current login attempt...but we just don't know how. Is there a command or function module to end the current login?
Thanks!!!
Tom
08-21-2007 2:11 PM
Take a look at the code SAP uses in transaction SM04 to terminate a session. I believe there are function modules there that could achieve what you want - Just need to make sure you kill the correct session.
Andrew