<?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: how to replace a number from string? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622013#M1863652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;How you populate the vat reg in the string. You may move the value from databse selection and move it to string by concatenation.&lt;/P&gt;&lt;P&gt;If so then while concatenating VAT REgNO &amp;amp; the value you can remove the Country key by checking if the VAT no CA 'ABCD.....Z' then do not concatenate that part to the string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;K.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2014 14:17:06 GMT</pubDate>
    <dc:creator>former_member188724</dc:creator>
    <dc:date>2014-09-29T14:17:06Z</dc:date>
    <item>
      <title>how to replace a number from string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622011#M1863650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I have below requirement can any one plz help me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this below string i want to remove &lt;STRONG&gt;GB&lt;/STRONG&gt; it is country key and this key is dynamic .how to remove it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;L_var1 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;string .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;STRONG&gt;l_var1 =&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ledger 0L&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VAT reg.no.: GB602372281&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RFASLM00/SAPUSER&amp;nbsp;&amp;nbsp;&amp;nbsp; Page&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1'&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="L0S55"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 14:01:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622011#M1863650</guid>
      <dc:creator>former_member220941</dc:creator>
      <dc:date>2014-09-29T14:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to replace a number from string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622012#M1863651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;would you always have "&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;VAT reg.no.:" preceding it?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 14:07:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622012#M1863651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-29T14:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to replace a number from string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622013#M1863652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;How you populate the vat reg in the string. You may move the value from databse selection and move it to string by concatenation.&lt;/P&gt;&lt;P&gt;If so then while concatenating VAT REgNO &amp;amp; the value you can remove the Country key by checking if the VAT no CA 'ABCD.....Z' then do not concatenate that part to the string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;K.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 14:17:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622013#M1863652</guid>
      <dc:creator>former_member188724</dc:creator>
      <dc:date>2014-09-29T14:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to replace a number from string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622014#M1863653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Use SPLIT statement to split your string at ':'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Like SPLIT lv_var1 into l_split_1 l_split_2 at ':'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In your second temporary variable you will have l_split_2 = GB1234567&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. l_var3 = l_split_2+2(10). " this will pass your digits of VAT no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Concatenate l_split_1 l_var3 into l_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just an idea how you can achieve it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 14:20:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622014#M1863653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-29T14:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to replace a number from string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622015#M1863654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Except &lt;STRONG&gt;GB&lt;/STRONG&gt; everything is remains same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 14:35:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622015#M1863654</guid>
      <dc:creator>former_member220941</dc:creator>
      <dc:date>2014-09-29T14:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to replace a number from string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622016#M1863655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;REPORT&amp;nbsp; &lt;/SPAN&gt;ztezt&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;text &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;string &lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'I know you know GB602372281 RFA'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;text1 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;string&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text2 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;c &lt;/SPAN&gt;LENGTH &lt;SPAN class="L0S32"&gt;48&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; off &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;i&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lv_len &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;i&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; len &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;i&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; lv_len &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;strlen&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;text &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;FIND &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'GB' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;text &lt;/SPAN&gt;MATCH OFFSET off&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MATCH LENGTH len&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;REPLACE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SECTION &lt;/SPAN&gt;OFFSET off LENGTH len &lt;SPAN class="L0S52"&gt;OF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;text &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'&amp;nbsp; '&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; lv_len &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lv_len &lt;SPAN class="L0S70"&gt;- &lt;/SPAN&gt;off&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; lv_len &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lv_len &lt;SPAN class="L0S70"&gt;- &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;SPLIT &lt;/SPAN&gt;text+off&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;lv_len&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;at &lt;/SPAN&gt;space &lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;text1 text2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;WRITE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;text&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 14:39:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622016#M1863655</guid>
      <dc:creator>GirieshM</dc:creator>
      <dc:date>2014-09-29T14:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to replace a number from string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622017#M1863656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check for &lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;VAT reg.no. &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="L0S33"&gt;using CS and then pick up offset using Sy-fdpos then sy-fdpos+lengthof (&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;VAT reg.no.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="L0S33"&gt;) and this would be teh position where your country key starts, you can now remove it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 14:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622017#M1863656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-29T14:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to replace a number from string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622018#M1863657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GB is not constant it is dynamic...it may be IN or US or DE like that..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 15:10:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622018#M1863657</guid>
      <dc:creator>former_member220941</dc:creator>
      <dc:date>2014-09-29T15:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to replace a number from string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622019#M1863658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try any of the 3 steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The offset of the Country code is it constant?. i.e., it always comes at 16th position for example. If so try to hard code offset directly.&lt;/P&gt;&lt;P&gt;2. check you might find his country code in local or global variables. Based on that you can change your Find syntax.&lt;/P&gt;&lt;P&gt;3. You have to find the company code from respective table based on key and write the syntax based on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Giriesh M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 15:17:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622019#M1863658</guid>
      <dc:creator>GirieshM</dc:creator>
      <dc:date>2014-09-29T15:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to replace a number from string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622020#M1863659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;As you say all are no's except GB or can be any other country.&lt;/P&gt;&lt;P&gt;Declare a variable of type numeric,&lt;/P&gt;&lt;P&gt;move the contents of the vat which contains GB123456.&lt;/P&gt;&lt;P&gt;then it will contai only nos without country, provided all nos will come after GB, i.e.,GB doesn't come in between no's.if the format is different please send the possible formats.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;K.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 19:32:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622020#M1863659</guid>
      <dc:creator>former_member188724</dc:creator>
      <dc:date>2014-09-29T19:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to replace a number from string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622021#M1863660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: lv_vat type string value 'GB602372281'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace all occurance of sy-abcd in lv_vat by space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;condence lv_vat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 20:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622021#M1863660</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2014-09-29T20:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to replace a number from string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622022#M1863661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to first define how to recognize country key before trying to remove it.&lt;/P&gt;&lt;P&gt;I am assuming that it would be first 2 alphabets that appear right after string ' VAT reg&lt;SPAN class="L0S55"&gt;.&lt;SPAN class="L0S52"&gt;no&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;&lt;/SPAN&gt;' and I am replacing only the first occurrence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at this snippet.&lt;/P&gt;&lt;DIV style="background-color: #e7e5dc; width: auto; overflow: auto; margin: 1em 0 !important; padding-top: 1px; font-family: courier new,courier;"&gt;&lt;OL start="1" style="list-style: decimal; background-color: #fff; margin: 0 0 1px 3.5em !important; padding: 0; color: #5c5c5c;"&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;DATA &lt;/SPAN&gt;str &lt;SPAN style="color: #0000ff;"&gt;TYPE &lt;/SPAN&gt;string&lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN style="color: #4da619;"&gt;'Ledger 0L&amp;nbsp; VAT reg.no.: GB602372281&amp;nbsp; RFASLM00/SAPUSER'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;REPLACE &lt;/SPAN&gt;REGEX &lt;SPAN style="color: #4da619;"&gt;'(?:VAT reg.no.: )[a-zA-Z]{2}' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;IN &lt;/SPAN&gt;str &lt;SPAN style="color: #0000ff;"&gt;WITH &lt;/SPAN&gt;&lt;SPAN style="color: #4da619;"&gt;''&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;WRITE &lt;/SPAN&gt;str&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;P&gt;/.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 08:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622022#M1863661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-30T08:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to replace a number from string?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622023#M1863662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Manish it is working fine.....&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1024/images/emoticons/happy.gif"&gt;&lt;/SPAN&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;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 09:15:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-a-number-from-string/m-p/10622023#M1863662</guid>
      <dc:creator>former_member220941</dc:creator>
      <dc:date>2014-09-30T09:15:18Z</dc:date>
    </item>
  </channel>
</rss>

