Pages

Tuesday, 28 June 2011

How to lock or unlock users in SAP ?

This article answers the following queries :
  • What are the business requirements to lock or unlock users in SAP system?
  • How to lock or unlock users in SAP ?
  • How to change user Password in SAP?


Business requirements to lock or unlock/reset the password in SAP

1) Sometimes, users forgot the userid or password and try to login with wrong credentials. After 3 or more unsuccessful attempts, user id will get locked with the message to user "user id locked due to x unsuccessful attempts.Contact system administrator".

User complains that his user id got locked and he is not able to login. So, administrator has to unlock his user id and reset the password if required. (Please follow below procedure to do the same.)

2) When Basis team is carrying out critical activities like client refresh, support pack upgrade etc, it is recommended to lock all the users (donot lock some system users which are required by administrator) to restrict them to access the system till the activity is complete. Once the activity is complete, administrator can unlock all the earlier locked users.

How to lock or unlock users in SAP ?

Goto transaction SU01


Click on Lock icon. It displays below message and informs the current state of the user (i.e locked or unlocked currently).

If you find message like “not locked” and you would like to lock, then click on lock button in the above screen again.

On the status bar, you can see message like “User SAMPLE123 is locked”

How to unlock user id in SAP ?

Provide the user id details and Click on lock button. Currently if user id is locked, it displays following message.

Click on unlock button  to unlock the user :


Then on the status bar, it displays message like “User SAMPLE123 unlocked, if this is permitted in this system”


How to change user Password in SAP ?

Click on password button to change the password :





Provide new password twice to set the password. Once user logs in to the system providing initial password, system prompts to enter new password for security reasons











Enter your email address:


Delivered by FeedBurner

10 comments:

  1. Hi this is Anand.

    I have very much intrest to learn SAP Basis.
    Now i am learning through one of my friends.I have sap enduser ezperience in SD module.
    I want to move to SAP basis.Is any sap basis job ?.
    i am working as a sr.Process associate.
    But most of the job are related to SAP basis.
    Pls help me to get sap basis job.

    I have already 3 yrs exp in IT support[programmer and one year exp in sr.process associate.

    Thanks and Regards
    Anand.
    9710916016

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Hi Durga Prasad

    First of all lots of Thanks on maintaining such a nice use full SAP BASIS BLOG and the purpose to help others

    Sir I have an issue regarding sap* its NOT getting LOCKED in client 000

    even after maximum wrong password tries (which are set 6 in the parameter

    Where as all other user's are getting locked after maximum 6 attempts of wrong password logon

    Even tried to lock it using T-CODE SU01 it gives no such user (sap*) That I can understand it must not have it's entry in User Master Data Record its at Data base level

    I am using SAP ECC 6.0 SR2 IDES for learning and training purpose I m not expert user but learning BASIS

    All the related parameters are as below
    1. login/fails_to_user_lock = 6 (max is 99 wrong attempts). Currently have a value of 6.
    2. login/failed_user_auto_unlock (for your midnight unlocking). it is set Not to unlock after Mid Night
    3. login/no_automatic_user_sapstar Value is set to 0

    Plz if you can let me know what are the other possible settings might be affecting it to get locked

    Thanks & Regards

    Ale

    ReplyDelete
  4. Hi Durga prasad,

    Dude you are a genius peson thanks for sharing all this.

    Thanks and regards
    Ahmed.

    ReplyDelete
  5. This comment has been removed by a blog administrator.

    ReplyDelete
  6. Thank you for your kindness, efforts and your time. I have a doubt. How can I lock or unlock multiple users in one shot.

    ReplyDelete
    Replies
    1. By using SU10 TCODE you can Lock /Unlock Multiple Users

      Delete
    2. By using SU10 you can Lock /Unlock Multiple Users

      Delete
  7. Hello Durga Prasad,
    Thanks for Provind such a good study material with Snapshots...
    Keep it up....

    ReplyDelete
  8. Thanks for all the stuff dear Durga Prasad....

    Excellent and easy understanding with Snapshots...

    thanx..

    ReplyDelete

Please provide your valuable feedback: