<?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: Calling Executable File in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-executable-file/m-p/1704945#M308865</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;You can use the class &amp;lt;b&amp;gt;cl_gui_frontend_services&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Please see the following command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;appl = 'cmd'.&lt;/P&gt;&lt;P&gt;param = '/c ipconfig /all&amp;gt;c:\temp\ipconfig.txt'.&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   DOCUMENT               = appl&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     application            = appl&lt;/P&gt;&lt;P&gt;     parameter              = param&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   DEFAULT_DIRECTORY      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MAXIMIZED              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MINIMIZED              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     synchronous            = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   OPERATION              = 'OPEN'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  exceptions&lt;/P&gt;&lt;P&gt;    cntl_error             = 1&lt;/P&gt;&lt;P&gt;    error_no_gui           = 2&lt;/P&gt;&lt;P&gt;    bad_parameter          = 3&lt;/P&gt;&lt;P&gt;    file_not_found         = 4&lt;/P&gt;&lt;P&gt;    path_not_found         = 5&lt;/P&gt;&lt;P&gt;    file_extension_unknown = 6&lt;/P&gt;&lt;P&gt;    error_execute_failed   = 7&lt;/P&gt;&lt;P&gt;    synchronous_failed     = 8&lt;/P&gt;&lt;P&gt;    not_supported_by_gui   = 9&lt;/P&gt;&lt;P&gt;    others                 = 10&lt;/P&gt;&lt;P&gt;        .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Nov 2006 14:10:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-17T14:10:08Z</dc:date>
    <item>
      <title>Calling Executable File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-executable-file/m-p/1704940#M308860</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;I have a PDF to TXT third party executable file in the application server, I need to call this exe thru my program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to call this exe file and open a PDF file and convert the &lt;/P&gt;&lt;P&gt;PDF to TXT and write the output TXT file into application servier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible thru ABAP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 13:17:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-executable-file/m-p/1704940#M308860</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2006-11-17T13:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Executable File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-executable-file/m-p/1704941#M308861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming you can pass the executable the source and target filenames as parameters, it's pretty easy. Define an external command in SM69 that calls the executable and then call that from your code using one of the function modules in function group SXPT (eg SXPG_COMMAND_EXECUTE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 13:20:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-executable-file/m-p/1704941#M308861</guid>
      <dc:creator>michael-john_turner</dc:creator>
      <dc:date>2006-11-17T13:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Executable File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-executable-file/m-p/1704942#M308862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ars,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. we can use GUI_EXEC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. in that we can give the full path of the .EXE file.&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>Fri, 17 Nov 2006 13:23:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-executable-file/m-p/1704942#M308862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T13:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Executable File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-executable-file/m-p/1704943#M308863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You call other applications through the EXECUTE method of CL_GUI_FRONTEND_SERVICES for this task, but not sure how far this can do the rest of your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kathirvel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 13:24:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-executable-file/m-p/1704943#M308863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T13:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Executable File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-executable-file/m-p/1704944#M308864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To execute an exe file you can use the class=&amp;gt; method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_GUI_FRONTEND_SERVICES=&amp;gt;EXECUTE&lt;/P&gt;&lt;P&gt;or you can define an external od command as other have already mentioed.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/c4/3a8023505211d189550000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/c4/3a8023505211d189550000e829fbbd/frameset.htm&lt;/A&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>Fri, 17 Nov 2006 13:24:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-executable-file/m-p/1704944#M308864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T13:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Executable File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-executable-file/m-p/1704945#M308865</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;You can use the class &amp;lt;b&amp;gt;cl_gui_frontend_services&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Please see the following command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;appl = 'cmd'.&lt;/P&gt;&lt;P&gt;param = '/c ipconfig /all&amp;gt;c:\temp\ipconfig.txt'.&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   DOCUMENT               = appl&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     application            = appl&lt;/P&gt;&lt;P&gt;     parameter              = param&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   DEFAULT_DIRECTORY      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MAXIMIZED              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MINIMIZED              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     synchronous            = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   OPERATION              = 'OPEN'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  exceptions&lt;/P&gt;&lt;P&gt;    cntl_error             = 1&lt;/P&gt;&lt;P&gt;    error_no_gui           = 2&lt;/P&gt;&lt;P&gt;    bad_parameter          = 3&lt;/P&gt;&lt;P&gt;    file_not_found         = 4&lt;/P&gt;&lt;P&gt;    path_not_found         = 5&lt;/P&gt;&lt;P&gt;    file_extension_unknown = 6&lt;/P&gt;&lt;P&gt;    error_execute_failed   = 7&lt;/P&gt;&lt;P&gt;    synchronous_failed     = 8&lt;/P&gt;&lt;P&gt;    not_supported_by_gui   = 9&lt;/P&gt;&lt;P&gt;    others                 = 10&lt;/P&gt;&lt;P&gt;        .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 14:10:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-executable-file/m-p/1704945#M308865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T14:10:08Z</dc:date>
    </item>
  </channel>
</rss>

