Search this blog for other interesting articles

Saturday 2 July 2011

How to terminate a user session in SAP?


This article answers the following queries :
  •     How to terminate a user session in SAP ?
  •     How to kill or terminate a process in SAP ?
  •     How to log off a user either locally or system-wide in SAP ?

 Sometimes  there will be a requirement to terminate a user session.
For example: An user has run a report or program with inappropriate selection criteria, which leads work process going to PRIV mode occupying so much memory impacting performance of the system. In those cases, you will have to check with the user and terminate his session or logoff user system wide if he is no longer working.
To terminate a user from the system either locally or system wide :
Go to SM04 transaction. Select the user to be terminated. In the below example am terminating user TEST from the system.













Go to User -> Log off user -> Local   (To log off user from this instance alone)
Go to User -> Log off user -> System-Wide (To log off user from all the instances of the system)


How to terminate a process in SAP ?
If you would like to terminate a particular process of a user which is impacting a system proceed as follows :
Go to SM50 and identify the process and highlight the same. Go to Process -> Cancel without core and execute the same.



System prompts you to confirm the deletion of process.



Click on Yes to confirm the termination. System terminates the process and prompts a message on the screen confirming the same as below




Please note in the above scenario, a process can be terminated through “Process -> Cancel with core” option also but in this case core file will get generated regarding the same








Enter your email address:


Delivered by FeedBurner



5 comments:

Unknown said...

how to create a mass users

DurgaPrasad said...

Using SU10 transaction..it can be done.

Pls go through below link:

http://sapbasisdurgaprasad.blogspot.com/2011/06/how-to-lock-or-unlock-multiple-users-in.html

Prasad D. said...

Hello Durgaprasad,

While creating Mass User IDs with SU10, system will create user ids but with random passwords. How can we provide End Users passwords for 100+ user ids ? For 10 - 20 User IDs its okk but what about 100+ user ids ? Is there any file get created for those random passwords ?

Regards,
Prasad D

JT666 said...

best way to assign one inital password for multiple users is via eCATT or customer program using FM BAPI_USER_CHANGE

Unknown said...

Hi,can you explain in detail what does cancel with/without core mean? Also, where do core files get generated?

Search this blog for other interesting articles

Please subscribe & activate link received to your email id to receive latest articles

Enter your email address:

Delivered by FeedBurner