<?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 Change user status in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-user-status/m-p/3566157#M858196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does any body know of any FM to change a user status on a notification or have any idea how to get this down?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Mar 2008 15:27:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-24T15:27:12Z</dc:date>
    <item>
      <title>Change user status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-user-status/m-p/3566157#M858196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does any body know of any FM to change a user status on a notification or have any idea how to get this down?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 15:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-user-status/m-p/3566157#M858196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T15:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Change user status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-user-status/m-p/3566158#M858197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;BAPI_SERVNOT_CHANGEUSRSTAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look into function Groups&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;IQS6&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&amp;gt;IQS7&lt;/P&gt;&lt;P&gt;&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;a&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 15:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-user-status/m-p/3566158#M858197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T15:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Change user status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-user-status/m-p/3566159#M858198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps you can find useful the next one: STATUS_CHANGE_EXTERN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 15:33:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-user-status/m-p/3566159#M858198</guid>
      <dc:creator>franciscojavier_carrillom</dc:creator>
      <dc:date>2008-03-24T15:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Change user status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-user-status/m-p/3566160#M858199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sheldon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've succesfully managed to change the user status by executing the &lt;/P&gt;&lt;P&gt;coding below. The possible user statuses you can find in table TJ30T.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'STATUS_CHANGE_EXTERN'
  EXPORTING
*   CHECK_ONLY                = ' '
*   CLIENT                    = SY-MANDT
    OBJNR                     = 'VB0010000249000000'
    USER_STATUS               = 'E0001'
*   SET_INACT                 = ' '
*   SET_CHGKZ                 =
*   NO_CHECK                  = ' '
* IMPORTING
*   STONR                     =
 EXCEPTIONS
   OBJECT_NOT_FOUND          = 1
   STATUS_INCONSISTENT       = 2
   STATUS_NOT_ALLOWED        = 3
   OTHERS                    = 4
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
 EXPORTING
   WAIT          = 'X'
* IMPORTING
*   RETURN        =
          .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this helped you out don't forget to reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tom.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 11:59:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-user-status/m-p/3566160#M858199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T11:59:20Z</dc:date>
    </item>
  </channel>
</rss>

