<?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 SCMS_TEXT_TO_BINARY only one column in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/scms-text-to-binary-only-one-column/m-p/10262393#M1830374</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 am trying to convert an internal table to binary so I can email it. I am trying right now to use the FM SCMS_TEXT_TO_BINARY, but it only outputs the first column, regardless of the internal table structure or its contents. Is there something about the parameters that needs to be a certain way, or is there a newer and/ or better way to do this. I need to be able to convert any internal table to binary to email as an excel attachment using CL_BCS methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2014 18:22:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-05-02T18:22:53Z</dc:date>
    <item>
      <title>SCMS_TEXT_TO_BINARY only one column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scms-text-to-binary-only-one-column/m-p/10262393#M1830374</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 am trying to convert an internal table to binary so I can email it. I am trying right now to use the FM SCMS_TEXT_TO_BINARY, but it only outputs the first column, regardless of the internal table structure or its contents. Is there something about the parameters that needs to be a certain way, or is there a newer and/ or better way to do this. I need to be able to convert any internal table to binary to email as an excel attachment using CL_BCS methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 18:22:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scms-text-to-binary-only-one-column/m-p/10262393#M1830374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-02T18:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: SCMS_TEXT_TO_BINARY only one column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scms-text-to-binary-only-one-column/m-p/10262394#M1830375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try using method string_to_solix from class cl_bcs_convert, pass the internal table as the lv_string parameter. For more information check out he example bcs_example_7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 18:57:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scms-text-to-binary-only-one-column/m-p/10262394#M1830375</guid>
      <dc:creator>Paulo_Vantini</dc:creator>
      <dc:date>2014-05-02T18:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: SCMS_TEXT_TO_BINARY only one column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scms-text-to-binary-only-one-column/m-p/10262395#M1830376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but that won't work because lv_string is not type compatible with any internal table. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 20:08:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scms-text-to-binary-only-one-column/m-p/10262395#M1830376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-02T20:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: SCMS_TEXT_TO_BINARY only one column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scms-text-to-binary-only-one-column/m-p/10262396#M1830377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Zack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is possible to manually loop the internal table to a work area and concatenate the entries into the lv_string parameter. When you want a new line you have to use cl_bcs_convert=&amp;gt;gc_crlf and when you want a new column you have to use command cl_bcs_convert=&amp;gt;gc_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can define constants for those commands and then use it to build.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; CONCATENATE v_lstring text-015 c_new_column&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text-016 c_new_column&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;c_new_line INTO v_lstring.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; CONCATENATE v_lstring wa_x-z c_new_column&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_x-y c_new_column&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;c_new_line INTO v_lstring.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hope that helps.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 20:30:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scms-text-to-binary-only-one-column/m-p/10262396#M1830377</guid>
      <dc:creator>Paulo_Vantini</dc:creator>
      <dc:date>2014-05-02T20:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: SCMS_TEXT_TO_BINARY only one column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scms-text-to-binary-only-one-column/m-p/10262397#M1830378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it,thanks. Before I had posted I had tried converting the to string and then passing it to method cl_bcs_convert=&amp;gt;string_to_solix but was obviously having trouble in the output due to the need for the constants for setting each row and column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 15:44:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scms-text-to-binary-only-one-column/m-p/10262397#M1830378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-05T15:44:28Z</dc:date>
    </item>
  </channel>
</rss>

