SAP Basis Components, Application Modules, Certification,  ABAP/4 Programming Books
SAP Lock Entries

If there is a sudden power failures, some of the users update entries might still be locked.

You can check or release the locked entries using transaction SM12.

You can check the lock entries of individual users or key an * at the user name to check all the users lock entries.

The lock entry list shows you the users who is locking the entry, the time when the lock was initiated, the table that was locked as well as the locked records.

If possible, asked the user to logoff first before deleting the locked.entries.

For locking individual transactions code,used SM01.  Putting a tick at the Locked columns will prevent allusers from using the transactions code.

To lock individual user goto transactionSU01.  Click the Lock/Unlock button.

To lock multiple users (ver 4.6x)

RSUSR006 - List of UsersMaster Records Locked Due to Incorrect Logon

List of all Users Locked

In 4.6x, you can used the SAP standard lock/unlockprogram EWULKUSR ortransaction EWZ5.

For 3.0x, you have to write your own ABAP program.

A sampleABAP program to Mass Lock/Unlock SAP 3.0x users.

Return to :-
SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.  The site www.gotothings.com is in no way affiliated with SAP AG.
Any unauthorised copying or mirroring is prohibited.