<?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: executable program to upload or download data from flatfile in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/executable-program-to-upload-or-download-data-from-flatfile/m-p/4252965#M1015248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can write an ABAP program to do that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer below link for sample codes:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/file/filehome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/file/filehome.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2008 16:26:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-11T16:26:37Z</dc:date>
    <item>
      <title>executable program to upload or download data from flatfile</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executable-program-to-upload-or-download-data-from-flatfile/m-p/4252963#M1015246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;plz tell me is there any executable program to upload or download data from flatfile.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 16:21:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executable-program-to-upload-or-download-data-from-flatfile/m-p/4252963#M1015246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T16:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: executable program to upload or download data from flatfile</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executable-program-to-upload-or-download-data-from-flatfile/m-p/4252964#M1015247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There is no program as such.&lt;/P&gt;&lt;P&gt;You can write your own routine/program to upload and download the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use FM: GUI_UPLOAD and GUI_DOWNLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 16:26:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executable-program-to-upload-or-download-data-from-flatfile/m-p/4252964#M1015247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: executable program to upload or download data from flatfile</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executable-program-to-upload-or-download-data-from-flatfile/m-p/4252965#M1015248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can write an ABAP program to do that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer below link for sample codes:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/file/filehome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/file/filehome.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 16:26:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executable-program-to-upload-or-download-data-from-flatfile/m-p/4252965#M1015248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T16:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: executable program to upload or download data from flatfile</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executable-program-to-upload-or-download-data-from-flatfile/m-p/4252966#M1015249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There may be programs but those program are specific purpose. There is no generic program as such loading the data from flat file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RSTXSCRP is used to Upload or Download the SAP Script from Frontend or Application server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 16:29:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executable-program-to-upload-or-download-data-from-flatfile/m-p/4252966#M1015249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T16:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: executable program to upload or download data from flatfile</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executable-program-to-upload-or-download-data-from-flatfile/m-p/4252967#M1015250</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;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : p_file type rlgrap-filename DEFAULT 'E:\EMP.TXT'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PARAMETERS : p_psup RADIOBUTTON GROUP g1,&lt;/P&gt;&lt;P&gt;                         p_psdw RADIOBUTTON GROUP g1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF ty_emp,&lt;/P&gt;&lt;P&gt;         empna(2) TYPE c,&lt;/P&gt;&lt;P&gt;         empname(12) TYPE c,&lt;/P&gt;&lt;P&gt;         empdoj(8) TYPE c,&lt;/P&gt;&lt;P&gt;         dept(4) TYPE c,&lt;/P&gt;&lt;P&gt;        END OF ty_emp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : it_emp TYPE TABLE OF ty_emp,&lt;/P&gt;&lt;P&gt;        wa_emp TYPE ty_emp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : psfile TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;psfile = p_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF p_psup = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename                      = psfile&lt;/P&gt;&lt;P&gt;      filetype                      = 'ASC'&lt;/P&gt;&lt;P&gt;     has_field_separator           = ' '&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADER_LENGTH                 = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  READ_BY_LINE                  = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DAT_MODE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILELENGTH                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADER                        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                      = it_emp&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;   file_open_error               = 1&lt;/P&gt;&lt;P&gt;   file_read_error               = 2&lt;/P&gt;&lt;P&gt;   no_batch                      = 3&lt;/P&gt;&lt;P&gt;   gui_refuse_filetransfer       = 4&lt;/P&gt;&lt;P&gt;   invalid_type                  = 5&lt;/P&gt;&lt;P&gt;   no_authority                  = 6&lt;/P&gt;&lt;P&gt;   unknown_error                 = 7&lt;/P&gt;&lt;P&gt;   bad_data_format               = 8&lt;/P&gt;&lt;P&gt;   header_not_allowed            = 9&lt;/P&gt;&lt;P&gt;   separator_not_allowed         = 10&lt;/P&gt;&lt;P&gt;   header_too_long               = 11&lt;/P&gt;&lt;P&gt;   unknown_dp_error              = 12&lt;/P&gt;&lt;P&gt;   access_denied                 = 13&lt;/P&gt;&lt;P&gt;   dp_out_of_memory              = 14&lt;/P&gt;&lt;P&gt;   disk_full                     = 15&lt;/P&gt;&lt;P&gt;   dp_timeout                    = 16&lt;/P&gt;&lt;P&gt;   OTHERS                        = 17&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF p_psdw = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  BIN_FILESIZE                  =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      filename                      = psfile&lt;/P&gt;&lt;P&gt;     filetype                      = 'ASC'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  APPEND                        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     write_field_separator         = ' '&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADER                        = '00'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TRUNC_TRAILING_BLANKS         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WRITE_LF                      = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  COL_SELECT                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  COL_SELECT_MASK               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DAT_MODE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILELENGTH                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                      = it_emp&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;   file_write_error              = 1&lt;/P&gt;&lt;P&gt;   no_batch                      = 2&lt;/P&gt;&lt;P&gt;   gui_refuse_filetransfer       = 3&lt;/P&gt;&lt;P&gt;   invalid_type                  = 4&lt;/P&gt;&lt;P&gt;   no_authority                  = 5&lt;/P&gt;&lt;P&gt;   unknown_error                 = 6&lt;/P&gt;&lt;P&gt;   header_not_allowed            = 7&lt;/P&gt;&lt;P&gt;   separator_not_allowed         = 8&lt;/P&gt;&lt;P&gt;   filesize_not_allowed          = 9&lt;/P&gt;&lt;P&gt;   header_too_long               = 10&lt;/P&gt;&lt;P&gt;   dp_error_create               = 11&lt;/P&gt;&lt;P&gt;   dp_error_send                 = 12&lt;/P&gt;&lt;P&gt;   dp_error_write                = 13&lt;/P&gt;&lt;P&gt;   unknown_dp_error              = 14&lt;/P&gt;&lt;P&gt;   access_denied                 = 15&lt;/P&gt;&lt;P&gt;   dp_out_of_memory              = 16&lt;/P&gt;&lt;P&gt;   disk_full                     = 17&lt;/P&gt;&lt;P&gt;   dp_timeout                    = 18&lt;/P&gt;&lt;P&gt;   file_not_found                = 19&lt;/P&gt;&lt;P&gt;   dataprovider_exception        = 20&lt;/P&gt;&lt;P&gt;   control_flush_error           = 21&lt;/P&gt;&lt;P&gt;   OTHERS                        = 22&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bala Krishna on Aug 11, 2008 10:19 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 16:48:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executable-program-to-upload-or-download-data-from-flatfile/m-p/4252967#M1015250</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2008-08-11T16:48:41Z</dc:date>
    </item>
  </channel>
</rss>

