<?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/3151340#M749421</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;  Use REPLACE Statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA text TYPE string VALUE '-uu-'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF REGEX 'u*' IN text WITH 'x'. &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;PRashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2007 08:19:51 GMT</pubDate>
    <dc:creator>former_member386202</dc:creator>
    <dc:date>2007-12-19T08:19:51Z</dc:date>
    <item>
      <title>translate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3151338#M749419</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;The table t_zrs06 contains a field ZZSTOCK (TYPE :INT ) whose value &lt;/P&gt;&lt;P&gt;was 59. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the following  translate statement &lt;/P&gt;&lt;P&gt;  TRANSLATE t_zrs06 USING '; '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It  is coverting the value of ZZSTOCK from 59 to 32.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know your inputs.&lt;/P&gt;&lt;P&gt;Points will be rewarded for useful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 08:14:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3151338#M749419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T08:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: translate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3151339#M749420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ramya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it does not make much sense to use the TRANSLATE statement on integer value... What do you want to achieve?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 08:16:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3151339#M749420</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2007-12-19T08:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: translate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3151340#M749421</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;  Use REPLACE Statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA text TYPE string VALUE '-uu-'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF REGEX 'u*' IN text WITH 'x'. &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;PRashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 08:19:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3151340#M749421</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-12-19T08:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: translate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3151341#M749422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whatz u r excat question...??? &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 08:33:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3151341#M749422</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2007-12-19T08:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: translate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3151342#M749423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramya &amp;amp; Eric and everyone,&lt;/P&gt;&lt;P&gt;I agree with Eric: it doesn't make sense to use TRANSLATE into a non-char-like field.&lt;/P&gt;&lt;P&gt;Moreover, I recommend to do this replace line-by-line, that is:&lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt;  TRANSLATE ...&lt;/P&gt;&lt;P&gt;" ...or some command to change the contents of the field&lt;/P&gt;&lt;P&gt;  MODIFY itab.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;I hope this helps. Best regards,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 08:47:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3151342#M749423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T08:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: translate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3151343#M749424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you want to do acutally??? You cannot use translate on non-chacter fields.... Translate is used to convert lower to upper case vice versa. So please clear your question. What u want to achieve? What you are asking to solve?? it is not clear in your question. &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;sunil kairam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 09:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/translate/m-p/3151343#M749424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T09:00:09Z</dc:date>
    </item>
  </channel>
</rss>

