<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690277#M1293058</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;Please go through this code. This will solve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA: fir TYPE i,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;sec TYPE i,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;result_tab TYPE match_result_tab,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;res TYPE LINE OF match_result_tab,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;BEGIN OF tab OCCURS 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;line(255),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;END OF tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;tab-line = 'this is ITAB line'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;APPEND tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CLEAR tab-line.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;tab-line = 'this is ITAB1 line'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;APPEND tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CLEAR tab-line.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;tab-line = 'this is ITAB line'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;APPEND tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CLEAR tab-line.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;tab-line = 'this is ITAB1 line'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;APPEND tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CLEAR tab-line.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOOP AT tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;FIND ALL OCCURRENCES OF 'ITAB' IN&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;tab-line&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;RESULTS result_tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;LOOP AT result_tab INTO res.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;fir = res-offset - 1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;sec = res-offset + res-length.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;IF tab-line&lt;EM&gt;fir(1) = space AND tab-line&lt;/EM&gt;sec(1) = space.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;REPLACE ALL OCCURRENCES OF 'ITAB' IN tab-line WITH 'I_ITAB'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;REPLACEMENT OFFSET res-offset REPLACEMENT LENGTH res-length.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;ENDLOOP.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;MODIFY tab TRANSPORTING line.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDLOOP.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOOP AT tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;WRITE : / tab-line.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDLOOP.&lt;/STRONG&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;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Smart Varghese&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jun 2009 06:44:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-04T06:44:25Z</dc:date>
    <item>
      <title>Replace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690271#M1293052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with the REPLACE command.&lt;/P&gt;&lt;P&gt;lets say I need to replace   'ITAB'  with  'I_ITAB'.&lt;/P&gt;&lt;P&gt;But actually its also  replacing  in 'ITAB1' also coz it contains 'ITAB' in it.&lt;/P&gt;&lt;P&gt;I tried using LENGTH option in the REPLACE command .But it didnt work out.&lt;/P&gt;&lt;P&gt;Please help .&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;V S L Bharathi K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 05:41:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690271#M1293052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T05:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Replace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690272#M1293053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;You need to use REPLACE thrice .&lt;/P&gt;&lt;P&gt;First you need to replace ITAB1  with the most unused string (in the below EX: 'XYZ').&lt;/P&gt;&lt;P&gt;Now replace ITAB to I_ITAB.&lt;/P&gt;&lt;P&gt;Now repace back 'XYZ'  to  ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check bellow code  - -&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : w_string TYPE string VALUE 'ITAB ITAB1'.
REPLACE 'ITAB1' IN w_string WITH 'XYZ'. " replacing ITAB1 to XYZ
REPLACE 'ITAB' IN w_string WITH 'I_ITAB'. " Replacing ITAB to I_ITAB
REPLACE 'XYZ' IN w_string WITH 'ITAB1'.  " Replacing back XYZ to ITAB1
WRITE : w_string.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want replace all the occurrences try this - - &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : w_string TYPE string VALUE 'ITAB ITAB1'.
REPLACE ALL OCCURRENCES OF 'ITAB1' IN w_string WITH 'XYZ'.
.
.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pinaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 05:52:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690272#M1293053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T05:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Replace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690273#M1293054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are regular expressions available on your system?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 05:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690273#M1293054</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2009-06-04T05:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Replace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690274#M1293055</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;  If for eg variable contains 'ITAB ITAB1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace first occurence of 'ITAB' in &amp;lt;variable name&amp;gt; with &amp;lt;new value&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can also use offset value and length to replace a specific area in a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace 'ITAB' in  SECTION [OFFSET off] [LENGTH len] &lt;/P&gt;&lt;P&gt;with &amp;lt;new value&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;specify offset anf lenght which defines the section for which the replacement ll take place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ajit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: AJIT THAKUR on Jun 4, 2009 8:05 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 06:04:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690274#M1293055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T06:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Replace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690275#M1293056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_otfdata1 INTO wotfdata .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCE OF 'DUPLICATE' IN wotfdata-tdprintpar WITH 'ORIGINAL'.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;MODIFY it_otfdata1 FROM wotfdata INDEX sy-tabix TRANSPORTING tdprintpar.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 06:08:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690275#M1293056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T06:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Replace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690276#M1293057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajit ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I problem is i need replace a string in the whole program automaticaly using another program .&lt;/P&gt;&lt;P&gt;So I will not be knowing the position of the string where it is present to use the offset value .&lt;/P&gt;&lt;P&gt;Pleas help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;V S L Bharathi K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 06:30:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690276#M1293057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T06:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Replace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690277#M1293058</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;Please go through this code. This will solve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA: fir TYPE i,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;sec TYPE i,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;result_tab TYPE match_result_tab,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;res TYPE LINE OF match_result_tab,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;BEGIN OF tab OCCURS 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;line(255),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;END OF tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;tab-line = 'this is ITAB line'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;APPEND tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CLEAR tab-line.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;tab-line = 'this is ITAB1 line'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;APPEND tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CLEAR tab-line.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;tab-line = 'this is ITAB line'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;APPEND tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CLEAR tab-line.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;tab-line = 'this is ITAB1 line'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;APPEND tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CLEAR tab-line.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOOP AT tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;FIND ALL OCCURRENCES OF 'ITAB' IN&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;tab-line&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;RESULTS result_tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;LOOP AT result_tab INTO res.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;fir = res-offset - 1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;sec = res-offset + res-length.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;IF tab-line&lt;EM&gt;fir(1) = space AND tab-line&lt;/EM&gt;sec(1) = space.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;REPLACE ALL OCCURRENCES OF 'ITAB' IN tab-line WITH 'I_ITAB'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;REPLACEMENT OFFSET res-offset REPLACEMENT LENGTH res-length.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;ENDLOOP.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;MODIFY tab TRANSPORTING line.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDLOOP.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOOP AT tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;WRITE : / tab-line.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDLOOP.&lt;/STRONG&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;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Smart Varghese&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 06:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690277#M1293058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T06:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Replace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690278#M1293059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kamala ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As because you will be replacing some contents of a program , from a program ,&lt;/P&gt;&lt;P&gt; inside the loop you need to replace from the field string as I told last post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT internal_table TO field_string.
REPLACE ALL OCCURRENCES OF 'ITAB1' IN fieldng WITH 'XYZ100'. " replacing ITAB1 to XYZ100
REPLACE ALL OCCURRENCES OF 'ITAB' IN fieldng WITH 'I_ITAB'. " Replacing ITAB to I_ITAB
REPLACE ALL OCCURRENCES OF 'XYZ100' IN fieldng WITH 'ITAB1'.  " Replace back XYZ100 to ITAB1
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definitely it will resolve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pinaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 07:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690278#M1293059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T07:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Replace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690279#M1293060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Varghese,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply ... it gave me the solution .&lt;/P&gt;&lt;P&gt;i have one more issue ... in the solution u gave ...i need to use 2 loops ..ie., loop in a loop...&lt;/P&gt;&lt;P&gt;can  i avoid that and use something else....to avoid performance issues ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help,&lt;/P&gt;&lt;P&gt;V S L Bharathi K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 09:03:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690279#M1293060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-05T09:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Replace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690280#M1293061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why we need to use Loop inside a loop because we are not sure how many occurences will be there&lt;/P&gt;&lt;P&gt;for the searching string in a line.&lt;/P&gt;&lt;P&gt;If you are sure that only one occurance will be there, then instead of looping through RESULT_TAB we can have a read on RESULT_TAB with INDEX 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mean while let me check any other possibilities.&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;Smart Varghese&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 09:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace/m-p/5690280#M1293061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-05T09:15:05Z</dc:date>
    </item>
  </channel>
</rss>

