<?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 ABAP WebAS Active Codepage in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-webas-active-codepage/m-p/6741900#M1458740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to concatenate different lines in a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do so, I need to use CR + LF hexadecimal characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that, when I'm using an 8 bit/char environment, I just need to do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

constants : c_lf type x value '10'.

constants : c_cr type x value '13'.

data : g_html type string.

concatenate '&amp;lt;html&amp;gt;' c_cr c_lf into g_html.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but, when I'm in a 16 bit/char environment, the X variable does not represent the correct hexadecimal representation for CR and LF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I should use something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

constants : c_lf(2) type x value '0010'.

constants : c_cr(2) type x value '0013'.

data : g_html type string.

concatenate '&amp;lt;html&amp;gt;' c_cr c_lf into g_html.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, there is any way to find out the amount of bytes/char in use by ABAP WebAS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Mar 2010 14:07:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-10T14:07:49Z</dc:date>
    <item>
      <title>ABAP WebAS Active Codepage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-webas-active-codepage/m-p/6741900#M1458740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to concatenate different lines in a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do so, I need to use CR + LF hexadecimal characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that, when I'm using an 8 bit/char environment, I just need to do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

constants : c_lf type x value '10'.

constants : c_cr type x value '13'.

data : g_html type string.

concatenate '&amp;lt;html&amp;gt;' c_cr c_lf into g_html.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but, when I'm in a 16 bit/char environment, the X variable does not represent the correct hexadecimal representation for CR and LF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I should use something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

constants : c_lf(2) type x value '0010'.

constants : c_cr(2) type x value '0013'.

data : g_html type string.

concatenate '&amp;lt;html&amp;gt;' c_cr c_lf into g_html.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, there is any way to find out the amount of bytes/char in use by ABAP WebAS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 14:07:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-webas-active-codepage/m-p/6741900#M1458740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-10T14:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP WebAS Active Codepage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-webas-active-codepage/m-p/6741901#M1458741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you checked this ( I think you are in ECC 6)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
class CL_ABAP_CHAR_UTILITIES definition load.
CRLF = CL_ABAP_CHAR_UTILITIES =&amp;gt; CR_LF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 14:15:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-webas-active-codepage/m-p/6741901#M1458741</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2010-03-10T14:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP WebAS Active Codepage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-webas-active-codepage/m-p/6741902#M1458742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not quite sure, but can't you use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CL_ABAP_CHAR_UTILITIES=&amp;gt;CHARSIZE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is 1, you have a non-unicode system, otherwise it is 2, you have a unicode system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 14:55:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-webas-active-codepage/m-p/6741902#M1458742</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2010-03-10T14:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP WebAS Active Codepage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-webas-active-codepage/m-p/6741903#M1458743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much guys!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 17:51:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-webas-active-codepage/m-p/6741903#M1458743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-10T17:51:44Z</dc:date>
    </item>
  </channel>
</rss>

