<?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: EXE program execution on server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163970#M1516225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ERP server is a Widnows 2008 Server so it has a C Drive. For interfacing purposes, I have a .NET application as an EXE file to execute in order to post txt files from certain terminals. So all I need is to execute this EXE file which is located in a path like: C:\SAP\Terminal\SAP.exe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So would CL_GUI_FRONTEND_SERVICES=&amp;gt;EXECUTE fit? or I have to create a command and then run the command?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Aug 2010 11:14:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-09T11:14:54Z</dc:date>
    <item>
      <title>EXE program execution on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163965#M1516220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an exe application to execute, that exe application is on the ERP server, I'm using WS_EXECUTE but it is trying to run the application on client not server. For example, the path for the  exe application that I'm giving to WS_EXECUTE is being check per my local PC directory not the server directory. can you please advice with a solution? or a refinement for WS_EXECUTE to look up in server not client?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Samir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 10:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163965#M1516220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-09T10:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: EXE program execution on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163966#M1516221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can write a OS command to execute the exe file, then configure it in sm49 and then execute the command from your program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 10:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163966#M1516221</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-08-09T10:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: EXE program execution on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163967#M1516222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear keshav, thank you for your answer, but can you please complete the figure to me!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the ERP server is Windows Server 2008, so how the OS command will look like and how to execute it from ABAP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose the appliction is in: c:\sap\test.exe, can you please give me a sample command to run this exe file?&lt;/P&gt;&lt;P&gt;can you please give a sample code how to call that command in ABAP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 10:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163967#M1516222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-09T10:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: EXE program execution on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163968#M1516223</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;for windows you can use the DOS command to execute the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for executing the command from your program use fm SXPG_COMMAND_EXECUTE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 10:43:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163968#M1516223</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-08-09T10:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: EXE program execution on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163969#M1516224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; suppose the appliction is in: c:\sap\test.exe, can you please give me a sample command to run this exe file?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is in the C drive, why are you saying it is on the server ? For this type of .EXE file you've to use the static method: CL_GUI_FRONTEND_SERVICES=&amp;gt;EXECUTE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else if it is on server you've to use SXPG_CALL_SYSTEM as  already mentioned by Keshav.&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>Mon, 09 Aug 2010 10:51:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163969#M1516224</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-08-09T10:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: EXE program execution on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163970#M1516225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ERP server is a Widnows 2008 Server so it has a C Drive. For interfacing purposes, I have a .NET application as an EXE file to execute in order to post txt files from certain terminals. So all I need is to execute this EXE file which is located in a path like: C:\SAP\Terminal\SAP.exe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So would CL_GUI_FRONTEND_SERVICES=&amp;gt;EXECUTE fit? or I have to create a command and then run the command?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 11:14:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163970#M1516225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-09T11:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: EXE program execution on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163971#M1516226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, CL_GUI_FRONTEND_SERVICES=&amp;gt;EXECUTE won't work for app server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You've to create a command to execute the EXE on the app server.&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>Mon, 09 Aug 2010 11:24:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163971#M1516226</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-08-09T11:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: EXE program execution on server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163972#M1516227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you indeed Keshav, Suhas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 11:34:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exe-program-execution-on-server/m-p/7163972#M1516227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-09T11:34:34Z</dc:date>
    </item>
  </channel>
</rss>

