05-19-2009 6:03 PM
Hello All,
We are looking for a solution that allow us kicking users out from BSP sessions on determined time of the night when we have a process that runs and sometime it faling because some users sessions remains active. today we have to check on SM04 to see what users are running and kick who is on BPS out before the process starts. Someone has some ideas how to automate this process - without manually intervention each time?
Thank you so much in advance,
05-20-2009 8:52 AM
Hi Leti,
for instance by using FM THUSRINFO to get the list of users actually logged in, and kick them out by using FM TH_DELETE_USER.
b.rgds,
Bernhard
05-19-2009 6:48 PM
I suspect your fastest option is to show an ABAPer what you do manually now and ask him/her to write a little program that can be scheduled and automatically does the same.....
05-20-2009 8:52 AM
Hi Leti,
for instance by using FM THUSRINFO to get the list of users actually logged in, and kick them out by using FM TH_DELETE_USER.
b.rgds,
Bernhard
05-23-2009 7:50 PM
Take note that SM04 is application server specific. Perhaps you should rather take a look at AL08 coding to find the users on all app servers.
For users who have not just left their PC's running but are infact working, this process is always a bit rude.
Perhaps there is another way to run your process without disrupting them? If it is "just" a background job program, perhaps you can isolate it on a specific application server?
If it is a performance issue caused by many (small) jobsteps bottle-necking the work processes, then there is also a different solution for this.
Could you supply more details?
Cheers,
Julius