<?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 How can I execute external application? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318625#M164609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends I want printing my barcodes a laser printer (Kyocera) it isn't a barcode printer. So I think (and I look kyocera web page my model doesn't support barcode printing in sap) print my barcodes using an external system. Before SAP we are using JollyPrint application for printing barcodes. It is using an Excel file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can create a excel file for this application. I must execute this (JollyPrint-it is a label application) application when I press a button. How can I execute this application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mehmet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. I have been writing this message with details may be somebody can give me a simple way for this &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jun 2006 13:52:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-05T13:52:54Z</dc:date>
    <item>
      <title>How can I execute external application?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318625#M164609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends I want printing my barcodes a laser printer (Kyocera) it isn't a barcode printer. So I think (and I look kyocera web page my model doesn't support barcode printing in sap) print my barcodes using an external system. Before SAP we are using JollyPrint application for printing barcodes. It is using an Excel file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can create a excel file for this application. I must execute this (JollyPrint-it is a label application) application when I press a button. How can I execute this application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mehmet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. I have been writing this message with details may be somebody can give me a simple way for this &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 13:52:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318625#M164609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T13:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I execute external application?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318626#M164610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I can suggest you following steps. May be it works for you .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Create an external OS command in SM69&lt;/P&gt;&lt;P&gt;-Test OS command in SM49 ( &amp;lt;u&amp;gt;&amp;lt;i&amp;gt;about OS command if you search in SDN you&amp;#146;ll get lot of material&amp;lt;/i&amp;gt;&amp;lt;/u&amp;gt; ) &lt;/P&gt;&lt;P&gt;-Create a Script at your OS level, I&amp;#146;m assuming you might have some UNIX flavor or Sun solaria&amp;#146;s.&lt;/P&gt;&lt;P&gt;-Create a Shell script , which execute the printer job from OS . &lt;/P&gt;&lt;P&gt;-Shell script will have parameters . ( e.g. printer name, destination etc ) &lt;/P&gt;&lt;P&gt;-set the path of shell script directory in SM69 ( the command you just created ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Execute shell script using your ABAP program ( use FM "SXPG_COMMAND_EXECUTE" ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the ABAP  program you can pass the parameters and execute the command from ABAP as a result your job will start printing on the required destination. Moreover, you can also capture the spool at OS level . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI &lt;/P&gt;&lt;P&gt;For UNIX script, if you search in &lt;A href="https://community.sap.com/www.google.com" target="test_blank"&gt;www.google.com&lt;/A&gt; ( UNIX forums) . you&amp;#146;ll get shell script . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this&amp;#146;ll give you idea!!&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;P.S award the points.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Good luck &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saquib Khan&lt;/P&gt;&lt;P&gt;"Some are wise and some are otherwise"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 14:02:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318626#M164610</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-06-05T14:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I execute external application?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318627#M164611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume the application can exist independently as an exe file.&lt;/P&gt;&lt;P&gt;In such case you can use the CL_GUI_FRONTEND_SERVICES class's method EXECUTE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method CL_GUI_FRONTEND_SERVICES=&amp;gt;EXECUTE&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;APPLICATION = &amp;lt;Path and Name of Application&amp;gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 14:03:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318627#M164611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T14:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I execute external application?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318628#M164612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can execute any OS command from below transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SM69 is to create a comman &amp;amp;&lt;/P&gt;&lt;P&gt;SM49 is to execute the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use SXPG_COMMAND_EXECUTE fm to execute from the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 14:04:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318628#M164612</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-06-05T14:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I execute external application?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318629#M164613</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;use the FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;gui_exec&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to execute external app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 14:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318629#M164613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T14:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: How can I execute external application?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318630#M164614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can write a script to execute in a text file.&lt;/P&gt;&lt;P&gt;Store the file say abc.txt in the application server.&lt;/P&gt;&lt;P&gt;Execute the statement in the file when the button is pressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA DSN(20) VALUE '/usr/abc.txt'.&lt;/P&gt;&lt;P&gt;Case 'Sy-ucomm'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When 'Button_click'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET dsn FILTER &amp;lt;filt&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endcase&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The operating system command in the field &amp;lt;filt&amp;gt; is processed when the file &amp;lt;dsn&amp;gt; is opened.&lt;/P&gt;&lt;P&gt;where &amp;lt;filt&amp;gt; can be 'compress' or 'uncompress'.&lt;/P&gt;&lt;P&gt;Here the displayed data can be read into it in compressed form or uncompressed form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tanveer.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Please mark helpful answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 14:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318630#M164614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T14:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can I execute external application?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318631#M164615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mehmet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the following link. It may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapsuperusers.com/forums/showthread.php?t=4861" target="test_blank"&gt;http://www.sapsuperusers.com/forums/showthread.php?t=4861&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if it helps.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 14:19:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318631#M164615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T14:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can I execute external application?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318632#M164616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mehmet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. We can use the FM&lt;/P&gt;&lt;P&gt;   GUI_RUN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. suppose we want to open NOTEPAD,&lt;/P&gt;&lt;P&gt;   then pass&lt;/P&gt;&lt;P&gt;   Notepad&lt;/P&gt;&lt;P&gt;  to command parameter of this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. For your JollyPrint&lt;/P&gt;&lt;P&gt;  (it should be having an EXE file)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Pass the filename&lt;/P&gt;&lt;P&gt;   (along with the FULL PATH)&lt;/P&gt;&lt;P&gt;   to this FM,&lt;/P&gt;&lt;P&gt;   and it will run / execute it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Same way, u can try with other &lt;/P&gt;&lt;P&gt;   EXE files also, and they will simply execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 14:23:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318632#M164616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T14:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: How can I execute external application?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318633#M164617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 14:22:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-execute-external-application/m-p/1318633#M164617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-06T14:22:53Z</dc:date>
    </item>
  </channel>
</rss>

