How to reset SAP*

I  need to remove the SAP* from client 000. Password has been forgotten and account is locked. I searched the forum and web and found some procedures but the do not seem to work on SQL 2005 for ECC5. Does anybody has a working solution? The login/no_automatic_user_sapstar is set to 0.
I found a message that I should run"SELECT * FROM USR02 WHERE BNAME='SAP*' AND MANDT='000'" as a SQL query. But I get an error that object USR02 is not known.
Thanks!

Try this:
SELECT * FROM SAPR3.USR02 WHERE BNAME='SAP*' AND MANDT='000' if
you've upgraded this system from an older release or
SELECT * FROM SAP<SID>.USR02 WHERE BNAME='SAP*' AND MANDT='000' where <SID> is the SID of your datebase.
The query is correct, but you need to observe the schema owner as well.
To remove the user.
DELETE FROM SAP<SID>/SAPR3.USR02 WHERE BNAME='SAP*' AND MANDT='000';
This will 'reset' the password to pass, but NOT remove the lock.
Are you unable to get into client 000 at all? Can you use DDIC? Do you have another user ID that can make the change in SU01? It'll be cleaner this way.
Cheers,
Tim

Similar Messages

  • Reset SAP* user in DB2 database

    hi gurus,
    Can anyone give me instructions or commands on how to reset sap* password in the database level? we are using db2 ver. 9 database. I am familiar how it is being done in oracle but one of our client is using DB2 and there, we encountered the problem.
    Pls. advise.
    Best regards,
    Jay

    Hi
    First make sure that the parameter
    <b>login/no_automatic_user_sapstar is set to 0 (false)</b>
    otherwise you will not be able to login using SAP* by the default password "<b>pass</b>". So make this sure before carrying out the following activity:
    Log on to the database with userid <b>ora<sid></b> and
    execute the following SQL:
    <b>delete from sap<SID>.usr02 where bname='sap*' and mandt='XXX';</b>
    <b>commit;</b>
    Once this is done check the entry again in the table usr02.
    Now try to log into the corresopnding client with user "<b>sap*</b>" and password "<b>pass</b>".
    This is how you can reset SAP* user at the database level.
    Regards,
    Sumit

  • Reset SAP GUI passwords for number of users one time

    Dear,
    i need your help in how to Reset SAP GUI passwords for number of users one time, as we have non-SAP users, only ESS users that they are currently using Portal ESS, but we need to reset thier GUI passwords so that they will not be accessing the GUI.
    we need to do it one shot, one time for more than 600 users.
    is there any way?
    thank you

    You can also create an ABAP program which can be used to do a mass user password change.
    Here are the functions that will do what you need
    SUSR_GENERATE_PASSWORD - Generates a Password. Use this function only if you want to do random passwords. Otherwise you can upload your own password.
    BAPI_USER_CHANGE - You can use this BAPI to change just the password of a user
    Here is an example of some abap code. There may be some syntax errors and possible other issues. I just typed this out and didnt check it. You upload a comma delimited file which is the username,password. If the password field is blank the program will generate its own. Hope this helps
    constants: con_comma TYPE c VALUE ','.
    data: it_tab TYPE filetable,
    gd_subrc TYPE i,
    v_filename_string TYPE string,
    p_npass like XU400-NEWCODE.
    DATA: BEGIN OF itab OCCURS 0,
    dLine(40) type c,
    END OF itab.
    DATA: begin of it_Users occurs 0,
    UserID like BAPIBNAME-BAPIBNAME,
    Password Like XUBCODE,
    end of it_Users.
    parameters: p_file like rlgrap-filename default 'c:\users.txt' LOWER CASE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    *& FILE_OPEN_DIALOG METHOD *
    CALL METHOD cl_gui_frontend_services=>file_open_dialog
    EXPORTING
    window_title = 'Select File'
    default_filename = '*.txt'
    multiselection = ' '
    CHANGING
    file_table = it_tab
    rc = gd_subrc.
    LOOP AT it_tab INTO p_file.
    ENDLOOP.
    v_filename_string = p_file.
    START-OF-SELECTION.
    *& GUI_UPLOAD function *
    Upload file to internal table
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = v_filename_string
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = 'X'
    TABLES
    DATA_TAB = ITAB
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_READ_ERROR = 2
    NO_BATCH = 3
    GUI_REFUSE_FILETRANSFER = 4
    INVALID_TYPE = 5
    NO_AUTHORITY = 6
    UNKNOWN_ERROR = 7
    BAD_DATA_FORMAT = 8
    HEADER_NOT_ALLOWED = 9
    SEPARATOR_NOT_ALLOWED = 10
    HEADER_TOO_LONG = 11
    UNKNOWN_DP_ERROR = 12
    ACCESS_DENIED = 13
    DP_OUT_OF_MEMORY = 14
    DISK_FULL = 15
    DP_TIMEOUT = 16
    OTHERS = 17.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Loop through internal table and split the comma delimited file
    LOOP AT ITAB.
    SPLIT ITAB-dLINE AT con_comma INTO it_Users-UserID
    it_Users-Password.
    APPEND it_Users.
    ENDLOOP.
    LOOP AT it_Users.
    if it_users-Password is initial.
    CALL FUNCTION 'SUSR_GENERATE_PASSWORD'
    IMPORTING
    PASSWORD = p_npass
    else.
    p_npass = it_users-Password.
    endif.
    CALL FUNCTION 'BAPI_USER_CHANGE'
    EXPORTING
    USERNAME = it_users-userid
    PASSWORD = p_npass
    PASSWORDX = 'X'
    TABLES
    RETURN = it_ret2.
    Loop at it_ret2.
    if it_ret2-number = 039.
    write: / 'password changed'.
    else.
    write: / it_ret2-message.
    endif.
    endloop.
    Write: / ''.
    refresh it_ret2.
    ENDLOOP.

  • Reset SAP GUI passwords for number of users

    Dear,
    i need your help in how to Reset SAP GUI passwords for number of users one time, as we have non-SAP users, only ESS users that they are currently using Portal ESS, but we need to reset thier GUI passwords so that they will not be accessing the GUI.
    we need to do it one shot, one time for more than 600 users.
    is there any way?
    thank you

    Hi ,
    We can do it through the LSMW.
    <b>Reminder : Points should be given on answers.</b>

  • How to reset password for user sap*

    Hi friends,
    How to reset password for user sap*  if any solution please mail me.
    Thanks,
    Yogesh

    Hi,
    <b><u>Steps for Reset SAP* Password</u></b>
    If you forgot or lock "Administrator or J2EE_ADMIN" password just follow below steps:
    STEP-1: Enable "SAP*"
    1.Start the Config Tool C:\usr\sap\<SID>\<engine-instance>\j2ee\configtool\configtool.bat
    Ex: D:\usr\sap\F02\JC00\j2ee\configtool --> configtool.bat
    2.Goto cluster-data --> Global server configuration --> services --> com.sap.security.core.ume.service
    3.Double-click on the property "ume.superadmin.activated = TRUE"
    4.Double-click on the property "ume.superadmin.password=<Enter any password ex: abc123>"
    5.Save.
    6.Restart the engine.
    STEP-2: Login with "SAP*" into portal
    1. http://<host>:<Port>/useradmin/index.jsp
    2. Enter userid / password as" SAP* / <password ex: abc123>"
    3. Search for "Administrator" user
    4. Reset or change password for "Administrtor"
    STEP-3: Disable "SAP*"
    1.Start the Config Tool C:\usr\sap\<SID>\<engine-instance>\j2ee\configtool\configtool.bat
    Ex: D:\usr\sap\F02\JC00\j2ee\configtool --> configtool.bat
    2.Goto cluster-data --> Global server configuration --> services --> com.sap.security.core.ume.service
    3.Double-click on the property "ume.superadmin.activated = FALSE"
    4.Save.
    5. Restart the engine.
    STEP-4: Login with "Administrator"
    1. http://<host>:<Port>/useradmin/index.jsp
    2. Enter userid / Password as "Administrator / <password>
    3. it will ask change password just change it.
    Please follow steps one by one. it should resolve your issue.
    Thanks,
    Nagaraju Parlapalli

  • How to enable SAP* this user again ?

    Dear Experts,
    We are losing SAP*'s password in our sap4.7 system . and then we update the table record by following sql command :
    update sapxxx.usr02 set bname = 'SAPBK' where mandt = 000 and bname = 'SAP' ;
    commit ;
    Of course , we changed the sap* password to 'PASS' sucessfully . But when we update the record again , we found that the SAP*'s password still being 'PASS' whatever we try to use 'SU01' to reset or update the sqlcommand again and again ....
    Has someone can tell me how to restore SAP* this user to 'normal' status ? Many thanks ....
    Best Regards,
    Carlos Zhang

    Hi!
    Delete SAP* from usr02 table
    delete from sapxxx.usr02 where mandt = 000 and bname = 'SAP*' ;
              commit ;
         2. Go to T code SU01 in 000 client and create user SAP* and make it copy of user DDIC.
      Regards,
    Vaibhav

  • How to reset the military usage value in GTS Business partner

    Hello Experts,
    Does anyone know how to reset the Military usage value='2' to blank on the Business partner within GTS?
    I tried putting a blank there, clicking on the accept entries button followed by  saving the Business partner.
    It does not seem to work this way.
    Does anyone know if it's SAP bug for not having blank as one of the allowable values for the usage except when it's that way while newly created?
    The GTS implementation details are as follows:
    Any help with regard to this will be much appreciated......
    Thanks,
    Prashant.

    Prashant,
    As I already informed you, it is not possible to re-set the indicator to <blank>.
    From the program code, I can see that the usage indicator is only transferred from the feeder system during the creation of a customer partner.  The value in GTS is set either to '1' or '2' during creation, and cannot be changed by any subsequent data transfer from the feeder system.
    I think that logic is related to the fact that usage records may be created for multiple Legal Regulations, and those records may then be changed individually by the user in GTS.  On that basis, it would not be reasonable to over-write the values by re-transferring the customer from the feeder system.
    Regards,
    Dave

  • How to reset automatic payment (F110)

    Hello SAP Gurus,
    can anyone tell me how to reset automatic payment? or how to remove/delete the payment request?
    needed badly.
    thanks!
    Edited by: nanz ruiz on Apr 1, 2009 4:17 AM

    Go to F110 menu item Edit- payment - delete or proposal - delete.
    regs,
    ramesh b

  • How to reset the Calculate_tax_item function module

    Hi expert,
    I am using calculate_tax_item function module for calculating tax for purchase order in item wise. If the purchase order having only one item means its showing result correctly...but if the purchase order having two item means it takes 1st item also after i refreshed that internal table... i don't know how to reset that function module but option is there to reset...its not working after i gave reset = 'X'. Guide me to solve this issue...
    Regards,
    Rathish

    Hi,
    Refer the below link
    http://wiki.sdn.sap.com/wiki/display/Snippets/FunctionModuletoCalculateTaxinPurchaseorderbasedoncondition+type

  • How to reset master password?

    Hi Experts,
    I have installed NW CE 7.1 and NWDS 7.1. It got installed successfully. During installation it asked me for the master password that will be used for all users. I have provided the password as "password1". But now it is not working for any of the users when I try to login. I tried with users "j2ee_admin" and "SAP*".
    Please help me to figure out what could be the problem. Or how to reset the password.
    Thanks in advance.
    JK

    Hi JK,
       Try user 'administrator' and your password.
    O.

  • HOw to reset the buffers

    Hi Firends
    When i am in T-code ST02 all buffers and swap space is overflow how to reset the buffers without restart the instance
    Regards
    Vishal

    Hi!
    Write the following string into your sap transaction field: /$sync
    This will reset all buffers.
    Regards
    Tamá

  • How to parameterize SAP PO Performance Monitoring

    Hello,
    we have upgraded our SAP PI 7.1 to SAP PO 7.4 (Java Only). Now I ‘d like to parameterize the Message Performance Monitoring. I cannot find the parameter to change the amount of days in which the performance data is available. It seems that the default value is set to 7 days, but I can’t find the parameter to be changed. Please advise how to reset the parameter.
    Thanks for your support.
    kind regards
    Daniel

    Hey Leela,
    thanks for your advice. But unfortunately this isn’t the value Im looking for. The parameter “xiadapter.inbound.persistDuration.default” only define that messages and their payload are available for this amount of milliseconds.
    I’m searching for the parameter to change the number of days I can display in the performance monitoring. For example I can check the performance data from the 1.12.2014 until the 8.12.2014. On the 9.12.2014 the aggregated data are lost.
    Which parameter I have to change to get a higher amount of aggregated performance data. Because I want to see performance data from the 1.12.2014 one month later not only one week.
    I have added a Screenshot from my performance monitoring. In this view I only can see the performance data from the last 7 days (aggregate into days). I want to see the last 31 days in this view.
    Thanks for advice

  • How do reset the password in Local NetwearAdministartor (NWA)

    Hi
    I have to logon local NetwearAdministartor , password is Locked
    Please , How do reset the password in Local NetwearAdministarator(NWA)
    Thanks
    Srini

    Hello Srini,
    Please have a look at this wiki page that should give you the steps http://wiki.sdn.sap.com/wiki/display/EP/ToResetAdministratorPasswordthroughConfigTool
    Regards
    Mark

  • How to reset or restart an erronous import

    I use SPAM to import a support package.
    However, it generate an error and lock the SPAM transaction.
    So I delete the lock.
    however, after I delete the lock, even the system does not show the message that "SPAM is locked by xyz" I am still not able to do edit/load another package.
    Please tell me how to reset SPAM and how can I restart the import.
    Thanks
    Giang

    Hello,
    You can NOT reset or edit the SPAM queue if the last SPAM import has passed DDIC_Import phase. You have 2 choices:
    1. Report it to SAP through OSS message. We have an internal tool to reset the queue but it's not released to the general public.
    2. Continue the SPAm import without changing the queue;
    Best Regards,
    Joseph

  • How to Reset Password of Client 800 in SQL server2005 of IDES Ecc6.0

    Dear All,
    how to Reset Password in SQL server of Client 800 IDES Ecc6.0.
    & what will be its password.
    with best regards.
    Ishtiaq

    Hi
    Simple logic we have sap* and ddic as default users if you are unable to login to client 800 with any of the user then you need to delete the user sap* from database level so that it will be recreated again and you can login as sap* and password as pass here is the procedure
    login to ora<sid>
    execute the sql statement
    delete from usr02.sapr3 where bname = 'SAP*' and mandt = '800';
    commit;
    sapr3 is your schema id
    You also need to check parameter login/no_automatic_user_sapstar is set to 0 so you can logon as SAP* password pass
    If the parameter doesn't exist then maintain in instance profile
    /usr/sap/SID/SYS/profiles/SID_DVEBMGS00_Host
    Unfortunately you'll need a system restart to enable and disable the parameter
    You can also refer to below links
    http://www.sap-img.com/basis/changing-the-default-password-for-sap-user.htm
    http://www.sap-basis-abap.com/bc/forgot-password-for-user-id-sap-in-client-000.htm
    Let me know if you need more help
    Regards
    Uday

Maybe you are looking for

  • Problem with DATE in Interactive Report

    Hello, In Interactive Report when I click on the header of any column with DATE datatype, nothing happens due to Javascript error: Line: 2 Char: 14838 Error: Expected identifier, string or number Code: 0 Click on any other column works perfectly as w

  • How to withdraw a wrong open and save of a structured fm file in unstructured mode?

    I opened a structured fm file wrongly in unstructured mode and saved it. When I opened this fm file again in structured mode, the structure view has been blank. Does anyone no how to withdraw this?

  • Inventory Balance Report

    Hello, Does anyone know a standard SAP report that shows inventory balance of material as of a certain date? For example, right now we are at 5/26/09, I would like to know my inventory balance as of 4/30/09. Thanks in advance for your help. Best rega

  • When exporting QT from FCP, getting distorted frame size

    When I export say a 720*486 movie using Export, QT conversion, I get a file that says it is 720*486 but in parenthesis it says its 853*480 and the image looks distorted. But, if i then bring it back into FCP it looks correct. Explanation and is there

  • Moving exposure slider Lightroom 5 causes losing sharpness in pictures.

    I'm working with (RAW files form 5dmk2) Lightroom 5 on OS X (i5 .2.6 gHz 16 GB RAM Intel HD Graphic 4000, NEC PA 271W display 27') . In Develop module moving exposure slider for a short moment causes loss of sharpnes in pictures, it's really annoying