<?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: Replace Occurences in Internal Table. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226098#M1717973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you already tried with the CHARACTER/BYTE MODE additions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2013 09:08:16 GMT</pubDate>
    <dc:creator>kakshat</dc:creator>
    <dc:date>2013-01-21T09:08:16Z</dc:date>
    <item>
      <title>Replace Occurences in Internal Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226094#M1717969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Times New Roman','serif'; color: black; background: white;"&gt;Hello Experts,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Times New Roman','serif'; color: black; background: white;"&gt;&amp;nbsp; I have internal table like shown below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Times New Roman','serif'; color: black; background: white;"&gt; APPEND 'SO_SEL' TO itab.&lt;BR /&gt; APPEND 'SO_TEST' TO itab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Times New Roman','serif'; color: black; background: white;"&gt;In the above internal can we replace ‘SO’ with only ‘S’.I tried using statement&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Times New Roman','serif'; color: black; background: white;"&gt; REPLACE ALL OCCURRENCES OF REGEX&amp;nbsp; '\b(SO)\b' &lt;BR /&gt; IN TABLE itab WITH 'S'&lt;BR /&gt; RESPECTING CASE .&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Times New Roman','serif'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Times New Roman','serif'; color: black; background: white;"&gt;But its not working.Please advise.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Times New Roman','serif'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Times New Roman','serif'; color: black; background: white;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Times New Roman','serif'; color: black; background: white;"&gt;prabahran&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 05:07:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226094#M1717969</guid>
      <dc:creator>former_member184739</dc:creator>
      <dc:date>2013-01-21T05:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Occurences in Internal Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226095#M1717970</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; &lt;SPAN class="L0S52"&gt;REPLACE &lt;SPAN class="L0S52"&gt;ALL&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;OCCURRENCES&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;OF&lt;/SPAN&gt; &lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;'SO' IN&lt;/SPAN&gt; itab &lt;SPAN class="L0S52"&gt;WITH&lt;/SPAN&gt; &lt;SPAN class="L0S33"&gt;' S'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 05:21:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226095#M1717970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-21T05:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Occurences in Internal Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226096#M1717971</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;Modify your code&amp;nbsp; as below: &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;APPEND &lt;SPAN class="L0S33"&gt;'SO_SEL' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;itab.&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'SO_TEST' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;itab.&lt;BR /&gt; &lt;BR /&gt;&lt;STRONG&gt; &lt;SPAN class="L0S52"&gt;REPLACE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OCCURRENCES &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;REGEX &lt;SPAN class="L0S33"&gt;'SO'&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;itab &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'S'&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; RESPECTING CASE.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;This worked for me &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1151/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 06:55:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226096#M1717971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-21T06:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Occurences in Internal Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226097#M1717972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt; I tried as per your suggestion but its not working.Please see the below screenshots(Before &amp;amp; After Replace statement). 'SO' gets replaced by 'S' in column SELANAME but 'S' present in the column 'KIND' gets shifted into column 'SELNAME'.Please advise if i am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;,&amp;amp;quot;serif&amp;amp;quot;; font-size: 10pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: black; font-size: 10pt; background: white; Times New Roman&amp;amp;quot: ; font-family: &amp;amp;quot; serif&amp;amp;quot: ; ,&amp;amp;quot: ;"&gt;prabahran&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;,&amp;amp;quot;serif&amp;amp;quot;; font-size: 10pt;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/176588" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/176589" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 08:43:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226097#M1717972</guid>
      <dc:creator>former_member184739</dc:creator>
      <dc:date>2013-01-21T08:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Occurences in Internal Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226098#M1717973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you already tried with the CHARACTER/BYTE MODE additions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 09:08:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226098#M1717973</guid>
      <dc:creator>kakshat</dc:creator>
      <dc:date>2013-01-21T09:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Occurences in Internal Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226099#M1717974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Prabaharan ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you tell me how you are using the replace statement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried myself , not getting such prblm&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;types : &lt;SPAN class="L0S52"&gt;begin &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;of &lt;/SPAN&gt;ty_sel,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; selname(8),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kind(1),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;end &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;of &lt;/SPAN&gt;ty_sel.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;data &lt;/SPAN&gt;: pt_selection &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;standard &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;table &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;of &lt;/SPAN&gt;ty_sel,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_sel &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;ty_sel.&lt;BR /&gt; &lt;BR /&gt; wa_sel-selname = &lt;SPAN class="L0S33"&gt;'p_fmarea'&lt;/SPAN&gt;.&lt;BR /&gt; wa_sel-kind&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;SPAN class="L0S33"&gt;'P'&lt;/SPAN&gt;.&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;append &lt;/SPAN&gt;wa_sel &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;pt_selection.&lt;BR /&gt; &lt;BR /&gt; wa_sel-selname = &lt;SPAN class="L0S33"&gt;'p_layout'&lt;/SPAN&gt;.&lt;BR /&gt; wa_sel-kind&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;SPAN class="L0S33"&gt;'P'&lt;/SPAN&gt;.&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;append &lt;/SPAN&gt;wa_sel &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;pt_selection.&lt;BR /&gt; &lt;BR /&gt; wa_sel-selname = &lt;SPAN class="L0S33"&gt;'SO_ABCAX'&lt;/SPAN&gt;.&lt;BR /&gt; wa_sel-kind&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;SPAN class="L0S33"&gt;'S'&lt;/SPAN&gt;.&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;append &lt;/SPAN&gt;wa_sel &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;pt_selection.&lt;BR /&gt; &lt;BR /&gt; wa_sel-selname = &lt;SPAN class="L0S33"&gt;'SO_XYZ'&lt;/SPAN&gt;.&lt;BR /&gt; wa_sel-kind&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;SPAN class="L0S33"&gt;'S'&lt;/SPAN&gt;.&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;append &lt;/SPAN&gt;wa_sel &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;pt_selection.&lt;BR /&gt; &lt;BR /&gt; wa_sel-selname = &lt;SPAN class="L0S33"&gt;'SO_PQR'&lt;/SPAN&gt;.&lt;BR /&gt; wa_sel-kind&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;SPAN class="L0S33"&gt;'S'&lt;/SPAN&gt;.&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;append &lt;/SPAN&gt;wa_sel &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;pt_selection.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;pt_selection &lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;wa_sel.&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;replace &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;all &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;occurrences &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;of &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'SO' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;in &lt;/SPAN&gt;wa_sel-selname &lt;SPAN class="L0S52"&gt;with &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'S'&lt;/SPAN&gt;.&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;modify &lt;/SPAN&gt;pt_selection &lt;SPAN class="L0S52"&gt;from &lt;/SPAN&gt;wa_sel.&lt;BR /&gt; ENDLOOP.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 09:43:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226099#M1717974</guid>
      <dc:creator>yogendra_bhaskar</dc:creator>
      <dc:date>2013-01-21T09:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Occurences in Internal Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226100#M1717975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yogesh,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;could you tell me how you are using the replace statement ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;REPLACE ALL OCCURRENCES OF REGEX 'SO_'&lt;SPAN class="L0S31"&gt;&amp;nbsp;&amp;nbsp; IN TABLE itab WITH 'S_'&lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S31"&gt; RESPECTING CASE.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S31"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S31"&gt;i didnt loop the table instead i used the above statement.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S31"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S31"&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S31"&gt;prabaharan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 10:06:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226100#M1717975</guid>
      <dc:creator>former_member184739</dc:creator>
      <dc:date>2013-01-21T10:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Occurences in Internal Table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226101#M1717976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi prabaharan ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I consider it you do it by looping the table &amp;amp; replacing in the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define the field ( in which you need replacement ) as the last field in internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you are using &lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;REPLACE ALL OCCURRENCES OF REGEX 'SO_'&lt;SPAN class="L0S31"&gt;&amp;nbsp;&amp;nbsp; IN TABLE itab WITH 'S_'&lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S31"&gt; RESPECTING CASE.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S31"&gt;TABLE itab is being considered as string here , when you are replacing 'SO_' with 'S_' , actually you are replacing 3 characters by 2 characters , hence all the characters on right are being shifted one place to left .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;SPAN class="L0S31"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 11:01:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-occurences-in-internal-table/m-p/9226101#M1717976</guid>
      <dc:creator>yogendra_bhaskar</dc:creator>
      <dc:date>2013-01-21T11:01:17Z</dc:date>
    </item>
  </channel>
</rss>

