<?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>Question Re: SAP CPI - EXECUTE OS COMMAND in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-cpi-execute-os-command/qaa-p/12165655#M4548965</link>
    <description>&lt;P&gt;Hi Sriprasad,&lt;BR /&gt;&lt;BR /&gt;my requirement is to call an sh/bash script, that ca do many things, i don't know properly (depend from the requirement), but for example some customers use tools such as control-M or IBM Direct Connect to schedule job, file transfer using remote script for example to extract the zip file or compress or something else, with CPI we can schedule job, read and transfer file, but i am looking for call also os command.&lt;BR /&gt;My idea as i said is:&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Use Scheduler(So it's same behaviour Job Scheduler that can offer for example Control-M or other ) ---&amp;gt; Groovy Script ( Inside the groovy script, I know that there is a groovy script that allow to open connection to file server and read file, my interest is open the connection to file server and execute os command, i read that there are some groovy libraries like ssh, but i don't know if it works and how is the execute command in groovy ---- &amp;gt; end  &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Claudio Palladino&lt;/P&gt;</description>
    <pubDate>Thu, 30 Apr 2020 13:02:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2020-04-30T13:02:00Z</dc:date>
    <item>
      <title>SAP CPI - EXECUTE OS COMMAND</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-cpi-execute-os-command/qaq-p/12165650</link>
      <description>&lt;P&gt;Hi to all,&lt;/P&gt;
  &lt;P&gt;I have a big requirement that is really tricky... &lt;BR /&gt;Is it possible to execute a bash script in CPI? For example this kind of solution is allow on PI on premise with Adapter File, with Run Command Operating system.&lt;/P&gt;
  &lt;P&gt;&lt;IMG src="https://www.linkedin.com/dms/C4D06AQEQY-z0FV2_Qg/messaging-attachmentFile/0?m=AQKH3D8swwENnAAAAXHElZ98tbgVYBJTmw6o9SXWab5ECQkq8xdG8zE-CQ&amp;amp;ne=1&amp;amp;v=beta&amp;amp;t=YFlL5MDCdzFKJFWETRgEbrI2Dr55zpbw4I5QMRowCv0#S6660956242023862273_500" alt="Anteprima di image.png" style="width: 453px;" /&gt;&lt;BR /&gt;&lt;BR /&gt;But in CPI with the adapter File (SFTP Adapter) there isn't this feature.&lt;BR /&gt;Is it possible to achieve this in anyway?&lt;BR /&gt;My first idea is build a flow in this way: &lt;BR /&gt;Scheduler ---&amp;gt; Groovy Script ( Inside the groovy script i can read the file from File Server(test.sh) and Execute Bash) ---- &amp;gt; end is it possible in this way? If is possible to achieve in this way, which is the snippet code to execute command from groovy?&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;Please, let me know for suggests.&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 15:05:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-cpi-execute-os-command/qaq-p/12165650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-04-29T15:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAP CPI - EXECUTE OS COMMAND</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-cpi-execute-os-command/qaa-p/12165651#M4548961</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please check your image - it's not showing up properly.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Svea&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 15:06:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-cpi-execute-os-command/qaa-p/12165651#M4548961</guid>
      <dc:creator>sveabecker</dc:creator>
      <dc:date>2020-04-29T15:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAP CPI - EXECUTE OS COMMAND</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-cpi-execute-os-command/qaa-p/12165652#M4548962</link>
      <description>&lt;P&gt;Hello Claudio,&lt;/P&gt;&lt;P&gt;This feature is not supported in SAP CPI.&lt;/P&gt;&lt;P&gt;Could you please explain what you are trying to do with OS command.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Sriprasad Shivaram Bhat&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 15:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-cpi-execute-os-command/qaa-p/12165652#M4548962</guid>
      <dc:creator>Sriprasadsbhat</dc:creator>
      <dc:date>2020-04-29T15:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAP CPI - EXECUTE OS COMMAND</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-cpi-execute-os-command/qaa-p/12165653#M4548963</link>
      <description>&lt;P&gt;Hi Swea,&lt;BR /&gt;&lt;BR /&gt;In attachment the feature that is available on PI on premise, but not on CPI.&lt;BR /&gt;My requirement is to call an sh script from CPI, maybe is it possible with Groovy?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://answers.sap.com/storage/temp/1802857-untitled-94735.png"&gt;untitled-94735.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 12:59:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-cpi-execute-os-command/qaa-p/12165653#M4548963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-04-30T12:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAP CPI - EXECUTE OS COMMAND</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-cpi-execute-os-command/qaa-p/12165654#M4548964</link>
      <description>&lt;P&gt;Hi Claudia, I am an SAP Community moderator. That means we are monitoring content which will be submitted in the community. But we are not answering questions. Those will be answered by the experts of the community. And I see below that an SAP colleague has already answered.&lt;/P&gt;&lt;P&gt;Regards, Svea&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 13:01:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-cpi-execute-os-command/qaa-p/12165654#M4548964</guid>
      <dc:creator>sveabecker</dc:creator>
      <dc:date>2020-04-30T13:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAP CPI - EXECUTE OS COMMAND</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-cpi-execute-os-command/qaa-p/12165655#M4548965</link>
      <description>&lt;P&gt;Hi Sriprasad,&lt;BR /&gt;&lt;BR /&gt;my requirement is to call an sh/bash script, that ca do many things, i don't know properly (depend from the requirement), but for example some customers use tools such as control-M or IBM Direct Connect to schedule job, file transfer using remote script for example to extract the zip file or compress or something else, with CPI we can schedule job, read and transfer file, but i am looking for call also os command.&lt;BR /&gt;My idea as i said is:&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Use Scheduler(So it's same behaviour Job Scheduler that can offer for example Control-M or other ) ---&amp;gt; Groovy Script ( Inside the groovy script, I know that there is a groovy script that allow to open connection to file server and read file, my interest is open the connection to file server and execute os command, i read that there are some groovy libraries like ssh, but i don't know if it works and how is the execute command in groovy ---- &amp;gt; end  &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Claudio Palladino&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 13:02:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-cpi-execute-os-command/qaa-p/12165655#M4548965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-04-30T13:02:00Z</dc:date>
    </item>
  </channel>
</rss>

