<?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 Conversion of Binary to Text in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-binary-to-text/m-p/6937334#M1486771</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 have a text stored in the form of Binary,When i Read the text to display it in the report it displays "##" as a delimter at the end of each line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to convert the Binary data into text in 4.6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 May 2010 19:33:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-24T19:33:29Z</dc:date>
    <item>
      <title>Conversion of Binary to Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-binary-to-text/m-p/6937334#M1486771</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 have a text stored in the form of Binary,When i Read the text to display it in the report it displays "##" as a delimter at the end of each line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to convert the Binary data into text in 4.6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 19:33:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-binary-to-text/m-p/6937334#M1486771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-24T19:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of Binary to Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-binary-to-text/m-p/6937335#M1486772</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;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'SCMS_TEXT_TO_BIN'              
           EXPORTING TEXT_LINE = w_mm
           IMPORTING BIN_LINE  = w_kk.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'SCMS_BIN_TO_TEXT'             
         EXPORTING BIN_LINE  = w_xx
         IMPORTING TEXT_LINE = w_mm.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leandro Mengue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 20:08:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-binary-to-text/m-p/6937335#M1486772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-24T20:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of Binary to Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-binary-to-text/m-p/6937336#M1486773</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;May be also (older releases):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: w_mm   TYPE c,
        w_xx   TYPE x,
        w_ss(2)   TYPE c,

  FIELD-SYMBOLS: &amp;lt;w_kk&amp;gt; TYPE c.

    w_ss = '3F'.
    w_xx = w_ss.
    ASSIGN ('w_xx') TO &amp;lt;w_kk&amp;gt; CASTING TYPE c.
    w_mm = &amp;lt;w_kk&amp;gt;.


*      agora w_mm tem o caracter binario.
      ASSIGN w_mm TO &amp;lt;w_kk&amp;gt; CASTING TYPE x.
      WRITE &amp;lt;w_kk&amp;gt; TO w_ss.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leandro Mengue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 20:17:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-binary-to-text/m-p/6937336#M1486773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-24T20:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of Binary to Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-binary-to-text/m-p/6937337#M1486774</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;You can use follow forms in the ABAP side&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; FORM HEX_TO_CHAR                                                    *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM Hex_to_Char CHANGING p_value TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    x_length TYPE i,&lt;/P&gt;&lt;P&gt;    x_hexval TYPE REF TO DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  x_length = strlen( p_value ) / 2.&lt;/P&gt;&lt;P&gt;  CREATE DATA x_hexval TYPE x LENGTH x_length.&lt;/P&gt;&lt;P&gt;  ASSIGN x_hexval-&amp;gt;* TO &amp;lt;Xvalue&amp;gt; CASTING.&lt;/P&gt;&lt;P&gt;  &amp;lt;Xvalue&amp;gt; = p_value.&lt;/P&gt;&lt;P&gt;  ASSIGN &amp;lt;Xvalue&amp;gt;(x_length) TO &amp;lt;Cvalue&amp;gt; CASTING.&lt;/P&gt;&lt;P&gt;  p_value = &amp;lt;Cvalue&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; FORM CHAR_TO_HEX                                                    *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM Char_to_Hex CHANGING p_value TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    x_length TYPE i,&lt;/P&gt;&lt;P&gt;    x_chrval TYPE REF TO DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  x_length = strlen( p_value ).&lt;/P&gt;&lt;P&gt;  CREATE DATA x_chrval TYPE c LENGTH x_length.&lt;/P&gt;&lt;P&gt;  ASSIGN x_chrval-&amp;gt;* TO &amp;lt;Cvalue&amp;gt; CASTING.&lt;/P&gt;&lt;P&gt;  &amp;lt;Cvalue&amp;gt; = p_value.&lt;/P&gt;&lt;P&gt;  ASSIGN &amp;lt;Cvalue&amp;gt;(x_length) TO &amp;lt;Xvalue&amp;gt; CASTING.&lt;/P&gt;&lt;P&gt;  p_value = &amp;lt;Xvalue&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 20:32:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-binary-to-text/m-p/6937337#M1486774</guid>
      <dc:creator>former_member214857</dc:creator>
      <dc:date>2010-05-24T20:32:45Z</dc:date>
    </item>
  </channel>
</rss>

