<?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: Translate in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3523514#M847480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;check the folowing link&lt;/P&gt;&lt;P&gt;&lt;A href="http://scholar.google.com/scholar?q=translate" target="test_blank"&gt;http://scholar.google.com/scholar?q=translate&lt;/A&gt;&lt;EM&gt;keyword&lt;/EM&gt;in+ABAP&amp;amp;hl=en&amp;amp;um=1&amp;amp;ie=UTF-8&amp;amp;oi=scholart&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.abap2java.com/Category:Keyword_ABAP" target="test_blank"&gt;http://www.abap2java.com/Category:Keyword_ABAP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ionelburlacu.ro/abap/sap2/Beautify_Source_Code.html" target="test_blank"&gt;http://sap.ionelburlacu.ro/abap/sap2/Beautify_Source_Code.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://voiceofabap.blogspot.com/2008/01/translate-keyword-description-and.html" target="test_blank"&gt;http://voiceofabap.blogspot.com/2008/01/translate-keyword-description-and.html&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreelatha gullapalli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2008 11:53:18 GMT</pubDate>
    <dc:creator>sreelatha_gullapalli</dc:creator>
    <dc:date>2008-03-04T11:53:18Z</dc:date>
    <item>
      <title>Translate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3523509#M847475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai all,&lt;/P&gt;&lt;P&gt;   can any1 explain abt translate keyword(string concept).&lt;/P&gt;&lt;P&gt;nt able to get it......plz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 11:43:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3523509#M847475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T11:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Translate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3523510#M847476</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;TRANSLATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Converts characters to strings. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSLATE &amp;lt;c&amp;gt;  TO UPPER|LOWER CASE&lt;/P&gt;&lt;P&gt;              |USING &amp;lt;r&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The characters of the string &amp;lt;c&amp;gt; are converted into upper- or lowercase, or according to a substitution rule specified in &amp;lt;r&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 11:45:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3523510#M847476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T11:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Translate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3523511#M847477</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;sample code is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data wi(30) type c.&lt;/P&gt;&lt;P&gt;wi = 'hello'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; write:/  wi.&lt;/P&gt;&lt;P&gt;  translate wi to upper case.&lt;/P&gt;&lt;P&gt;  write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; wi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output..&lt;/P&gt;&lt;P&gt;HELLO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u,&lt;/P&gt;&lt;P&gt;Arunsri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 11:47:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3523511#M847477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T11:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Translate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3523512#M847478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;h1&amp;gt;TRANSLATE&amp;lt;/h1&amp;gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;TRANSLATE text {TO {UPPER|LOWER} CASE} &lt;/P&gt;&lt;P&gt;             | {USING pattern}. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extras: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ... TO {UPPER|LOWER} CASE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. ... USING  pattern &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;This statement converts the case or single characters of the character-type data object text. The statement CASE can be used for the conversion to upper/lower case; USING can be used for the conversion according to a pattern. The variable text must be character-type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;There are two obsolete variants of this statement: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1 &lt;/P&gt;&lt;P&gt;... TO {UPPER|LOWER} CASE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;If you specify UPPER, all lower-case letters of the data object text are converted to upper case. If you specify LOWER, all upper-case letters are converted to lower case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;The conversion of the upper/lower case depends on the text environment. Problems may occur if the language of the text environment differs from the language in which the data to be processed is entered. Data loss will occur if a conversion between the source and target language has not been defined. To avoid this type of inconsistency, you must appropriately set the text environment using the SET LOCALE statement prior to the conversion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;After the conversion, the variable text contains "CAREFUL WITH THAT AXE, EUGENE". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA text TYPE string. &lt;/P&gt;&lt;P&gt;text = `Careful with that Axe, Eugene`. &lt;/P&gt;&lt;P&gt;TRANSLATE text TO UPPER CASE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2 &lt;/P&gt;&lt;P&gt;... USING  pattern &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;If you specify USING, the characters in text are converted according to the rule specified in pattern. pattern must be a character-type data object whose contents are interpreted as a sequence of character pairs. text is searched for the first character of each pair, starting with the first pair, and each location found is replaced with the second character of the pair. The search is case-sensitive. If pattern contains a character multiple times as the first character of a pair, only the first pair is taken into account. A character in text that has already been replaced cannot be replaced again in the same TRANSLATE statement. Therefore, if the second character of a pair in pattern appears as the first character of a subsequent pair, the second pair affects only the original characters in text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trailing blanks in data objects text and pattern are taken into account for data objects. If pattern contains an uneven number of characters, the last character is ignored. If pattern is a blank string, no replacements take place. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;Converts the characters "A" to "B", "a" to "b", and vice versa. text contains "Abracadabra" after the conversion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA text TYPE string. &lt;/P&gt;&lt;P&gt;text = `Barbcbdbarb`. &lt;/P&gt;&lt;P&gt;TRANSLATE text USING 'ABBAabba'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 11:50:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3523512#M847478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T11:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Translate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3523513#M847479</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;suppose u have a variable w_acct having a length of 12 but u have given w_acct = 89789. &lt;/P&gt;&lt;P&gt;now i declare a constant of length 2 c_translate  = '  0'.ie space is the first char and 0 is the second char.&lt;/P&gt;&lt;P&gt;now if u use &lt;/P&gt;&lt;P&gt;TRANSLATE w_acct using c_translate .&lt;/P&gt;&lt;P&gt;This will replace the occurence of space by zeros.So it takes in pairs and replaces the first char by the second char in the string.&lt;/P&gt;&lt;P&gt;so now w_acct = 897890000000.&lt;/P&gt;&lt;P&gt;reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sowmya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 11:50:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3523513#M847479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T11:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Translate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3523514#M847480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;check the folowing link&lt;/P&gt;&lt;P&gt;&lt;A href="http://scholar.google.com/scholar?q=translate" target="test_blank"&gt;http://scholar.google.com/scholar?q=translate&lt;/A&gt;&lt;EM&gt;keyword&lt;/EM&gt;in+ABAP&amp;amp;hl=en&amp;amp;um=1&amp;amp;ie=UTF-8&amp;amp;oi=scholart&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.abap2java.com/Category:Keyword_ABAP" target="test_blank"&gt;http://www.abap2java.com/Category:Keyword_ABAP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ionelburlacu.ro/abap/sap2/Beautify_Source_Code.html" target="test_blank"&gt;http://sap.ionelburlacu.ro/abap/sap2/Beautify_Source_Code.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://voiceofabap.blogspot.com/2008/01/translate-keyword-description-and.html" target="test_blank"&gt;http://voiceofabap.blogspot.com/2008/01/translate-keyword-description-and.html&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreelatha gullapalli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 11:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3523514#M847480</guid>
      <dc:creator>sreelatha_gullapalli</dc:creator>
      <dc:date>2008-03-04T11:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Translate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3523515#M847481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai sowmya,&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;can u explain  translate in dis code......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Convert PDF from 132 to 255.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT i_pdf.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Replacing space by ~&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TRANSLATE i_pdf USING '~'.&lt;/P&gt;&lt;P&gt;CONCATENATE w_buffer i_pdf INTO w_buffer.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Replacing ~ by space&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TRANSLATE w_buffer USING '~'.&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;i_record = w_buffer.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Appending 255 characters as a record&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;APPEND i_record.&lt;/P&gt;&lt;P&gt;SHIFT w_buffer LEFT BY 255 PLACES.&lt;/P&gt;&lt;P&gt;IF w_buffer IS INITIAL.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 12:21:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3523515#M847481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T12:21:02Z</dc:date>
    </item>
  </channel>
</rss>

