<?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 execute external command from SAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-external-command-from-sap/m-p/1881693#M370198</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;apart from open dataset.. transfer... close dataset.&lt;/P&gt;&lt;P&gt;u can also use C3GY or C3GZ tcodes.&lt;/P&gt;&lt;P&gt;also the function module SXPG_COMMAND_EXECUTE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jan 2007 10:27:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-10T10:27:12Z</dc:date>
    <item>
      <title>How to execute external command from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-external-command-from-sap/m-p/1881690#M370195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;i need to execute an external command from a Sap (rel ECC.5.0) to a server UNIX (no SAP); precisely i have to write a file into a directory in unix server.&lt;/P&gt;&lt;P&gt;I see transaction SM49 and Sm69 but i don't know how can i use these features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please coul'd you help me or give me a documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank's in advance&lt;/P&gt;&lt;P&gt;Maurizio Ortolani&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;email. maurizio.ortolani@trilog.it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 10:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-external-command-from-sap/m-p/1881690#M370195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T10:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute external command from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-external-command-from-sap/m-p/1881691#M370196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maurizio,&lt;/P&gt;&lt;P&gt;i do it in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: CMD_LS(50)   VALUE 'ls -al /transfer/sap'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF ITAB_LS OCCURS 0,&lt;/P&gt;&lt;P&gt;          LINE(200),&lt;/P&gt;&lt;P&gt;        END   OF ITAB_LS.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  CALL 'SYSTEM'&lt;/P&gt;&lt;P&gt;    ID 'COMMAND' FIELD CMD_LS&lt;/P&gt;&lt;P&gt;    ID 'TAB'     FIELD ITAB_LS-&lt;STRONG&gt;SYS&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you write the file, via an UNIX-COMMAND than try the above call&lt;/P&gt;&lt;P&gt;with your command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way is to write the file via OPEN DATASET ..., TRANSFER ... TO ..., CLOSE DATASET.&lt;/P&gt;&lt;P&gt;If you mean this i can give you an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 10:24:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-external-command-from-sap/m-p/1881691#M370196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T10:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute external command from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-external-command-from-sap/m-p/1881692#M370197</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;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/c4/3a606e505211d189550000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/c4/3a606e505211d189550000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Andreas Mann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 10:26:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-external-command-from-sap/m-p/1881692#M370197</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2007-01-10T10:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute external command from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-external-command-from-sap/m-p/1881693#M370198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;apart from open dataset.. transfer... close dataset.&lt;/P&gt;&lt;P&gt;u can also use C3GY or C3GZ tcodes.&lt;/P&gt;&lt;P&gt;also the function module SXPG_COMMAND_EXECUTE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 10:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-external-command-from-sap/m-p/1881693#M370198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T10:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute external command from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-external-command-from-sap/m-p/1881694#M370199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;thank's a lot for your helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to do this and when i finished i give you a feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Maurizio Ortolani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 10:38:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-external-command-from-sap/m-p/1881694#M370199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T10:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute external command from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-external-command-from-sap/m-p/1881695#M370200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but u have to maintain those commands in SM69&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can execute using SM49&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 10:42:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-external-command-from-sap/m-p/1881695#M370200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T10:42:32Z</dc:date>
    </item>
  </channel>
</rss>

