<?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: FILE FORMAT NOT SUPPORTED in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-format-not-supported/m-p/6744162#M1459047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viond,&lt;/P&gt;&lt;P&gt;     Thanks, I tried GUI_DOWNLOAD. if there is any special charactrer, that line is not downloaded. that's what i'm using this functional module&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Mar 2010 05:07:49 GMT</pubDate>
    <dc:creator>vallamuthu_madheswaran2</dc:creator>
    <dc:date>2010-03-17T05:07:49Z</dc:date>
    <item>
      <title>FILE FORMAT NOT SUPPORTED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-format-not-supported/m-p/6744160#M1459045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;     I'm using the below coding. if i opened the excel, it displays the message "file format not supported". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SAP_CONVERT_TO_XLS_FORMAT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;   i_field_seperator          = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  i_line_header              = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   i_filename                 = lv_file&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  i_appl_keep                = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      i_tab_sap_data             = gt_main.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_TAB_CONVERTED_DATA       = gt_main&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  conversion_failed          = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  others                     = 2.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Vallamuthu.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 04:58:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-format-not-supported/m-p/6744160#M1459045</guid>
      <dc:creator>vallamuthu_madheswaran2</dc:creator>
      <dc:date>2010-03-17T04:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: FILE FORMAT NOT SUPPORTED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-format-not-supported/m-p/6744161#M1459046</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;Instead of this, use FM GUI_DOWNLOAD. SCN has lots of sample codes on this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 05:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-format-not-supported/m-p/6744161#M1459046</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2010-03-17T05:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: FILE FORMAT NOT SUPPORTED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-format-not-supported/m-p/6744162#M1459047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viond,&lt;/P&gt;&lt;P&gt;     Thanks, I tried GUI_DOWNLOAD. if there is any special charactrer, that line is not downloaded. that's what i'm using this functional module&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 05:07:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-format-not-supported/m-p/6744162#M1459047</guid>
      <dc:creator>vallamuthu_madheswaran2</dc:creator>
      <dc:date>2010-03-17T05:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: FILE FORMAT NOT SUPPORTED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-format-not-supported/m-p/6744163#M1459048</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 mean character from some other language other than english? If yes, you may need to pass appropriate code page. Please let us know that special character and you code for GUI_DOWNLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 05:10:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-format-not-supported/m-p/6744163#M1459048</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2010-03-17T05:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: FILE FORMAT NOT SUPPORTED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-format-not-supported/m-p/6744164#M1459049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;I'm getting data from DB table(BSIS &amp;amp; BKPF) and downloading in excel using GUI_DOWNLOAD.&lt;/P&gt;&lt;P&gt;some data is missing in that excel. I checked it in debugging mode. before executing the FM the internal table has 44157 data.&lt;/P&gt;&lt;P&gt;after downloading the XL has 43708 data. how to solve it. the FM is given below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE full_path '.xls' INTO lv_file.&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;P&gt;        filename                = lv_file&lt;/P&gt;&lt;P&gt;        filetype                = 'ASC'&lt;/P&gt;&lt;P&gt;        append                  = 'X'&lt;/P&gt;&lt;P&gt;        write_field_separator   = 'X'&lt;/P&gt;&lt;P&gt;        confirm_overwrite       = 'X'&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        data_tab                = gt_main&lt;/P&gt;&lt;P&gt;        fieldnames              = i_final&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;Edited by: vallamuthu madheswaran on Mar 17, 2010 11:34 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 05:39:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-format-not-supported/m-p/6744164#M1459049</guid>
      <dc:creator>vallamuthu_madheswaran2</dc:creator>
      <dc:date>2010-03-17T05:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: FILE FORMAT NOT SUPPORTED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-format-not-supported/m-p/6744165#M1459050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you would like to follow this approach to generate the excel file: &lt;/P&gt;&lt;P&gt;/people/otto.gold/blog/2010/02/11/happy-reporting-with-excel-ii&lt;/P&gt;&lt;P&gt;or go for this one:&lt;/P&gt;&lt;P&gt;/people/otto.gold/blog/2010/02/09/happy-reporting-with-abap-ole-excel&lt;/P&gt;&lt;P&gt;Regards, Otto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 08:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-format-not-supported/m-p/6744165#M1459050</guid>
      <dc:creator>OttoGold</dc:creator>
      <dc:date>2010-03-17T08:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: FILE FORMAT NOT SUPPORTED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-format-not-supported/m-p/6744166#M1459051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved myself. if double quote(") is there, then split the line. so l'm using the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF '"' IN gt_main-sgtxt WITH ''.&lt;/P&gt;&lt;P&gt; now it's working fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 10:35:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-format-not-supported/m-p/6744166#M1459051</guid>
      <dc:creator>vallamuthu_madheswaran2</dc:creator>
      <dc:date>2010-03-17T10:35:45Z</dc:date>
    </item>
  </channel>
</rss>

