How To: Lock a User Account in SAP
As a security administrator in SAP, you’ll often need to lock user accounts for employees that have left the organization or no longer need access. The transaction code (t-code) you’ll use for this is SU01. Follow these steps.
Login to SAP
Enter the User name of the account you wish to lock. If you do not know the user account, use the search bubble to the right of the User textbox to search for the account based on name and other data.

Press the Enter key. This should fill out the Alias field if the account is found.
A new window will appear stating that the account is not locked

The SAP user account will be locked and you will return to SU01 with a message stating the account was locked in the status bar.
This will lock an SAP user account and the user will no longer have access to the system. It will also remove the fee for a license for this user.
Social Links
Thank you for taking the time to read this post. We hope you've enjoyed the
content here. Please feel free to use the links below to share this post with others.