<?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>topic Re: user lock in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337485#M1033221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; You can also use function module "SUSR_USER_LOCK" to lock users and "SUSR_USER_UNLOCK" to unlock.&lt;/P&gt;&lt;P&gt;You should use BAPI_USER_LOCK and BAPI_USER_UNLOCK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; A custom development with these two function module is also a good option.&lt;/P&gt;&lt;P&gt;See transaction &lt;STRONG&gt;BAPI&lt;/STRONG&gt; (Basis =&amp;gt; Security).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; By the way, why you want a hard way out when you have the SAP's easy way out. ("without using SU10") ?&lt;/P&gt;&lt;P&gt;You might want to take a more granular control of the locking / unlocking (e.g. the user type... in addition to the user group) than what SU10 offers. Or possibly, you don't want to lock users for whom the account validity is not (yet) valid. You can code those requirements into your custom application, before you call the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Aug 2008 19:36:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-29T19:36:58Z</dc:date>
    <item>
      <title>user lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337476#M1033212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                       How can we lock all users leaving the standard users like DDIC SAP* EARLYWATCH and SAPCPIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         without using SU10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;kavitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 07:34:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337476#M1033212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T07:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: user lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337477#M1033213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why "without using SU10"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 07:36:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337477#M1033213</guid>
      <dc:creator>jurjen_heeck</dc:creator>
      <dc:date>2008-08-29T07:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: user lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337478#M1033214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kavitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to se38----&amp;gt; enter EWULKUSR and execute&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then click on choose user, check the users you don't want to lock and then save it,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after saving, click on lock users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will lock all the users that u have not selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternative,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run tcode EWZ5, it will take you on same screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 07:39:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337478#M1033214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T07:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: user lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337479#M1033215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kavitha,&lt;/P&gt;&lt;P&gt;There is one more way to lock the users by using USR02 table.&lt;/P&gt;&lt;P&gt;In USR02 table , u can update the UFLAG field which indicated , whether the user is locked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0          User not locked&lt;/P&gt;&lt;P&gt;32 (Hex 20) Locked by CUA central administrator&lt;/P&gt;&lt;P&gt;64 (Hex 40) Locked by administrator&lt;/P&gt;&lt;P&gt;128 (Hex 80) Locked after failed logon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you update the same field for all standard users in table.&lt;/P&gt;&lt;P&gt;Then use get locked automatically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 07:52:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337479#M1033215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T07:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: user lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337480#M1033216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;In USR02 table , u can update the UFLAG field which indicated , whether the user is locked.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sneha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think it correct to directly manually update an SAP standard table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 08:12:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337480#M1033216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T08:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: user lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337481#M1033217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...looking forward to the next audit.....&lt;/P&gt;&lt;P&gt;Have fun....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 08:26:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337481#M1033217</guid>
      <dc:creator>Bernhard_SAP</dc:creator>
      <dc:date>2008-08-29T08:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: user lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337482#M1033218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can hear chanting and the sound of coconuts being knocked against each other... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 11:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337482#M1033218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T11:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: user lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337483#M1033219</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;Just adding some more to this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use function module "SUSR_USER_LOCK" to lock users and "SUSR_USER_UNLOCK" to unlock.&lt;/P&gt;&lt;P&gt;A custom development with these two function module is also a good option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, why you want a hard way out when you have the SAP's easy way out. ("without using SU10") ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Zaheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 18:42:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337483#M1033219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T18:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: user lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337484#M1033220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; ...looking forward to the next audit.....&lt;/P&gt;&lt;P&gt;&amp;gt; Have fun....&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yups, i agree with Bernhard, direct updates in SAP tables is not a good practice, specially when you have audit folks running around.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 18:44:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337484#M1033220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T18:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: user lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337485#M1033221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; You can also use function module "SUSR_USER_LOCK" to lock users and "SUSR_USER_UNLOCK" to unlock.&lt;/P&gt;&lt;P&gt;You should use BAPI_USER_LOCK and BAPI_USER_UNLOCK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; A custom development with these two function module is also a good option.&lt;/P&gt;&lt;P&gt;See transaction &lt;STRONG&gt;BAPI&lt;/STRONG&gt; (Basis =&amp;gt; Security).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; By the way, why you want a hard way out when you have the SAP's easy way out. ("without using SU10") ?&lt;/P&gt;&lt;P&gt;You might want to take a more granular control of the locking / unlocking (e.g. the user type... in addition to the user group) than what SU10 offers. Or possibly, you don't want to lock users for whom the account validity is not (yet) valid. You can code those requirements into your custom application, before you call the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 19:36:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337485#M1033221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T19:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: user lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337486#M1033222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agreed. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We also have a custom program built to have all IDs locked in system except standard SAP IDs and couple of support team IDs for regular system maintenance activities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It all depends on what Kavitha is looking for..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Zaheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 20:05:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337486#M1033222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T20:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: user lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337487#M1033223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Thanks for all your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; but my doubt was , if we have some 5000 users in that case, i think it will be a bit hard to do it from SU10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so does SUSR_USER_LOCK and BAPI_USER_LOCK only locks USERS leaving the sap standard users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;kavitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Aug 2008 06:18:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337487#M1033223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-30T06:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: user lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337488#M1033224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The BAPI's will do exactly that which you tell them to do, if this is correct and you are authorized to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you can select all users of type dialog from known "end user" user groups into an internal table (see function module BAPI_USER_GET_LIST) and then lock all users in the internal table (perhaps after explicitly deleting DDIC, SAP* and yourself from the internal table - just to be safe).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also a blog and some posts here with more information about BAPI's for user administration by &lt;SPAN __jive_macro_name="user" id="91"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Aug 2008 07:37:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-lock/m-p/4337488#M1033224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-30T07:37:15Z</dc:date>
    </item>
  </channel>
</rss>

