<?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: Excel issue while download data by using cl_bcs class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-issue-while-download-data-by-using-cl-bcs-class/m-p/765161#M37531</link>
    <description>&lt;P&gt;Thanks &lt;A href="https://answers.sap.com/users/12589/winsesolomon.html"&gt;Solomon&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;its working for me.. thanks lot.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2019 10:31:10 GMT</pubDate>
    <dc:creator>sri6666</dc:creator>
    <dc:date>2019-03-04T10:31:10Z</dc:date>
    <item>
      <title>Excel issue while download data by using cl_bcs class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-issue-while-download-data-by-using-cl-bcs-class/m-p/765158#M37528</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;i am downloading different lanaguages vendor data by using class cl_bcs into excel sheet . but excel sheet shows&lt;/P&gt;
  &lt;P&gt;different format data which not actually. if i am download Chinese vendor data... its not showing in chinese language its showing in different format. can any one help me on this.&lt;/P&gt;
  &lt;P&gt;iam using below FM's for string to xstring and xsting to binary.&lt;/P&gt;
  &lt;P&gt;'HR_KR_STRING_TO_XSTRING' SPAN &lt;/P&gt;
  &lt;P&gt;'SCMS_XSTRING_TO_BINARY'&lt;/P&gt;
  &lt;P&gt;iam folling below code &lt;/P&gt;
  &lt;P&gt;&lt;A href="https://www.sapnuts.com/tutorials/Sending-email-with-attachment-in-SAP-ABAP/singlepage.html" target="test_blank"&gt;https://www.sapnuts.com/tutorials/Sending-email-with-attachment-in-SAP-ABAP/singlepage.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 15:39:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-issue-while-download-data-by-using-cl-bcs-class/m-p/765158#M37528</guid>
      <dc:creator>sri6666</dc:creator>
      <dc:date>2019-03-01T15:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Excel issue while download data by using cl_bcs class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-issue-while-download-data-by-using-cl-bcs-class/m-p/765159#M37529</link>
      <description>&lt;P&gt;If your Excel file is CSV format, then add the Byte Order Mark (BOM) for UTF-16LE :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  TRY.
      l_xstring = cl_bcs_convert=&amp;gt;string_to_xstring(
        EXPORTING
          iv_string     = l_string
          iv_codepage   = '4103' " UTF-16LE
          iv_add_bom    = abap_true ).
    CATCH cx_bcs.
      " handle the error
  ENDTRY.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;UTF-16LE is correctly handled by Microsoft Excel historically (better than UTF-8 and UTF-16BE).&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 16:03:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-issue-while-download-data-by-using-cl-bcs-class/m-p/765159#M37529</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-03-01T16:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Excel issue while download data by using cl_bcs class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-issue-while-download-data-by-using-cl-bcs-class/m-p/765160#M37530</link>
      <description>&lt;P&gt;Use the below code,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  TRY.
      cl_bcs_convert=&amp;gt;string_to_solix(
      EXPORTING
      iv_string = l_line
      iv_codepage = '4103' "suitable for MS Excel, leave empty
      iv_add_bom = 'X' "for other doc types
      IMPORTING
      et_solix = gt_binary_content
      ev_size = gv_size ).
    CATCH cx_bcs.
      MESSAGE e445(so).
  ENDTRY.
&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 03 Mar 2019 11:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-issue-while-download-data-by-using-cl-bcs-class/m-p/765160#M37530</guid>
      <dc:creator>former_member291971</dc:creator>
      <dc:date>2019-03-03T11:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Excel issue while download data by using cl_bcs class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-issue-while-download-data-by-using-cl-bcs-class/m-p/765161#M37531</link>
      <description>&lt;P&gt;Thanks &lt;A href="https://answers.sap.com/users/12589/winsesolomon.html"&gt;Solomon&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;its working for me.. thanks lot.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 10:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-issue-while-download-data-by-using-cl-bcs-class/m-p/765161#M37531</guid>
      <dc:creator>sri6666</dc:creator>
      <dc:date>2019-03-04T10:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Excel issue while download data by using cl_bcs class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-issue-while-download-data-by-using-cl-bcs-class/m-p/765162#M37532</link>
      <description>&lt;P&gt;thanks Roosi,&lt;/P&gt;&lt;P&gt;String_to_solix method working for my scanario.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 10:32:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-issue-while-download-data-by-using-cl-bcs-class/m-p/765162#M37532</guid>
      <dc:creator>sri6666</dc:creator>
      <dc:date>2019-03-04T10:32:28Z</dc:date>
    </item>
  </channel>
</rss>

