<?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: Integrating External Operating System Commands into ABAP program. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-external-operating-system-commands-into-abap-program/m-p/5696659#M1294232</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;We have an easier way of achieving this without declaring a command in SM69.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the below piece of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: command LIKE rs37a-line.
DATA: BEGIN OF tabl OCCURS 0,
          line(2000),
      END OF tabl.
 
command = 'ls -l'.
 
CALL 'SYSTEM' ID 'COMMAND' FIELD command
              ID 'TAB'     FIELD tabl-*sys*.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace the string in the variable 'comand' with any UNIX command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sabu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jun 2009 18:08:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-04T18:08:03Z</dc:date>
    <item>
      <title>Integrating External Operating System Commands into ABAP program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-external-operating-system-commands-into-abap-program/m-p/5696656#M1294229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using the transaction code sm69 it is possible to create an SAP command that's executing an operating system command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to integrate such an SAP command into our ABAP programs ?&lt;/P&gt;&lt;P&gt;How would we do so ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 06:57:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-external-operating-system-commands-into-abap-program/m-p/5696656#M1294229</guid>
      <dc:creator>thomas_schmitt3</dc:creator>
      <dc:date>2009-06-04T06:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating External Operating System Commands into ABAP program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-external-operating-system-commands-into-abap-program/m-p/5696657#M1294230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check Fm  'SXPG_COMMAND_EXECUTE'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 06:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-external-operating-system-commands-into-abap-program/m-p/5696657#M1294230</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-06-04T06:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating External Operating System Commands into ABAP program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-external-operating-system-commands-into-abap-program/m-p/5696658#M1294231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, thanks a lot !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 12:04:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-external-operating-system-commands-into-abap-program/m-p/5696658#M1294231</guid>
      <dc:creator>thomas_schmitt3</dc:creator>
      <dc:date>2009-06-04T12:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating External Operating System Commands into ABAP program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-external-operating-system-commands-into-abap-program/m-p/5696659#M1294232</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;We have an easier way of achieving this without declaring a command in SM69.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the below piece of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: command LIKE rs37a-line.
DATA: BEGIN OF tabl OCCURS 0,
          line(2000),
      END OF tabl.
 
command = 'ls -l'.
 
CALL 'SYSTEM' ID 'COMMAND' FIELD command
              ID 'TAB'     FIELD tabl-*sys*.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace the string in the variable 'comand' with any UNIX command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sabu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 18:08:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-external-operating-system-commands-into-abap-program/m-p/5696659#M1294232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T18:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating External Operating System Commands into ABAP program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-external-operating-system-commands-into-abap-program/m-p/5696660#M1294233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds good,&lt;/P&gt;&lt;P&gt;we're going to check this out as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 07:40:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-external-operating-system-commands-into-abap-program/m-p/5696660#M1294233</guid>
      <dc:creator>thomas_schmitt3</dc:creator>
      <dc:date>2009-06-16T07:40:32Z</dc:date>
    </item>
  </channel>
</rss>

