<?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: No-gaps in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309637#M792741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i use the condense statemetns before the replace statement it works fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is like this below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var2 = 'cn=AAA BBB        ,c=d,e=f'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont want to have the space after BBB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there is any possibility for this alone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to have like this only &lt;/P&gt;&lt;P&gt;var2 = 'cn=AAA BBB,c=d,e=f'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also this variable have been defined with CHAR255( it cannot be changed also)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2008 14:06:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-21T14:06:59Z</dc:date>
    <item>
      <title>No-gaps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309633#M792737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement like this below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var1 = 'AAA BBB'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var2 = 'cn=groupid,c = d,e = f'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace groupid with var1 into var2.&lt;/P&gt;&lt;P&gt;CONDENSE var2 NO-GAPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here when i use condense no-gaps the gaps with AAA and BBB will get condensed..&lt;/P&gt;&lt;P&gt;For some case i need to have those gap only sand for some case i need to condense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st case:&lt;/P&gt;&lt;P&gt;var2 = 'cn=AAA BBB,c=d,e=f'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd case:&lt;/P&gt;&lt;P&gt;var2 = 'cn=AAABBB,c=d,e=f'.( this case works fine with condesne statement)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i achieve 1st case ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 13:51:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309633#M792737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T13:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: No-gaps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309634#M792738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do the CONDENSE before the REPLACE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 13:55:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309634#M792738</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-01-21T13:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: No-gaps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309635#M792739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for the first case ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; replace VAR1  into VAR2  then condense VAR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for second case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First condense VAR1 then Replace into VAR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you got the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward If useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nageswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 13:57:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309635#M792739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T13:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: No-gaps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309636#M792740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;gt; Dear Guys,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; I have a requirement like this below&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; var1 = 'AAA BBB'&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; var2 = 'cn=groupid,c = d,e = f'.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Replace groupid with var1 into var2.&lt;/P&gt;&lt;P&gt;&amp;gt; CONDENSE var2 NO-GAPS.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Here when i use condense no-gaps the gaps with AAA and BBB will get condensed..&lt;/P&gt;&lt;P&gt;&amp;gt; For some case i need to have those gap only sand for some case i need to condense.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; 1st case:&lt;/P&gt;&lt;P&gt;&amp;gt; var2 = 'cn=AAA BBB,c=d,e=f'.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
"here again use REPLACE statement .
 Replace 'AAABBB'  with var1 into var2.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;gt; 2nd case:&lt;/P&gt;&lt;P&gt;&amp;gt; var2 = 'cn=AAABBB,c=d,e=f'.( this case works fine with condesne statement)&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; How can i achieve 1st case ?&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; regards&lt;/P&gt;&lt;P&gt;&amp;gt; senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 13:59:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309636#M792740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T13:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: No-gaps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309637#M792741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i use the condense statemetns before the replace statement it works fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is like this below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var2 = 'cn=AAA BBB        ,c=d,e=f'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont want to have the space after BBB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there is any possibility for this alone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to have like this only &lt;/P&gt;&lt;P&gt;var2 = 'cn=AAA BBB,c=d,e=f'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also this variable have been defined with CHAR255( it cannot be changed also)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 14:06:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309637#M792741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T14:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: No-gaps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309638#M792742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok... in that case define another variable&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
var3 = 'cn=AAA BBB'.
CONDENSE var3. " do not use NO-GAPS
var2 = 'c=d,e=f'

CONCATENATE var3 var2 INTO var2
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 14:12:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309638#M792742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T14:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: No-gaps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309639#M792743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is not there a hidden space after 'AAA BBB'? Or between var2 and ,c in var1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 14:13:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309639#M792743</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-01-21T14:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: No-gaps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309640#M792744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then do on ehte thing &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the first case when you condense it immediately  use the Delete leading space . then use replace &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nageswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 14:15:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309640#M792744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T14:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: No-gaps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309641#M792745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx guys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 14:41:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/no-gaps/m-p/3309641#M792745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T14:41:45Z</dc:date>
    </item>
  </channel>
</rss>

