<?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: syntax help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369197#M182094</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;         Use &amp;lt;b&amp;gt;REPLACE&amp;lt;/b&amp;gt; statement.&lt;/P&gt;&lt;P&gt;DATA V_STRING TYPE STRING VALUE 'PAVAN,KUMAR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REPLACE ',' WITH ' , ' INTO V_STRING.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;WRITE:/ V_STRING.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now V_STRING will have value 'PAVAN , KUMAR'.&lt;/P&gt;&lt;P&gt;REPLACE will do one occurence replacement.If you need to have replacement for all occurences use the following syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REPLACE ALL OCCURRENCES OF ',' IN V_STRING&lt;/P&gt;&lt;P&gt;        WITH ' , '.&lt;/P&gt;&lt;P&gt;WRITE V_STRING.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vinaykumar Gorrela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 May 2006 08:02:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-30T08:02:31Z</dc:date>
    <item>
      <title>syntax help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369194#M182091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a string like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pavan,kumar and i want this displayed like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pavan , kumar how to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want space after pavan and space after ,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrads&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 07:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369194#M182091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T07:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: syntax help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369195#M182092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;REPLACE ALL OCCURRENCES OF ',' IN v_str WITH ` , `.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 07:58:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369195#M182092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T07:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: syntax help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369196#M182093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : m(50) type c,&lt;/P&gt;&lt;P&gt;       n(50) type c.&lt;/P&gt;&lt;P&gt;data : myspace(50) type c.&lt;/P&gt;&lt;P&gt;data : number type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;number = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate 'pawan' ',' into m separated by myspace(number).&lt;/P&gt;&lt;P&gt;concatenate  m  'kumar' into n separated by myspace(number).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 07:59:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369196#M182093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T07:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: syntax help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369197#M182094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;         Use &amp;lt;b&amp;gt;REPLACE&amp;lt;/b&amp;gt; statement.&lt;/P&gt;&lt;P&gt;DATA V_STRING TYPE STRING VALUE 'PAVAN,KUMAR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REPLACE ',' WITH ' , ' INTO V_STRING.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;WRITE:/ V_STRING.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now V_STRING will have value 'PAVAN , KUMAR'.&lt;/P&gt;&lt;P&gt;REPLACE will do one occurence replacement.If you need to have replacement for all occurences use the following syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REPLACE ALL OCCURRENCES OF ',' IN V_STRING&lt;/P&gt;&lt;P&gt;        WITH ' , '.&lt;/P&gt;&lt;P&gt;WRITE V_STRING.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vinaykumar Gorrela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 08:02:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369197#M182094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T08:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: syntax help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369198#M182095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following Code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lv_str(30) VALUE 'pavan,kumar',&lt;/P&gt;&lt;P&gt;        lv_str1(3) VALUE ' , '.&lt;/P&gt;&lt;P&gt;REPLACE  ',' WITH lv_str1 INTO lv_str.&lt;/P&gt;&lt;P&gt;WRITE lv_str.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 08:06:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369198#M182095</guid>
      <dc:creator>Santosh_Kezkhepatmelathil</dc:creator>
      <dc:date>2006-05-30T08:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: syntax help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369199#M182096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;copy paste and try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURReNCES OF ',' IN v_STRING WITH `  , ` .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the quote symbols key as the key above tab key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Chandrasekhar Jagarlamudi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 08:10:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369199#M182096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T08:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: syntax help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369200#M182097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI WENCELAUS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats the difference between normal single quote ' '  and&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;` `.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried ur solution with normal quote it is not giving correct output.&lt;/P&gt;&lt;P&gt;but when tried with ` ` output is correct...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u elaborate it??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;simha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 08:11:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369200#M182097</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2006-05-30T08:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: syntax help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369201#M182098</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;check this...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  ZTEST                               .

data: text(50),delimit(20).

text = 'pavan,kumar'.

concatenate ` ` ',' `  ` into delimit separated by space.

REPLACE ALL OCCURRENCES OF ',' IN text WITH delimit.

write text.&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;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 08:13:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369201#M182098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T08:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: syntax help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369202#M182099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narasimha,&lt;/P&gt;&lt;P&gt;When you use single quotes, the SPACE character is not preserved.&lt;/P&gt;&lt;P&gt;But when you use `, the SPACE character is preserved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Wenceslaus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 08:16:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-help/m-p/1369202#M182099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T08:16:42Z</dc:date>
    </item>
  </channel>
</rss>

