<?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: 4.6 - convert string to xstring to binary table - how in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/4-6-convert-string-to-xstring-to-binary-table-how/m-p/8265973#M1632552</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;You can refer the below link where I have just now posted a possible &lt;SPAN __jive_emoticon_name="alert"&gt;&lt;/SPAN&gt; solution &amp;amp; see whether that helps. You need to check the open dataset/last part  in that I guess since your question more specific to conversion.&lt;/P&gt;&lt;P&gt;&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="10819093"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gokul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Nov 2011 02:43:04 GMT</pubDate>
    <dc:creator>gokul_radhakrishnan3</dc:creator>
    <dc:date>2011-11-16T02:43:04Z</dc:date>
    <item>
      <title>4.6 - convert string to xstring to binary table - how</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/4-6-convert-string-to-xstring-to-binary-table-how/m-p/8265972#M1632551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 4.7 I use the following code to create a binary table that is used to send an email file attachments of any record length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I build the string, adding data, tabs, and line breaks, convert string to xstring, convert xstring to binary table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: w_string type string.&lt;/P&gt;&lt;P&gt;data: x_string type xstring.&lt;/P&gt;&lt;P&gt;data: binary_att type standard table of solix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call function 'SCMS_STRING_TO_XSTRING'&lt;/P&gt;&lt;P&gt;         exporting&lt;/P&gt;&lt;P&gt;              text   = w_string&lt;/P&gt;&lt;P&gt;         importing&lt;/P&gt;&lt;P&gt;              buffer = x_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call function 'SCMS_XSTRING_TO_BINARY'&lt;/P&gt;&lt;P&gt;         exporting&lt;/P&gt;&lt;P&gt;              buffer          = x_string&lt;/P&gt;&lt;P&gt;              append_to_table = 'X'  "Do not clear/refresh table&lt;/P&gt;&lt;P&gt;         tables&lt;/P&gt;&lt;P&gt;              binary_tab      = binary_att.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We were bought by a company that uses 4.6.  I haven't found any functions or class/methods in the 4.6 system that will do the same thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is anyone doing this on a 4.6 system, if yes, how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bruce Tjosvold on Oct 26, 2011 7:42 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bruce Tjosvold on Oct 26, 2011 8:00 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 23:42:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/4-6-convert-string-to-xstring-to-binary-table-how/m-p/8265972#M1632551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-26T23:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: 4.6 - convert string to xstring to binary table - how</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/4-6-convert-string-to-xstring-to-binary-table-how/m-p/8265973#M1632552</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;You can refer the below link where I have just now posted a possible &lt;SPAN __jive_emoticon_name="alert"&gt;&lt;/SPAN&gt; solution &amp;amp; see whether that helps. You need to check the open dataset/last part  in that I guess since your question more specific to conversion.&lt;/P&gt;&lt;P&gt;&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="10819093"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gokul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 02:43:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/4-6-convert-string-to-xstring-to-binary-table-how/m-p/8265973#M1632552</guid>
      <dc:creator>gokul_radhakrishnan3</dc:creator>
      <dc:date>2011-11-16T02:43:04Z</dc:date>
    </item>
  </channel>
</rss>

