How to unlock users in a SAP system if all of them are locked

How to unlock users in a SAP system if all of them are locked
Posted: Mar 21, 2007 10:07 AM         Reply      E-mail this post 
Hello Experts,
In any SAP System,if a user having authorizations has mistakingly locked all the users of the SAP system,then how wll we unlock those users bcoz we wont be able to logon into the SAP System. Requested to revert your valuable replies at earliest.This happened with us,how to resolve it.My Email Id is [email protected] .
Regards,
Saumya

Hello Siva And Manas,
Thanx for ur replies .
Manas: These SQL statements we hv to run at the Command Prompt level only na.......
Siva : U r telling to delete the SAP* user ,u dont mean with the System created default user SAP* rite but u mean to delete our self created SAP*/any super user rite? Secondly how to delete tat user at the database level?
Regards,
Saumya
If all the users are locked , they can only be unlocked via sql.
Actually waht happens is if the uflag field of an user in table usr02 is 0 then the user is unlocked. Different values of the uflag field in table USR02 mean:
0          User not locked
32         Locked by CUA central administrator
64         Locked by administrator
128       Locked after failed logon
Incase all the users are locked execute the following sql to unlock them
update sap<sid>.usr02   (means update sapd01.usr02 or sapq01.usr02 etc)
set uflag='0' ;
commit.;
This unlocks all the users.
update sap<sid>.usr02
set uflag='0' where bname='xxx';
commit.;
This unlocksonly the user xxx.

Similar Messages

  • How to create user groups in SAP

    Hello Gurus,
    Can anyone let me know how to create user groups in SAP-HR Module and who will be creating  the user groups.
    plz provide me the steps.

    Hi Stephanie,
    IMG --> Personnel Mgmt --> Personnel Administration --> Basic Setting s --> Maintain User Parameters
    Please refer the below links:
    http://scn.sap.com/thread/1653026
    http://scn.sap.com/thread/1682721
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10eab7af-0e54-2c10-28a5-87b47adbe1a5?QuickLink=index&overridelayout=true&44478681629499
    Thanks,
    Madhav.

  • How to setup  workplace message in SAP system

    Hi Experts,
    how to setup  workplace message in SAP system.
    when am logon SAP GUI i am getting mesage of Document workplace. ( you have one new document)
    saying that in Inbox i have 1 document.
    my client they dont want Receive that pop up message. thy want receive document but no pop up message .
    where can i do customize thia i hope there was a T-code for this.
    Thank INadvance,
    Anthyodaya.

    Hi,
      Go to transaction SBWP  and Click Distribution list and choose the list where you can find one check box send express. you just deselect the check box and save it. After that you will not receive any express note . but you will get messge to your inbox.
    Regards,
    abi

  • How to Import Transport Files to SAP System

    Hi Experts,
    I have installed BO XI R3.1 SP3 Integration tool kit for SAP Solutions with Java Connectors.Now i can able to see SAP after login into the CMC. I have installed prerequisites like SAP GUI,Xcelsius,BO XI 3.1 Enterprise.
    1)Can you please tell me how to import transport files to SAP System?So that i can connect to BW to Bo environment.I am unable to understand the process to do above task form pdf.

    Hi Venkat,
    in case you have never done that before I would suggest you talk to the basis admin person and let him do it.
    ingo

  • How to active ABAP Proxy in SAP system.

    Hi All,
         I want to work with ABAP proxies.How to active ABAP proxy in SAP system.What the configuration is needed.Is there any configuration is need in XI system to work with ABAP proxies.Please help me..
    Thanks,
    Kishan.

    Hi Kishan,
    You have to check whether ur r/3 system's(WAS 620 or above) excahnge profile has entries for integration builder.
    Pls check the Example configuration for accessing
    interfaces in the Integration Repository (exchange profile):
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/content.htm
    If the Parameters are not there u need to add in the respective section's as provided in the link.
    exchange profile URL is:
    http://r3servername:5<instance>00/exchangeProfile
    I hope this provides you a solution.
    Regards.
    Praveen

  • How to post inbound idoc in sap system?

    Dear All,
    How to post inbound Idoc in sap system?
    Regards,
    Amar
    Edited by: amar kumar on Nov 23, 2009 2:53 PM

    Hi Amar,
    Use the FM IDOC_WRITE_AND_START_INBOUND to post an inbound IDoc. Just build the EDIDD and *EDIDC8 tables and enter a profile for a inbound message type from a partner. It returns a IDoc number. Don't forget to do commit work.
    Regards
    Abhii

  • How to set user preferred timezone in OBIEE for all objects.

    How to set user preferred timezone in OBIEE for all objects based on users TZ(may be from @{session.timeZone}). without changing My Account -> Preferences

    Check
    Time Zone Specification from http://docs.oracle.com/cd/E12844_01/doc/bip.1013/e12187/T421739T481157.htm#4535403
    just in case https://blogs.oracle.com/xmlpublisher/entry/how_to_keep_your_dates_from_go

  • How to block user create personal view and select ALL VIEW?

    How to block user create personal view and select ALL VIEW?

    Hello,
    >create personal view
    To restrict creating personal view, you need to modify your existing permission level or create new one. Login with admin account to your site and open role.aspx page (http://siteurl/_layouts/role.aspx). Then click on existing permission or add new permission
    level-->and move to "Personal Permissions" section-->uncheck "Manage Personal Views - Create, change, and delete personal views of lists" option. Later you can assign this permission to all users, whom you don't want
    to allow to create.
    >and select ALL VIEW
    Since SP does not supports view level permission directly so you have to use custom solution or use below designer solution to restrict user to open any view.
    http://www.codeproject.com/Articles/433486/How-to-set-view-level-permissions-out-of-the-box-i
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Please advise how I can register my Photoshop Starter Edition when I apply I do not receive an unlock code so I am unable to continue to use the program and all my photos are locked in, please advise, thanks John

    Please advise how I can register my Photoshop Starter Edition when I apply I do not receive an unlock code so I am unable to continue to use the program and all my photos are locked in, please advise, thanks John

    Please refer to the appropriate Forum, this one is dedicated to Photoshop proper.
    Photoshop Album Starter Edition

  • I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up und one account.

    I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up under one account.

    You can have a different receiving email in the Messages app on each device : Settings > Messages > Receive At . I'm not sure that there is a different way to have the message only go to one device.

  • All my images are locked. cant unlock them. all choices are dimmed.

    all my images are locked. cant unlock them. all choices are dimmed.

    In Bridge if you select All then right click on image do you have the option to Unlock or is this grayed out?

  • I downloaded pictures to iphoto yesterday of my sister's Bat mitzvah, all of them are there except 10 of them are just caution signs. How do I fix this without losing the photos?

    I downloaded pictures to iphoto yesterday of my sister's Bat mitzvah, all of them are there except 10 of them are just caution signs. How do I fix this without losing the photos?

    The warning triangle means, that iPhoto has lost the connection between the thumbnails and the photos and cannot show them in the browser.
    Rebuild the iPhoto library to reconnect the photos. What is your iPhoto version? If it is iPhoto '11 do the following:
    Back up your iPhoto library.
    Hold down the command and option/ alt keys while double-clicking the iPhoto icon to launch iPhoto.
    Keep holding down the keys until you are seeing the FirstAid panel.
    Select "rebuild database" from the panel.
    Does that bring your photos back?
    If not, download iPhoto Library Manager and use the rebuild function.
    See Old Toad's post:
      Re: iPhoto has crashed on a number of occasions, but on 2 occasions also seems to delete several events, including the one I'm editing. When I go to reimport the last event, it shows them as already there. But I can't find them.

  • My old computer crashed so I couldnt deauthorize it, and i need to authorize my new one. how do i do it without having to deauthorize all of them and redo all of them?

    my old computer crashed so I couldnt deauthorize it, and i need to authorize my new one. how do i do it without having to deauthorize all of them and redo all of them?

    ... how do i do it without having to deauthorize all of them and redo all of them?
    This is not possible. If the old computer is unusable the only option is "deauthorize all".

  • How to implement SSO to non-SAP systems using SAP logon ticket?

    Hello,
    We would like to implement Single Sign On between our SAP Netweaver system and a Siebel which is a non-SAP system using SAP logon tickets.
    Can anyone please give me some leads on this, in particular:
    1. Is there a JAVA API or an SAP plug-in that can be implemented on the Siebel machine to extract the SAP logon ticket?
    2. As the other machine might seat on a complete different domain, is it possible to implement SAP logon ticket without using cookies (perhaps through the HTTP header?
    3. In case you think using SAP logon tickets is not the best solution here I would be happy to hear any other suggestions you might have.
    Roy

    Hi,
    I'm currently using SAML as well. Unfortunately the SAP J2EE cannot work as authority (identity provider) but what you can do is using an open implementation of SAML such as opensso which is an open version of SUNs Java System access manager.
    There are a couple of other projects such as opensaml, apache's wss4j or shibboleth that might be interesting in this context.
    I just installed opensso and got it working with SAP J2EE 7.0 using SAPs JAAS SAMLLoginModule to authenticate users within SAP J2EE.
    In this scenario opensso serves as identity provider just as you need! There are a couple of Policy agents available on SUNs Download site you can use with Apache, Tomcat, JBOSS, WebSphere, Bea Web Logic etc. in order to authenticate! Otherwise you just directly authenticate against opensso. When installing opensso you can configure the type of user store you want  to use! By default it uses LDAP but you can also use different types of user store using JDBC or other mechanisms. Since you have a Directory Service you could easily connect it to your existing directory.
    There is also a way to map user ids directly in opensso by adding a uid mapping class. I created some documentation with lots of screenshots about using opensso with SAP J2EE. You can easily use opensso with any other system that supports SAML. In the case of SAP the usage is currently limited to SAML versions 1.0 and 1.1. Version 2.0 is not yet supported but should be in one of the following versions.
    Here are some links you might want to check:
    OpenSAML: https://spaces.internet2.edu/display/OpenSAML/Home
    wss4j: http://ws.apache.org/wss4j/
    shibboleth: http://shibboleth.internet2.edu/
    opensso: https://opensso.dev.java.net/
    On SDN you will find a documentation on how to connect SUN Java System Access Manager to SAP J2EE (see https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/906d9fc6-31b9-2910-1385-90edad7d7570). As I said opensso is based on the SUN Access Manager code and looks quite the same. So you can adapt this documentation in order to configure opensso or you can just ask me for the documentation.
    Hope this is helpful...
    Let me know if you need further assistance on this topic
    Cheers

  • How to Unlock the Object in SAP Solution Manager

    Hi all,
    Iam trying to Upload the TS into Solution manager, but the Project Documentation TAB is locked by another User.So i am unable to get ADD button enable
    I dont have access to SM12 or SE03. How to Unlock this
    Regards

    This is not the right forum to ask your doubt. Post this in Solution Manager forum
    SAP Solution Manager
    Regards,
    Prateek

Maybe you are looking for

  • Adding more RAM to Intel GMA 950?

    So I've had my iMac (see bottom of post for specs) for a while now and I love everything about it, except the Intel GMA 950 intergrated graphics. It works, but as far as games go, I can hardly play Halo. It's gotten better since 10.5.6 seeing as it b

  • External mice don't function.

    HP G62 Notebook PC Windows 7 64-bit Any external mice i attach to my laptop don't function. They still show up in the driver, but the buttons do not work and it doesn't move the cursor.

  • Syncing my iPod

    OK, I'm not sure if this is the best place to ask this, but I've got to start somewhere. My issue is in trying to sync my iPod with iTunes. To try to sum it up, I originally started downloading on one computer (computer A) and now I'm trying to downl

  • Found an old back up file for my old iphone that got stolen. how do i put this onto my new iphone?

    Hi i was wondering if someone could help me out here, ive just found an old back up file on my old laptop for my old iphone and want to install it onto my new iphone to retreive the data. could someone please tell me how i move the file into itunes a

  • Using bespoke profiles in Lightroom

    I know this is an old chestnut but I wonder if anyone has yet cracked the problem of printing with bespoke profiles (Permajet, for their own ink and paper combination) in Lightroom. I use an iMac and Epson 2400. I've recently had Permajet's continuou