<?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 user logout functionality for multiple users. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102594#M103846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Problem arises that the user does not log out of SAP when&lt;/P&gt;&lt;P&gt;he leaves for home and the next user of the next shift cannot use the same transaction since the previous user has a lock on it. We are looking for a logout user functionality that can be used for one-to-&lt;/P&gt;&lt;P&gt;many users. We have developed a custom function that will log the user out of SAP and this was based on SM04 'delete user' functionality. The problem we are running into is that we are getting a pop-up dialog box&lt;/P&gt;&lt;P&gt;with the message of 'SAP SYSTEM MESSAGE: Session was deleted by system administrator'. The issue is that this dialog box comes up for every user we logout and it would require an action of hitting the 'enter'&lt;/P&gt;&lt;P&gt;key to remove the dialog box. So if we logout 10 users, we are getting 10 dialog boxes.&lt;/P&gt;&lt;P&gt;As stated we are re-using SM04 functionality, in particular fm TH_DELETE_USER. I believe the dialog box is from the system call statement:&lt;/P&gt;&lt;P&gt;'call 'ThUsrInfo' id 'OPCODE' field opcode_delete_usr id 'TID' field usr_tabl-tid.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is how can we suppress the dialog box from displaying? Is there another method you can recommend for logging out users in the background?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have turned off the time-out logout feature and so this is not an option.&lt;/P&gt;&lt;P&gt;We are on 4.6B release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help/suggestion you can provide would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anna-Liza Sanchez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2005 12:39:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-06T12:39:14Z</dc:date>
    <item>
      <title>user logout functionality for multiple users.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102594#M103846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Problem arises that the user does not log out of SAP when&lt;/P&gt;&lt;P&gt;he leaves for home and the next user of the next shift cannot use the same transaction since the previous user has a lock on it. We are looking for a logout user functionality that can be used for one-to-&lt;/P&gt;&lt;P&gt;many users. We have developed a custom function that will log the user out of SAP and this was based on SM04 'delete user' functionality. The problem we are running into is that we are getting a pop-up dialog box&lt;/P&gt;&lt;P&gt;with the message of 'SAP SYSTEM MESSAGE: Session was deleted by system administrator'. The issue is that this dialog box comes up for every user we logout and it would require an action of hitting the 'enter'&lt;/P&gt;&lt;P&gt;key to remove the dialog box. So if we logout 10 users, we are getting 10 dialog boxes.&lt;/P&gt;&lt;P&gt;As stated we are re-using SM04 functionality, in particular fm TH_DELETE_USER. I believe the dialog box is from the system call statement:&lt;/P&gt;&lt;P&gt;'call 'ThUsrInfo' id 'OPCODE' field opcode_delete_usr id 'TID' field usr_tabl-tid.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is how can we suppress the dialog box from displaying? Is there another method you can recommend for logging out users in the background?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have turned off the time-out logout feature and so this is not an option.&lt;/P&gt;&lt;P&gt;We are on 4.6B release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help/suggestion you can provide would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anna-Liza Sanchez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2005 12:39:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102594#M103846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-06T12:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: user logout functionality for multiple users.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102595#M103847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Just you can insert the code &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;"SUPPRESS DAILOG."&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;. May be insert the code after the function module where you will be getting that dailog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this Helps YOU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Reward Points If It Helps YOU.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2005 12:43:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102595#M103847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-06T12:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: user logout functionality for multiple users.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102596#M103848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using LMBP_RESOURCE_LOGOFF...It may be helpful. If so, award.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2005 12:44:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102596#M103848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-06T12:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: user logout functionality for multiple users.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102597#M103849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understand the problem description, there's going to be one user (or a few of them) who will have the authorization to delete the other users from the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when a user is deleted using the Function Module TH_DELETE_USER, the pop-up message that you're talking about will appear for the user who has been deleted. Not for the person who is deleting the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you are getting what I'm trying to say.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get back to me if the problem persists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2005 13:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102597#M103849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-06T13:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: user logout functionality for multiple users.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102598#M103850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Raghav&lt;/P&gt;&lt;P&gt;Unfortunately, 'Suppress Dialog' did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Ramesh&lt;/P&gt;&lt;P&gt;Can you provide more details about 'LMBP_RESOURCE_LOGOFF' ?  Is this a system function call?  If so, who can I logoff a specific user id?  I am connecting via RFC since we know the userid for the person we need to logout.  Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anna-Liza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2005 13:07:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102598#M103850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-06T13:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: user logout functionality for multiple users.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102599#M103851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;- Suppress Dialog is for SCREEN, not system popup,&lt;/P&gt;&lt;P&gt;- I believe the fm LMBP_RESOURCE_LOGOFF is not for log out of SAP;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't suppress that popup because it's actived by system function (and you can't or shoudln't change it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I can't understand your problem because this popup is for deleted user and not for deleting user (as Anand Mandalika said).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: max bianchi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2005 13:13:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102599#M103851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-06T13:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: user logout functionality for multiple users.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102600#M103852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you are correct.  But the problem is that users share workstations (we are in manufacturing and in the warehouse have a shared console).  Therefore, if I logout the user, next user sharing the console will see the pop-up, which could lead to confusion.  And so, I looking for either the ability to suppress the dialog box or a different method in logging out users from the system.  Have any suggestions?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anna-Liza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2005 13:15:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102600#M103852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-06T13:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: user logout functionality for multiple users.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102601#M103853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Max,&lt;/P&gt;&lt;P&gt;The deleted user was based out of SM04 functionality.  It is when you delete a user session.  When you delete all of the sessions for the user, then you effectively logout the user from the system and the pop-up is displayed.  My goal is to logout the user and could not find a different way than to use SM04 functions.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anna-Liza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2005 12:42:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-logout-functionality-for-multiple-users/m-p/1102601#M103853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-07T12:42:43Z</dc:date>
    </item>
  </channel>
</rss>

