<?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 .Exe file in application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exe-file-in-application-server/m-p/1860207#M363230</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;Can you tell me how to place .EXE file in application server . Can you help me with code to upload the exe file on application server. Or Is there any another way to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jan 2007 01:23:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-30T01:23:37Z</dc:date>
    <item>
      <title>.Exe file in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exe-file-in-application-server/m-p/1860207#M363230</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;Can you tell me how to place .EXE file in application server . Can you help me with code to upload the exe file on application server. Or Is there any another way to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 01:23:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exe-file-in-application-server/m-p/1860207#M363230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T01:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: .Exe file in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exe-file-in-application-server/m-p/1860208#M363231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT  zrich_0002.

DATA: idata_tab TYPE TABLE OF string.
DATA: xdata_tab TYPE string.

data: file1 type string.

PARAMETERS: p_file1 TYPE localfile DEFAULT 'c:sapcar.exe',
            p_file2 TYPE localfile DEFAULT 'usrnspsyssapcar.exe'.

start-of-selection.

file1 = p_file1.
call method cl_gui_frontend_services=&amp;gt;gui_upload
   EXPORTING
    filename                = file1
    filetype                = 'ASC'
  CHANGING
    data_tab                = idata_tab
  EXCEPTIONS
    file_open_error         = 1
    file_read_error         = 2
    no_batch                = 3
    gui_refuse_filetransfer = 4
    invalid_type            = 5
    no_authority            = 6
    unknown_error           = 7
    bad_data_format         = 8
    header_not_allowed      = 9
    separator_not_allowed   = 10
    header_too_long         = 11
    unknown_dp_error        = 12
    access_denied           = 13
    dp_out_of_memory        = 14
    disk_full               = 15
    dp_timeout              = 16
    not_supported_by_gui    = 17
    error_no_gui            = 18.



OPEN DATASET p_file2 FOR OUTPUT IN BINARY MODE.
CHECK sy-subrc = 0.
LOOP AT idata_tab INTO xdata_tab.
  TRANSFER xdata_tab TO p_file2.
ENDLOOP.
CLOSE DATASET p_file2.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 01:45:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exe-file-in-application-server/m-p/1860208#M363231</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-01-30T01:45:36Z</dc:date>
    </item>
  </channel>
</rss>

