<?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 Translate string to code page '9902' in ecc6.0 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate-string-to-code-page-9902-in-ecc6-0/m-p/4562499#M1076915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a problem with Transalte statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Translate string to code page '9902' in ecc6.0'. Translate is obsolote statement in ECC6.0 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with a class CL_ABAP_CONV_IN_CE with method  CONVERT_STRUC mentioned in F1 help .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help regarding this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Oct 2008 09:44:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-08T09:44:39Z</dc:date>
    <item>
      <title>Translate string to code page '9902' in ecc6.0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate-string-to-code-page-9902-in-ecc6-0/m-p/4562499#M1076915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a problem with Transalte statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Translate string to code page '9902' in ecc6.0'. Translate is obsolote statement in ECC6.0 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with a class CL_ABAP_CONV_IN_CE with method  CONVERT_STRUC mentioned in F1 help .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help regarding this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 09:44:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translate-string-to-code-page-9902-in-ecc6-0/m-p/4562499#M1076915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T09:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Translate string to code page '9902' in ecc6.0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate-string-to-code-page-9902-in-ecc6-0/m-p/4562500#M1076916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What problem are you experiencing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example code from the documentation for class CL_ABAP_CONV_IN_CE is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA:
    BEGIN OF struc,
      text(5) TYPE c,
      int TYPE i,
    END OF struc.

  DATA:
    buffer TYPE xstring,
    conv TYPE REF TO cl_abap_conv_in_ce,
    view TYPE REF TO cl_abap_view_offlen.

  conv = cl_abap_conv_in_ce=&amp;gt;create(
            encoding = '0120'
            endian = 'B' ).

  view = cl_abap_view_offlen=&amp;gt;create_legacy_view( struc ).
  buffer = 'C18283F1F250505000010002'.

  conv-&amp;gt;convert_struc(
        EXPORTING input = buffer
                  view = view
        IMPORTING data = struc ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 10:18:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translate-string-to-code-page-9902-in-ecc6-0/m-p/4562500#M1076916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T10:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Translate string to code page '9902' in ecc6.0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate-string-to-code-page-9902-in-ecc6-0/m-p/4562501#M1076917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just see the below code . I am facing a problem with the statement  &lt;STRONG&gt;transalete code page&lt;/STRONG&gt; statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used whatever you have given that code . I didn't understand that buffer concept. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(IN_STRING)&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(OUT_STRING)&lt;/P&gt;&lt;P&gt;*"  EXCEPTIONS&lt;/P&gt;&lt;P&gt;*"      ERROR&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*DATA: str type ZCHAR60.             "D49K900158     (IBM INIDA)&lt;/P&gt;&lt;P&gt;DATA: str type ZCHAR60.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;str = in_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;translate str to upper case.&lt;/P&gt;&lt;P&gt;translate str to code page '9902'.        "D49K900158     (IBM INIDA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;out_string = str.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 03:46:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translate-string-to-code-page-9902-in-ecc6-0/m-p/4562501#M1076917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T03:46:55Z</dc:date>
    </item>
  </channel>
</rss>

