<?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: Regarding Internal Session Termination in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-session-termination/m-p/8455236#M1649906</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;check fm : TH_USER_LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample code provided in 1 forum.&lt;/P&gt;&lt;P&gt;DATA: USRTAB LIKE UINFO OCCURS 1 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;MODE TYPE I,&lt;/P&gt;&lt;P&gt;OPCODE TYPE X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'THUSRINFO'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;USR_TABL = USRTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT USRTAB WHERE BNAME = SY-UNAME.&lt;/P&gt;&lt;P&gt;IF USRTAB-TCODE = 'ME23'.&lt;/P&gt;&lt;P&gt;OPCODE = 25.&lt;/P&gt;&lt;P&gt;CALL 'ThUsrInfo' ID 'OPCODE' FIELD OPCODE&lt;/P&gt;&lt;P&gt;ID 'TID' FIELD USRTAB-TID.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps to solve ur issue.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Dec 2011 04:49:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-27T04:49:48Z</dc:date>
    <item>
      <title>Regarding Internal Session Termination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-session-termination/m-p/8455235#M1649905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to end a particular internal session (Planning Area in my case) of the other user  after a specific time,  who is in change mode through a background job.If I use the function module u201CTH_DELETE_USERu201D,it is closing all the sessions of that user.But my requirement is to close only u2018SDPu2019 session without closing others.How can I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to delete  based on mode number  using function module u201CTH_DELETE_MODEu201D,but each time mode number  is getting changed based on the sessions opened, so I am not  even able to use thatu2026.Please suggest me any function module or bapi which meets the requirementu2026&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance u2026u2026&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Dec 2011 15:06:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-session-termination/m-p/8455235#M1649905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-26T15:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Internal Session Termination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-session-termination/m-p/8455236#M1649906</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;check fm : TH_USER_LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample code provided in 1 forum.&lt;/P&gt;&lt;P&gt;DATA: USRTAB LIKE UINFO OCCURS 1 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;MODE TYPE I,&lt;/P&gt;&lt;P&gt;OPCODE TYPE X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'THUSRINFO'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;USR_TABL = USRTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT USRTAB WHERE BNAME = SY-UNAME.&lt;/P&gt;&lt;P&gt;IF USRTAB-TCODE = 'ME23'.&lt;/P&gt;&lt;P&gt;OPCODE = 25.&lt;/P&gt;&lt;P&gt;CALL 'ThUsrInfo' ID 'OPCODE' FIELD OPCODE&lt;/P&gt;&lt;P&gt;ID 'TID' FIELD USRTAB-TID.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps to solve ur issue.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2011 04:49:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-internal-session-termination/m-p/8455236#M1649906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-27T04:49:48Z</dc:date>
    </item>
  </channel>
</rss>

