<?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: Convert Excel File into Google Sheet Compatible Format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101951#M1972773</link>
    <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;vivekprabhu1&lt;/SPAN&gt; XLSX (Office Open XML) format is not really new. It is 13 years old. And yes you can create XLSX files with the ABAP, for example with &lt;A href="https://github.com/sapmentors/abap2xlsx"&gt;ABAP2XLSX&lt;/A&gt; or also standard ALV has build in export to XLSX format. Check for example "SALV to xlsx" keywords.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2019 08:27:10 GMT</pubDate>
    <dc:creator>Tomas_Buryanek</dc:creator>
    <dc:date>2019-12-16T08:27:10Z</dc:date>
    <item>
      <title>Convert Excel File into Google Sheet Compatible Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101946#M1972768</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
  &lt;P&gt;We just moved from using Excel to Google Sheets. So now we require all our files to open up in Google Sheets. I have gone through blogs on Google Sheet and SAP Integration using OAuth and it needs upgraded system and looks like a standard solution. All I would need is the file atleast opens up in Google Sheets when I upload it ( not directly save from SAP to Google ).&lt;/P&gt;
  &lt;P&gt;Though most files work, we have one program which downloads an ALV report using XML color formatting as per requirement.&lt;/P&gt;
  &lt;P&gt;The code snippet looks like this :&lt;/P&gt;
  &lt;P&gt;.......&lt;/P&gt;
  &lt;P&gt;* Creating a ixml Factory&lt;BR /&gt; l_ixml = cl_ixml=&amp;gt;create( ).&lt;BR /&gt; &lt;BR /&gt; * Creating the DOM Object Model&lt;BR /&gt; l_document = l_ixml-&amp;gt;create_document( ).&lt;BR /&gt; &lt;BR /&gt; * Create Root Node 'Workbook'&lt;BR /&gt; l_element_root = l_document-&amp;gt;create_simple_element_ns( name = 'Workbook' parent = l_document ).&lt;BR /&gt; l_element_root-&amp;gt;set_attribute( name = 'xmlns' value = 'urn:schemas-microsoft-com:office:spreadsheet' ).&lt;BR /&gt; &lt;BR /&gt; ns_attribute = l_document-&amp;gt;create_namespace_decl( name = 'ss' prefix = 'xmlns' uri = 'urn:schemas-microsoft-com:office:spreadsheet' ).&lt;BR /&gt; l_element_root-&amp;gt;set_attribute_node( ns_attribute ).&lt;BR /&gt; &lt;BR /&gt; ns_attribute = l_document-&amp;gt;create_namespace_decl( name = 'x' prefix = 'xmlns' uri = 'urn:schemas-microsoft-com:office:excel' ).&lt;BR /&gt; l_element_root-&amp;gt;set_attribute_node( ns_attribute ).&lt;/P&gt;
  &lt;P&gt;........&lt;/P&gt;
  &lt;P&gt;.........&lt;/P&gt;
  &lt;P&gt; CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'&lt;BR /&gt; EXPORTING&lt;BR /&gt; buffer = xtext&lt;BR /&gt; IMPORTING&lt;BR /&gt; output_length = lv_bin_size&lt;BR /&gt; TABLES&lt;BR /&gt; binary_tab = lt_data_tab.&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; CALL METHOD cl_gui_frontend_services=&amp;gt;gui_download&lt;BR /&gt; EXPORTING&lt;BR /&gt; bin_filesize = lv_bin_size&lt;BR /&gt; filename = lv_fullpath&lt;BR /&gt; filetype = 'BIN'&lt;BR /&gt; CHANGING&lt;BR /&gt; data_tab = lt_data_tab.&lt;/P&gt;
  &lt;P&gt;......&lt;/P&gt;
  &lt;P&gt;This file however does not open up in Google Sheets. I can convert this file using online converter &lt;A href="https://cloudconvert.com/xls-to-csv"&gt;https://cloudconvert.com/xls-to-csv&lt;/A&gt; to XLSX format which opens in Google Sheets along with color formatting.&lt;/P&gt;
  &lt;P&gt;Is there any way this conversion can be done in program ?&lt;/P&gt;
  &lt;P&gt;Thanks and Regards&lt;/P&gt;
  &lt;P&gt; Vivek&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 11:23:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101946#M1972768</guid>
      <dc:creator>vivekprabhu13</dc:creator>
      <dc:date>2019-12-13T11:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel File into Google Sheet Compatible Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101947#M1972769</link>
      <description>&lt;P&gt;So, your code currently generates an Excel file in the old XML 2003 format (AKA XMLSS).&lt;/P&gt;&lt;P&gt;And the online converter you mention converts it in a special CSV format which keeps the colors...&lt;/P&gt;&lt;P&gt;You should search a Google Sheets documentation which explains what input format is expected, and you code the converter in ABAP.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 13:58:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101947#M1972769</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-12-13T13:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel File into Google Sheet Compatible Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101948#M1972770</link>
      <description>&lt;P&gt;&lt;A href="https://support.google.com/drive/answer/7329379?hl=en"&gt;Google Drive File Stream&lt;/A&gt; will enable you to automatically synchronize Excel files with Google Sheets. you need to find add on to connect your files. there are few addon available to do it, just search. I cant not mention name. &lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 15:59:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101948#M1972770</guid>
      <dc:creator>Nawanandana</dc:creator>
      <dc:date>2019-12-13T15:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel File into Google Sheet Compatible Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101949#M1972771</link>
      <description>&lt;P&gt;Hi &lt;A href="https://answers.sap.com/users/302903/vivekprabhu1.html"&gt;Vivek Prabhu&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I could see same cloud convert has REST API &lt;A href="https://cloudconvert.com/api/v1/convert/xls-to-csv" target="_blank"&gt;API Console xls to csv&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have you tried consuming this API in ABAP and convert them?&lt;/P&gt;&lt;P&gt;You can use class CL_REST_HTTP_CLIENT to achieve it.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Dec 2019 02:39:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101949#M1972771</guid>
      <dc:creator>ThangaPrakash</dc:creator>
      <dc:date>2019-12-14T02:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel File into Google Sheet Compatible Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101950#M1972772</link>
      <description>&lt;P&gt;The cloud converter converts it into xlsx format - I am assuming this is the new format of excel. I was wondering if we can convert to xlsx format in ABAP itself. I cannot convert to CSV as CSV does not retain color formatting.&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;           Vivek&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 06:04:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101950#M1972772</guid>
      <dc:creator>vivekprabhu13</dc:creator>
      <dc:date>2019-12-16T06:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel File into Google Sheet Compatible Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101951#M1972773</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;vivekprabhu1&lt;/SPAN&gt; XLSX (Office Open XML) format is not really new. It is 13 years old. And yes you can create XLSX files with the ABAP, for example with &lt;A href="https://github.com/sapmentors/abap2xlsx"&gt;ABAP2XLSX&lt;/A&gt; or also standard ALV has build in export to XLSX format. Check for example "SALV to xlsx" keywords.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 08:27:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101951#M1972773</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2019-12-16T08:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel File into Google Sheet Compatible Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101952#M1972774</link>
      <description>&lt;P&gt;You can &lt;A href="https://blog.coupler.io/convert-excel-to-google-sheets/"&gt;convert excel to google sheets&lt;/A&gt; However, in some cases, you would lose some functionalities when you convert an Excel to Google Sheets&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 14:40:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101952#M1972774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2021-02-05T14:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Excel File into Google Sheet Compatible Format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101953#M1972775</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Have a question and
need help by the community? Or looking to help others in the community by
answering questions? Instead of posting into an old question thread, it is more
helpful, if you create your own question or respond to a recent question. Here
is how to get started:&lt;/P&gt;&lt;P&gt;1. Learn about
asking and answering questions in SAP Community with this tutorial: &lt;A href="https://developers.sap.com/tutorials/community-qa.html"&gt;https://developers.sap.com/tutorials/community-qa.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. To ask questions
visit: &lt;A href="https://answers.sap.com/questions/ask.html"&gt;https://answers.sap.com/questions/ask.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3. Wait for a
response.&lt;/P&gt;&lt;P&gt;That's it. Thank
you!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Your SAP Community
moderator&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 14:41:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-excel-file-into-google-sheet-compatible-format/m-p/12101953#M1972775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2021-02-05T14:41:46Z</dc:date>
    </item>
  </channel>
</rss>

