<?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: Usage of Conversion Classes During Unicode Conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-conversion-classes-during-unicode-conversion/m-p/6749643#M1459910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have an EBCDIC system with code page 0100? (check it using SNLS transaction)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case, CL_ABAP_CONV_OUT_CE is okay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After having converted to code page 0120 (into xstring), here is how to cast xstring variable to character.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA x TYPE x LENGTH 800. " so that to compile, x length
                          " must be a multiple of 4 (don't ask why)
FIELD-SYMBOLS &amp;lt;c&amp;gt; TYPE c.
x = xstring. "make sure x is long enough
ASSIGN x TO &amp;lt;c&amp;gt; CASTING.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;BBKF-SGTXT = &amp;lt;c&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Mar 2010 22:01:38 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2010-03-29T22:01:38Z</dc:date>
    <item>
      <title>Usage of Conversion Classes During Unicode Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-conversion-classes-during-unicode-conversion/m-p/6749642#M1459909</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 have code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; "TRANSLATE  BBKF-SGTXT FROM CODE PAGE '0100' TO '0120'"  Now During Unicode i need to Use the Conversion classes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help to proceede further on this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I am using  CL_ABAP_CONV_OUT_CE and I am getting the Data in Binary Format But I want that to be in Character format can any one suggest me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Mar 2010 11:36:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-conversion-classes-during-unicode-conversion/m-p/6749642#M1459909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-29T11:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of Conversion Classes During Unicode Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-conversion-classes-during-unicode-conversion/m-p/6749643#M1459910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have an EBCDIC system with code page 0100? (check it using SNLS transaction)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case, CL_ABAP_CONV_OUT_CE is okay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After having converted to code page 0120 (into xstring), here is how to cast xstring variable to character.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA x TYPE x LENGTH 800. " so that to compile, x length
                          " must be a multiple of 4 (don't ask why)
FIELD-SYMBOLS &amp;lt;c&amp;gt; TYPE c.
x = xstring. "make sure x is long enough
ASSIGN x TO &amp;lt;c&amp;gt; CASTING.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;BBKF-SGTXT = &amp;lt;c&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Mar 2010 22:01:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-conversion-classes-during-unicode-conversion/m-p/6749643#M1459910</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-03-29T22:01:38Z</dc:date>
    </item>
  </channel>
</rss>

