<?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 Workflow event while updating USR02 &amp; USH02 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933701#M1891752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a requirement to send mail notification &amp;amp; SMS (new password) to user , if user id has been locked due to failed attempts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have code to unlock user id &amp;amp; reset the password . But the requirement is to trigger this code when the USR02-UFLAG is set to 128. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me with suitable enhancement places Or workflow events (if any).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Narendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Mar 2015 13:14:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-03-23T13:14:21Z</dc:date>
    <item>
      <title>Workflow event while updating USR02 &amp; USH02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933701#M1891752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a requirement to send mail notification &amp;amp; SMS (new password) to user , if user id has been locked due to failed attempts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have code to unlock user id &amp;amp; reset the password . But the requirement is to trigger this code when the USR02-UFLAG is set to 128. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me with suitable enhancement places Or workflow events (if any).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Narendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 13:14:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933701#M1891752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-23T13:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow event while updating USR02 &amp; USH02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933702#M1891753</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;to check for standard workflow events activate the event trace, do your things and then check the event log to see if you can use any of the events (SWELS / SWEL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think they exist in this particular case, so then you have to see if there are badis you can use to trigger the event, or enhancement spots in the abap where the flag is set by the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Rob Dielemans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 14:26:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933702#M1891753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-23T14:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow event while updating USR02 &amp; USH02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933703#M1891754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try using TMG(Table Maintenance Generator) events for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 22:49:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933703#M1891754</guid>
      <dc:creator>Richa_Gupta</dc:creator>
      <dc:date>2015-03-23T22:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow event while updating USR02 &amp; USH02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933704#M1891755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have tried the option of event trace. but i have not observed any event while updating table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; And tried for BADI &amp;amp; enhancement point also. I have not observed any such option for enhancement. &lt;/P&gt;&lt;P&gt;May be, as it is being locked by system program (&lt;SPAN style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 11.1999998092651px;"&gt;SAPMSYST&lt;/SPAN&gt;) there is no such option. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest me , if there is any alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Narendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 07:12:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933704#M1891755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-24T07:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow event while updating USR02 &amp; USH02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933705#M1891756</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;Use Bussiness Object : &lt;SPAN style="color: #333333; font-size: 12px;"&gt;USER&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 08:20:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933705#M1891756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-24T08:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow event while updating USR02 &amp; USH02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933706#M1891757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Please suggest me the suitable event after save , that will get trigger from other scenarios, Like modifying (UPDATE / MODIFY stmts) table entry&amp;nbsp; by otherthan SM30 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Narendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 05:53:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933706#M1891757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-28T05:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow event while updating USR02 &amp; USH02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933707#M1891758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can know about the useful events by yourself using the transactions SWELS and SWEL.&lt;/P&gt;&lt;P&gt;Simply, switch on the event trace using SWELS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then run your process whatever you want like updating an entry or deleting an entry, etc, and save your process. Then go to SWEL and check which event of which business object is triggered there. &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;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 19:07:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933707#M1891758</guid>
      <dc:creator>Richa_Gupta</dc:creator>
      <dc:date>2015-03-30T19:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow event while updating USR02 &amp; USH02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933708#M1891759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Narendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on my understanding you are trying to unlock a user via WF after approval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no standard WF event that gets triggered when the user is locked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a subtype of&amp;nbsp; standard BOR object USER in transaction SWO1 say ZUSER and add a custom event LOCKED.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you to create a batch job that would run every night and picks up the user entries that are locked (select &lt;SPAN style="color: #333333; font-size: 12px;"&gt;USR02-UFLAG&lt;/SPAN&gt; ) and then trigger a custom event LOCKED using FM &lt;SPAN style="color: #333333; font-size: 12px;"&gt;SAP_WAPI_CREATE_EVENT . You can use the USER ID as key field.&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Make sure that you are only triggering locked event for a user when there is no existing in process WF instance for that user ID for BOR USER and Event Locked. You can check if there is an existing WF instance of user ID using &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Function Module &lt;/SPAN&gt;&lt;STRONG style="font-size: 12px; color: #333333; background: #ffffff;"&gt;'SAP_WAPI_WORKITEMS_TO_OBJECT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="3263755" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="How to create Workflow to unlock a specific user" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 03:59:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933708#M1891759</guid>
      <dc:creator>SandySingh</dc:creator>
      <dc:date>2015-03-31T03:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow event while updating USR02 &amp; USH02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933709#M1891760</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;Thanks to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not observed such events while locking user id by failed attempts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So , I have resolved it by scheduling one program to check for locked user ids , and , it will unlock &amp;amp; reset the password (random). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thasnks,&lt;/P&gt;&lt;P&gt;Narendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:44:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-event-while-updating-usr02-ush02/m-p/10933709#M1891760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-07T13:44:04Z</dc:date>
    </item>
  </channel>
</rss>

