Skip to Content
avatar image
Former Member

User Exit SUSR0001 and logging off a user

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 21, 2007 at 01: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

    Add comment
    10|10000 characters needed characters exceeded