<?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: Switch to different application server in ABAP program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/switch-to-different-application-server-in-abap-program/m-p/5124368#M1188192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bingo !!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I debugged the report program RSM51000_ALV &amp;amp; found the sub-routine SM51_USER_CMD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SY-UCOMM for our purpose is 'RLOG'. and it utilises the FM 'TH_REMOTE_TRANSACTION' &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be of some help to the thread starter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2009 12:00:55 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2009-01-28T12:00:55Z</dc:date>
    <item>
      <title>Switch to different application server in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/switch-to-different-application-server-in-abap-program/m-p/5124364#M1188188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently working on some ABAP objects classes and tool programs for additional user administration functionality. We are runnig a SAP ERP system with distributed application servers and active logon load-balancing for users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to switch to a different application server from within my program in order to get all relevant information for an active user. So far I only found the function TH_SELECT_SERVER (from the function group THFB) for this, but this uses a separate dialog for interactively switching to another application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could use RFC calls with a lookup table for the destinations of individual application servers, but this would not be as flexible. Also I would have to create some wrapper code for standard functions which are not defined as RFC-usable. So I would rather like to switch to the other server instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'd like to do instead is switching to another server from a user-related server list without any additional interaction in order to run a function locally on the other server. Does anybody know some function, object method etc. which will do the trick?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Markus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 11:18:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/switch-to-different-application-server-in-abap-program/m-p/5124364#M1188188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T11:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Switch to different application server in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/switch-to-different-application-server-in-abap-program/m-p/5124365#M1188189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try transaction SM51?&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 11:44:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/switch-to-different-application-server-in-abap-program/m-p/5124365#M1188189</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-01-28T11:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Switch to different application server in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/switch-to-different-application-server-in-abap-program/m-p/5124366#M1188190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the person who posted wants to automate the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think a BDC for SM51 will help? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 11:49:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/switch-to-different-application-server-in-abap-program/m-p/5124366#M1188190</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-01-28T11:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Switch to different application server in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/switch-to-different-application-server-in-abap-program/m-p/5124367#M1188191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right, so maybe TH_REMOTE_TRANSACTION could be helpful. This is what SM51 uses once the "remote login" button is clicked. In general, some of the TH_* function modules might be helpful here.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 11:57:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/switch-to-different-application-server-in-abap-program/m-p/5124367#M1188191</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-01-28T11:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Switch to different application server in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/switch-to-different-application-server-in-abap-program/m-p/5124368#M1188192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bingo !!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I debugged the report program RSM51000_ALV &amp;amp; found the sub-routine SM51_USER_CMD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SY-UCOMM for our purpose is 'RLOG'. and it utilises the FM 'TH_REMOTE_TRANSACTION' &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be of some help to the thread starter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 12:00:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/switch-to-different-application-server-in-abap-program/m-p/5124368#M1188192</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-01-28T12:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Switch to different application server in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/switch-to-different-application-server-in-abap-program/m-p/5124369#M1188193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the tip. I had to fix some other things first, so I could try using TH_REMOTE_TRANSACTION only today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In combination with a filtered list from TH_SYSTEMWIDE_USER_LIST which provides the server destination for each user, it works just fine. Finding a user on the application servers and switching over to the desired server now works in one go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Markus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 11:47:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/switch-to-different-application-server-in-abap-program/m-p/5124369#M1188193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-02T11:47:26Z</dc:date>
    </item>
  </channel>
</rss>

