<?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 Converting .xls sheet into .csv sheet in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-xls-sheet-into-csv-sheet/m-p/3363623#M807102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any program available which will convert an excel sheet into .csv sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has worked on this then please forward me the code for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;N.Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2008 12:47:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-07T12:47:24Z</dc:date>
    <item>
      <title>Converting .xls sheet into .csv sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-xls-sheet-into-csv-sheet/m-p/3363623#M807102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any program available which will convert an excel sheet into .csv sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has worked on this then please forward me the code for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;N.Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 12:47:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-xls-sheet-into-csv-sheet/m-p/3363623#M807102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T12:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Converting .xls sheet into .csv sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-xls-sheet-into-csv-sheet/m-p/3363624#M807103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Nishu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Check out this related thread&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2788804"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 12:49:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-xls-sheet-into-csv-sheet/m-p/3363624#M807103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T12:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Converting .xls sheet into .csv sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-xls-sheet-into-csv-sheet/m-p/3363625#M807104</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;The above said link has put the data from excel sheet into the internal table. Does anybody has the sample code now to download the contents of internal table into csv sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;N.Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 06:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-xls-sheet-into-csv-sheet/m-p/3363625#M807104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T06:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Converting .xls sheet into .csv sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-xls-sheet-into-csv-sheet/m-p/3363626#M807105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nishu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: fname type string value 'C:\file.csv'.&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                      = fname.&lt;/P&gt;&lt;P&gt;   FILETYPE                      = 'ASC'&lt;/P&gt;&lt;P&gt;   WRITE_FIELD_SEPARATOR         = ','&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                      = itab&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;Here above declare file variable fname of type string and pass the file path. In the function module 'itab' is the internal table where you have data that needs to be exported to .csv file and make sure that you have given    WRITE_FIELD_SEPARATOR   = ',' which is comma separator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I am assuming that you have taken data from excel sheet to internal table 'itab' using Santhosh posting message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;yellappa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: yellappa m on Feb 8, 2008 12:07 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 06:35:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-xls-sheet-into-csv-sheet/m-p/3363626#M807105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T06:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Converting .xls sheet into .csv sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-xls-sheet-into-csv-sheet/m-p/3363627#M807106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the FM SAP_CONVERT_XLS_TO_SAP to upload the data in the excel sheet and then convert the data into CSV format by using the FM SAP_CONVERT_TO_CSV_FORMAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then use the FM GUI_DOWNLOAD to download the data .&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;Thanks,&lt;/P&gt;&lt;P&gt;Avanish Joshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 06:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-xls-sheet-into-csv-sheet/m-p/3363627#M807106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T06:48:13Z</dc:date>
    </item>
  </channel>
</rss>

