<?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 File transfer Open dataset CSV file Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer-open-dataset-csv-file-problem/m-p/7827811#M1589680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue in transferring Korean characters to a .CSV file using open dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : c_file(200) TYPE c value '&lt;BR /&gt;INTERFACES\In\test8.CSV'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried&lt;/P&gt;&lt;P&gt;open dataset  c_file for output LEGACY TEXT MODE CODE PAGE '4103'.&lt;/P&gt;&lt;P&gt;open dataset  c_file for output    in TEXT MODE ENCODING NON-UNICODE.&lt;/P&gt;&lt;P&gt;open dataset  c_file for output    in TEXT MODE ENCODING Default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing is working. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But to download to the presentation server the below code is working. How can the same be achieved for uploading the file to application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;gui_download&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        filename                = 'D:/test123.xls'&lt;/P&gt;&lt;P&gt;        filetype                = 'ASC'&lt;/P&gt;&lt;P&gt;        write_field_separator   = 'X'&lt;/P&gt;&lt;P&gt;        dat_mode                = 'X'&lt;/P&gt;&lt;P&gt;        codepage                = '4103'&lt;/P&gt;&lt;P&gt;        write_bom               = 'X'&lt;/P&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;        data_tab                = t_tab&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;        not_supported_by_gui    = 22&lt;/P&gt;&lt;P&gt;        error_no_gui            = 23&lt;/P&gt;&lt;P&gt;        OTHERS                  = 24.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Apr 2011 07:24:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-04-19T07:24:00Z</dc:date>
    <item>
      <title>File transfer Open dataset CSV file Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer-open-dataset-csv-file-problem/m-p/7827811#M1589680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue in transferring Korean characters to a .CSV file using open dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : c_file(200) TYPE c value '&lt;BR /&gt;INTERFACES\In\test8.CSV'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried&lt;/P&gt;&lt;P&gt;open dataset  c_file for output LEGACY TEXT MODE CODE PAGE '4103'.&lt;/P&gt;&lt;P&gt;open dataset  c_file for output    in TEXT MODE ENCODING NON-UNICODE.&lt;/P&gt;&lt;P&gt;open dataset  c_file for output    in TEXT MODE ENCODING Default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing is working. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But to download to the presentation server the below code is working. How can the same be achieved for uploading the file to application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;gui_download&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        filename                = 'D:/test123.xls'&lt;/P&gt;&lt;P&gt;        filetype                = 'ASC'&lt;/P&gt;&lt;P&gt;        write_field_separator   = 'X'&lt;/P&gt;&lt;P&gt;        dat_mode                = 'X'&lt;/P&gt;&lt;P&gt;        codepage                = '4103'&lt;/P&gt;&lt;P&gt;        write_bom               = 'X'&lt;/P&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;        data_tab                = t_tab&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;        not_supported_by_gui    = 22&lt;/P&gt;&lt;P&gt;        error_no_gui            = 23&lt;/P&gt;&lt;P&gt;        OTHERS                  = 24.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 07:24:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer-open-dataset-csv-file-problem/m-p/7827811#M1589680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-19T07:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: File transfer Open dataset CSV file Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer-open-dataset-csv-file-problem/m-p/7827812#M1589681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would recommend to use OPEN DATASET ... ENCODING UTF-8 ...&lt;/P&gt;&lt;P&gt;If your excel version is unable to open this format, you can convert from 4110 to 4103 with report RSCP_CONVERT_FILE.&lt;/P&gt;&lt;P&gt;Please also have a look at&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1897529"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Nils Buerckel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 15:25:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-transfer-open-dataset-csv-file-problem/m-p/7827812#M1589681</guid>
      <dc:creator>nils_buerckel</dc:creator>
      <dc:date>2011-04-19T15:25:51Z</dc:date>
    </item>
  </channel>
</rss>

