<?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: Execute Batch file in the Application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-batch-file-in-the-application-server/m-p/1054354#M89986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code provided in the earlier post is the correctway to do it, all you need to do now is provide the command you want to execute &lt;BR /&gt;usr\..\a.bat in the Selection Screen parameter &amp;amp; you will be set to go...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2005 21:03:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-14T21:03:59Z</dc:date>
    <item>
      <title>Execute Batch file in the Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-batch-file-in-the-application-server/m-p/1054352#M89984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have a batch file in Application server &lt;BR /&gt;usr\..\a.bat,&lt;/P&gt;&lt;P&gt;I have to execute the batch file from my ABAP program, is there any function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nara.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 20:53:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-batch-file-in-the-application-server/m-p/1054352#M89984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T20:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Batch file in the Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-batch-file-in-the-application-server/m-p/1054353#M89985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;below code will able to execute any application server commands from abap  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;REPORT ZUNIX. &lt;/P&gt;&lt;P&gt;data: unix_command(50) type c value 'ls -ls /usr/sap/trans/data'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of internal_table occurs 0, &lt;/P&gt;&lt;P&gt;      line(200), &lt;/P&gt;&lt;P&gt;    end of internal_table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS UNIXCOMM LIKE unix_command &lt;/P&gt;&lt;P&gt;                    DEFAULT 'ls -ls /usr/sap/trans/data' LOWER CASE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call 'SYSTEM' id 'COMMAND' field  UNIXCOMM &lt;/P&gt;&lt;P&gt;       id 'TAB'   field  internal_table-&lt;STRONG&gt;SYS&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDITOR-CALL FOR INTERNAL_TABLE DISPLAY-MODE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 21:01:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-batch-file-in-the-application-server/m-p/1054353#M89985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T21:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Batch file in the Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-batch-file-in-the-application-server/m-p/1054354#M89986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code provided in the earlier post is the correctway to do it, all you need to do now is provide the command you want to execute &lt;BR /&gt;usr\..\a.bat in the Selection Screen parameter &amp;amp; you will be set to go...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 21:03:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-batch-file-in-the-application-server/m-p/1054354#M89986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T21:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Batch file in the Application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-batch-file-in-the-application-server/m-p/1054355#M89987</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;use fm FM SXPG_COMMAND_EXECUTE&lt;/P&gt;&lt;P&gt;and transaction &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="892105"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2005 06:52:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-batch-file-in-the-application-server/m-p/1054355#M89987</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-12-15T06:52:59Z</dc:date>
    </item>
  </channel>
</rss>

