<?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: GUI_Upload in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102820#M438527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your file is tab dilimited. If you still have problem go through the code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: c_tab        TYPE   c        VALUE  cl_abap_char_utilities=&amp;gt;horizontal_tab,&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                = l_file&lt;/P&gt;&lt;P&gt;      filetype                = 'ASC'&lt;/P&gt;&lt;P&gt;      has_field_separator     = c_tab&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                = itab_upload&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;reward is useful,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Tanmay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Apr 2007 13:53:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-05T13:53:28Z</dc:date>
    <item>
      <title>GUI_Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102812#M438519</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;i am having a flat file with tab space between the fields,&lt;/P&gt;&lt;P&gt;when i am uploading data using Gui_upload to an internal table its coming with some special characters like # etc...&lt;/P&gt;&lt;P&gt;so can any body plz help in this.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Balu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 13:42:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102812#M438519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T13:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102813#M438520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;In the FM 'GUI_UPLOAD', there is one option...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;HAS_FIELD_SEPARATOR           = 'X'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ur text file is having seperators..u will get '#' s.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so with the above stmt. in that FM, passing 'X' will tell that file is havin separators..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 13:45:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102813#M438520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T13:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102814#M438521</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;  In GUI_UPLOAD there will be an option to put delimeters. Put any delimiter then the data will correctly come without any special characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Haritha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 13:46:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102814#M438521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T13:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102815#M438522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Have you used the filetype as DAT??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Also chk this info for datatype DAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    'DAT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;he components of the internal table are filled from the file. If the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;able contains more than one column, the entries in the file must be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eparated by tabs. Conversion exits are not carried out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or the different data types, the following applies:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -   I or N or P or F&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The numbers must be formatted according to the decimal representation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  defined in the user settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -   D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The date must be formatted according to the date format defined in&lt;/P&gt;&lt;P&gt;     the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  user settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -   T&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The time must have format hh:mm:ss.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Chandrasekhar Jagarlamudi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 13:46:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102815#M438522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T13:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102816#M438523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are you using Tab delimited Text file that is converted from EXCEL? &lt;/P&gt;&lt;P&gt;Once it is tab delimited text file, check for any unwanted characters using find/replace and remove.&lt;/P&gt;&lt;P&gt;On which version of SAP are you working?&lt;/P&gt;&lt;P&gt;check..whether any Unicode related problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 13:46:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102816#M438523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T13:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102817#M438524</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;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FILENAME                      = FILENAME&lt;/P&gt;&lt;P&gt;   FILETYPE                      = 'ASC'&lt;/P&gt;&lt;P&gt;has_field_seperater = 'x'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                      = XTAB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 13:48:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102817#M438524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T13:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102818#M438525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  Please try this.&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            = 'C:\test.txt'&lt;/P&gt;&lt;P&gt;    filetype            = 'ASC'&lt;/P&gt;&lt;P&gt;    has_field_separator = 'X'&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    data_tab            = itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Siri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 13:48:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102818#M438525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T13:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102819#M438526</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;When uploading in gui_upload u need to give  &amp;lt;b&amp;gt;HAS_FIELD_SEPARATOR&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;as 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ananth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 13:50:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102819#M438526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T13:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102820#M438527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your file is tab dilimited. If you still have problem go through the code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: c_tab        TYPE   c        VALUE  cl_abap_char_utilities=&amp;gt;horizontal_tab,&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                = l_file&lt;/P&gt;&lt;P&gt;      filetype                = 'ASC'&lt;/P&gt;&lt;P&gt;      has_field_separator     = c_tab&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                = itab_upload&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;reward is useful,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Tanmay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 13:53:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102820#M438527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T13:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: GUI_Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102821#M438528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;              For this function module you have to pass the file name of the string datatype.&lt;/P&gt;&lt;P&gt;Please check it first. And also check the file type should be of DAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i am giving the example of a file name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters:p_fname like rlgrap-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And before calling the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:p_fname1 type string.&lt;/P&gt;&lt;P&gt;       p_fname1 = p_fname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 14:34:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-upload/m-p/2102821#M438528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T14:34:56Z</dc:date>
    </item>
  </channel>
</rss>

