<?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: How to send commands from ABAP code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-commands-from-abap-code/m-p/6240798#M1382113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are several ways to execute external commands depending on what type of system you're on.  One is to setup an external command in SM69 and use function SXPG_COMMAND_EXECUTE.  The other option is use a call to the "SYSTEM" function and supply a system relevant command - call 'SYSTEM' id 'COMMAND'...  However, both of these options require the proper authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Oct 2009 16:36:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-19T16:36:14Z</dc:date>
    <item>
      <title>How to send commands from ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-commands-from-abap-code/m-p/6240797#M1382112</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;Is it possible to send commands and listen to response using ABAP. Commands need to be send to specific IP address and Port number and for every command there is a response which needs to be captured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually I use telnet or hyper-terminal program to achieve this. I dont have a PI system available for interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can this be achieved using ABAP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2009 13:41:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-commands-from-abap-code/m-p/6240797#M1382112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-19T13:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to send commands from ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-commands-from-abap-code/m-p/6240798#M1382113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are several ways to execute external commands depending on what type of system you're on.  One is to setup an external command in SM69 and use function SXPG_COMMAND_EXECUTE.  The other option is use a call to the "SYSTEM" function and supply a system relevant command - call 'SYSTEM' id 'COMMAND'...  However, both of these options require the proper authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2009 16:36:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-commands-from-abap-code/m-p/6240798#M1382113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-19T16:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to send commands from ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-commands-from-abap-code/m-p/6240799#M1382114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lawrence thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to communicate to an embedded device which has its own set of commands.&lt;/P&gt;&lt;P&gt;Usually for testing what I would do is use telnet or hyper-terminal to send commands to the device and then listen to the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was reading about SXPG_COMMAND_EXECUTE, but not sure if this kind of interface be developed using it.&lt;/P&gt;&lt;P&gt;Please advice..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2009 17:33:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-commands-from-abap-code/m-p/6240799#M1382114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-19T17:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to send commands from ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-commands-from-abap-code/m-p/6240800#M1382115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Function Groups SFTP, SHTTP, SHTM look as though they may give you some options to work with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not clear from your question which protocol you are using to talk to the embeded device. FTP? HTTP? Some sort of SSL variant?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2009 17:53:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-send-commands-from-abap-code/m-p/6240800#M1382115</guid>
      <dc:creator>juan_suros</dc:creator>
      <dc:date>2009-10-19T17:53:36Z</dc:date>
    </item>
  </channel>
</rss>

