<?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: Issue with HTML code in excel in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-html-code-in-excel/m-p/6009057#M1345618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function module WWW_ITAB_TO_HTML is very correct and you are trying to display HTML code as EXCEL which is causing problem as it is not possible to display it as EXCEL. Instead if you open it as HTML file using internal explorer then it will display the data in proper format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Augustin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2009 08:52:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-31T08:52:24Z</dc:date>
    <item>
      <title>Issue with HTML code in excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-html-code-in-excel/m-p/6009056#M1345617</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;I am trying to send an internal table as an excel attachment thru an email.&lt;/P&gt;&lt;P&gt;I am converting the internal table into HTML format using the FM 'WWW_ITAB_TO_HTML' and then sending the mail using the BCS classes. I am trying to display the data in the excel sheet as a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i check the excel attachment , i found that some of the values under a column gets misplaced and appears at the top of the excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i tried to download ( while debugging ) the internal table returned by the WWW_ITAB_TO_HTML and open it as an HTML file. The HTML file does not open properly . The data appears more or less similar to what i see in the excel attachment .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i think there is some problem with the WWW_ITAB_TO_HTML' . I amy be wrong too on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers towards the issue resolution are welcome.&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, 31 Jul 2009 07:50:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-html-code-in-excel/m-p/6009056#M1345617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T07:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with HTML code in excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-html-code-in-excel/m-p/6009057#M1345618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function module WWW_ITAB_TO_HTML is very correct and you are trying to display HTML code as EXCEL which is causing problem as it is not possible to display it as EXCEL. Instead if you open it as HTML file using internal explorer then it will display the data in proper format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Augustin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 08:52:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-html-code-in-excel/m-p/6009057#M1345618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T08:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with HTML code in excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-html-code-in-excel/m-p/6009058#M1345619</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;I am currently working on a unicode system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same set of the data is displayed correctly in EXCEL in non-unicode system . In the non-unicode system, SO_SEND...API1 FM was used to send the email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However because of the problems with the excel attachment in unicode system, i have replaced the call to the API1 FM with the BCS class  and this is where the problem starts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me explain how to do i generate the mail in the BCS class in brief.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I move the records in the internal table returned by the WWW_ITAB_TO_HTML into a string. I then pass this to the CL_BCS_CONVERT=&amp;gt;string_to_solix to get an internal table in binary format which i then use to create attachment&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, 31 Jul 2009 09:23:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-html-code-in-excel/m-p/6009058#M1345619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T09:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with HTML code in excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-html-code-in-excel/m-p/6009059#M1345620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the method CL_BCS_CONVERT=&amp;gt;TXT_TO_SOLIX and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2009 11:33:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-html-code-in-excel/m-p/6009059#M1345620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-13T11:33:43Z</dc:date>
    </item>
  </channel>
</rss>

