<?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 a command on SAP server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-command-on-sap-server/m-p/6524727#M1425643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fabrizio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  You should avoid this as possible, but if you have really to execute UNIX command, you also can use standard report &lt;STRONG&gt;RSBDCOS0&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  You can also use ABAP :&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL 'SYSTEM' ID 'COMMAND' FIELD ld_command
              ID 'TAB'     FIELD lt_result.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Samuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jan 2010 15:10:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-21T15:10:15Z</dc:date>
    <item>
      <title>Execute a command on SAP server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-command-on-sap-server/m-p/6524725#M1425641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI I have a SAP qith Unix O.S.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an abap command or function module in order to execute a unix command on SAP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example "ls - la" in order to have a list of files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"ren old.file new.file"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 14:31:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-command-on-sap-server/m-p/6524725#M1425641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-21T14:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a command on SAP server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-command-on-sap-server/m-p/6524726#M1425642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SXPG_COMMAND_EXECUTE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to configure the command in SM69 before using this fm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 14:36:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-command-on-sap-server/m-p/6524726#M1425642</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-21T14:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a command on SAP server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-command-on-sap-server/m-p/6524727#M1425643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fabrizio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  You should avoid this as possible, but if you have really to execute UNIX command, you also can use standard report &lt;STRONG&gt;RSBDCOS0&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  You can also use ABAP :&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL 'SYSTEM' ID 'COMMAND' FIELD ld_command
              ID 'TAB'     FIELD lt_result.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Samuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 15:10:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-command-on-sap-server/m-p/6524727#M1425643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-21T15:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a command on SAP server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-command-on-sap-server/m-p/6524728#M1425644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
         EXPORTING
              COMMANDNAME                = COMMANDNAME
              OPERATINGSYSTEM            = OPERATINGSYSTEM
              ADDITIONAL_PARAMETERS      = ADDITIONAL_PARAMETERS
         IMPORTING
              STATUS                     = STATUS
              EXITCODE                   = EXITCODE
         TABLES
              EXEC_PROTOCOL              = EXEC_PROTOCOL&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the link:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_40b/helpdata/EN/fa/0971fb543b11d1898e0000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_40b/helpdata/EN/fa/0971fb543b11d1898e0000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manas M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 15:15:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-command-on-sap-server/m-p/6524728#M1425644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-21T15:15:15Z</dc:date>
    </item>
  </channel>
</rss>

