<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: SAP* user unlock in Additional Q&amp;A</title>
    <link>https://community.sap.com/t5/additional-q-a/sap-user-unlock/qaa-p/10539542#M126898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First read this thread to understand how the SAP* works. &lt;SPAN style="font-size: 10pt;"&gt;I have already explained it before.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/3392213"&gt;http://scn.sap.com/thread/3392213&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;SQL&amp;gt; select bname,uflag,mandt from SAPXER.usr02 where bname='SAP*';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;no rows selected&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Are you sure that the schema is SAPXER ?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;I tried to delete the user from 000, but no luck.&lt;/P&gt;
&lt;P&gt;SQL&amp;gt; DELETE&amp;nbsp; FROM SAPXER.USR02 WHERE BNAME='SAP*' AND MANDT='000';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;0 rows deleted.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;No surprise. When there is no SAP* user in the database then how will a delete statement work ?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I tried with this cmd to update the SAP* user,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;SQL&amp;gt; update SAPXER.USR02 set BNAME='SAPstar' where BNAME='' and MANDT='000';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;0 rows updated.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Update cmd also doesnt work for me. When i try to find out the user in system. user SAP* doesn't exits as i mention in 1st script.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is the where clause correct ?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;Any idea how to create the user(SAP*) in all client. When ever we delete the user it is not automatically created after bouncing the system.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If there is no SAP* user present in the SAP system then you need to login to the system (either by activating the emergency SAP* user or using another user) and create the user using the Tx SU01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;RB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Jul 2014 23:42:34 GMT</pubDate>
    <dc:creator>Reagan</dc:creator>
    <dc:date>2014-07-26T23:42:34Z</dc:date>
    <item>
      <title>SAP* user unlock</title>
      <link>https://community.sap.com/t5/additional-q-a/sap-user-unlock/qaq-p/10539541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to enable the user SAP* after system refresh.&lt;/P&gt;&lt;P&gt;but strange thing in my system, i am not able to see the SAP* user in system. Below is the script i tried.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&amp;gt; select bname,uflag,mandt from SAPXER.usr02 where bname='SAP*';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no rows selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to delete the user from 000, but no luck.&lt;/P&gt;&lt;P&gt;SQL&amp;gt; DELETE&amp;nbsp; FROM SAPXER.USR02 WHERE BNAME='SAP*' AND MANDT='000';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0 rows deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with this cmd to update the SAP* user,&lt;/P&gt;&lt;P&gt;SQL&amp;gt; update SAPXER.USR02 set BNAME='SAPstar' where BNAME='' and MANDT='000';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0 rows updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update cmd also doesnt work for me. When i try to find out the user in system. user SAP* doesn't exits as i mention in 1st script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to create the user(SAP*) in all client. When ever we delete the user it is not automatically created after bouncing the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help us.. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jul 2014 20:35:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/sap-user-unlock/qaq-p/10539541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-26T20:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAP* user unlock</title>
      <link>https://community.sap.com/t5/additional-q-a/sap-user-unlock/qaa-p/10539542#M126898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First read this thread to understand how the SAP* works. &lt;SPAN style="font-size: 10pt;"&gt;I have already explained it before.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/3392213"&gt;http://scn.sap.com/thread/3392213&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;SQL&amp;gt; select bname,uflag,mandt from SAPXER.usr02 where bname='SAP*';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;no rows selected&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Are you sure that the schema is SAPXER ?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;I tried to delete the user from 000, but no luck.&lt;/P&gt;
&lt;P&gt;SQL&amp;gt; DELETE&amp;nbsp; FROM SAPXER.USR02 WHERE BNAME='SAP*' AND MANDT='000';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;0 rows deleted.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;No surprise. When there is no SAP* user in the database then how will a delete statement work ?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I tried with this cmd to update the SAP* user,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;SQL&amp;gt; update SAPXER.USR02 set BNAME='SAPstar' where BNAME='' and MANDT='000';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;0 rows updated.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Update cmd also doesnt work for me. When i try to find out the user in system. user SAP* doesn't exits as i mention in 1st script.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is the where clause correct ?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;Any idea how to create the user(SAP*) in all client. When ever we delete the user it is not automatically created after bouncing the system.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If there is no SAP* user present in the SAP system then you need to login to the system (either by activating the emergency SAP* user or using another user) and create the user using the Tx SU01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;RB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jul 2014 23:42:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/sap-user-unlock/qaa-p/10539542#M126898</guid>
      <dc:creator>Reagan</dc:creator>
      <dc:date>2014-07-26T23:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAP* user unlock</title>
      <link>https://community.sap.com/t5/additional-q-a/sap-user-unlock/qaa-p/10539543#M126899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The schema is correct only, as i mentioned system copy was performed to another host. there is no permanent license in&amp;nbsp; system to allow other user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i tried to check SAP* user in DB level user doesn't exits. can you suggest how to enable SAP* to apply license..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jul 2014 06:20:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/sap-user-unlock/qaa-p/10539543#M126899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-27T06:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAP* user unlock</title>
      <link>https://community.sap.com/t5/additional-q-a/sap-user-unlock/qaa-p/10539544#M126900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please set login/no_automatic_user_sapstar = 0 in instance profile.&lt;/P&gt;&lt;P&gt;Take SAP restart&lt;/P&gt;&lt;P&gt;Post this you can login with SAP* and password as pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like SAP* user does not exists in your system and hence the query returns 0 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepak Kori&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jul 2014 15:16:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/sap-user-unlock/qaa-p/10539544#M126900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-27T15:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAP* user unlock</title>
      <link>https://community.sap.com/t5/additional-q-a/sap-user-unlock/qaa-p/10539545#M126901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the Tcode RZ10 create a profile parameter in instance profile&lt;/P&gt;&lt;P&gt;login/no_automatic_user_sapstar&amp;nbsp; and set it to 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a system restart so that the parameter gets active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now try to delete the user&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at cmd type these commands&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;sqlplus / as sysdba&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&amp;gt;conn SAPXER/&amp;lt;your password&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&amp;gt; delete from usr02 where mandt=000 and bname='SAP*'; //you can see the user deleted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&amp;gt; commit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now login to 000 using&amp;nbsp; SAP* and password pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The query you mentioned at the start &lt;STRONG&gt;select bname,uflag,mandt from SAPXER.usr02 where bname='SAP*';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;will not work as it has no MANDT in that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 17:17:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/sap-user-unlock/qaa-p/10539545#M126901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-31T17:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAP* user unlock</title>
      <link>https://community.sap.com/t5/additional-q-a/sap-user-unlock/qaa-p/10539546#M126902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI: If you delete the user SAP* it will automatically create the user and the password will be ''pass".(provided you set the profile parameter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you don't want to delete the SAP* user and activate the user with the same master password which you provide during installation go with this query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;update usr02 set uflag=0 where bname='SAP*' and mandt=&amp;lt;your_client_number&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the significance of uflag as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UFLAG Value Status&lt;/P&gt;&lt;P&gt;0 User not locked&lt;/P&gt;&lt;P&gt;32 Locked by CUA central administrator&lt;/P&gt;&lt;P&gt;64 Locked by administrator&lt;/P&gt;&lt;P&gt;128 Locked after failed logon&lt;/P&gt;&lt;P&gt;192 Locked by administrator + Locked after failed logon&lt;/P&gt;&lt;P&gt;96 Locked by CUA central administrator + Locked after failed logon&lt;/P&gt;&lt;P&gt;160 Locked by CUA central administrator + Locked after failed logon&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 10:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/sap-user-unlock/qaa-p/10539546#M126902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-01T10:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAP* user unlock</title>
      <link>https://community.sap.com/t5/additional-q-a/sap-user-unlock/qaa-p/10539547#M126903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Subba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to reset the "SAP*" user, you need to perform the following steps (on that same order):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Execute the following SQL command at the database (notice that you need to adjust the "mandt=..." parameter):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete from usr02 where mandt='&amp;lt;client&amp;gt;' and bname='SAP*';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Set the profile parameter "login/no_automatic_user_sapstar = 0" and restart SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then logon as "SAP*" with one of the default passwords (the password will be either "06071992" or "PASS" - all in uppercase letters).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to remove the parameter from point #2 and restart SAP again, once you don't need to use the SAP* user anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Isaías&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 16:05:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/sap-user-unlock/qaa-p/10539547#M126903</guid>
      <dc:creator>Isaias_SAP</dc:creator>
      <dc:date>2014-09-11T16:05:22Z</dc:date>
    </item>
  </channel>
</rss>

