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

KILL SAP SESSIONS

Former Member
0 Likes
7,514

Hi All,

Can ANy one help me /Tell me that

How to kill all the SAP Sessions progrmatically.

For more cleriance:

i will give SAP user id as input and i will run a program then if the USER ID is open then the sessions should close.

can any one help me on this,

Hi All,

Can ANy one help me /Tell me that

How to kill all the SAP Sessions progrmatically.

For more cleriance:

i will give SAP user id as input and i will run a program then if the USER ID is open then the sessions should close.

can any one help me on this,

4 REPLIES 4
Read only

Former Member
0 Likes
2,512

Hi,

You can try with,Tcode SM04 is used to kill the sessions.Select the session you want to kill then continue.

Thankz,

Aditya

Edited by: aditya on May 16, 2008 7:19 PM

Read only

0 Likes
2,512

Sorry

I want to close all sessions by a program not one session all

Read only

0 Likes
2,512

Hi,

Execute FM 'TH_DELETE_USER' passing user and client.

Hope it helps,

Chang

Read only

Former Member
0 Likes
2,512

Hi,

you can use command /nex which will close all the sessions even without prompting for logoff.

Reward points if helpful.

Thanks and Regards.