<?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 Why doesn't CONDENSE work on Char field? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-condense-work-on-char-field/m-p/9839487#M1784997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider the following code. It is quite piped down from the actual code but the point is clear. If you were to put this in you would see a large gap in what the write statement produces. The two variables are hard set at 15 because what can go in there will vary in size. Regardless of what goes in there when the write statement is processed, I want just 1 space between the variables and the next word in the sentence. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what comes out now if you run this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of First_One is: Value1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and the value of Second_One is: Value2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I want it to look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of First_One is: Value1 and the value of Second_One is: Value2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to SHIFT right deleting trailing however all it did was move the values and put the extra spaces to the left of the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I accomplish what I need?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;REPORT&amp;nbsp; Z_Generic_Stuff&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;First_One&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;15&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Value1' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;c&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Second_One&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;15&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Value2' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;c&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CONDENSE &lt;/SPAN&gt;First_One&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CONDENSE &lt;/SPAN&gt;Second_One&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WRITE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;/&lt;SPAN class="L0S33"&gt;'The value of First_One is:'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;First_One&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'and the value of Second_One is:'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;Second_One, '.'.&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Nov 2013 22:49:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-11-18T22:49:08Z</dc:date>
    <item>
      <title>Why doesn't CONDENSE work on Char field?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-condense-work-on-char-field/m-p/9839487#M1784997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider the following code. It is quite piped down from the actual code but the point is clear. If you were to put this in you would see a large gap in what the write statement produces. The two variables are hard set at 15 because what can go in there will vary in size. Regardless of what goes in there when the write statement is processed, I want just 1 space between the variables and the next word in the sentence. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what comes out now if you run this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of First_One is: Value1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and the value of Second_One is: Value2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I want it to look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of First_One is: Value1 and the value of Second_One is: Value2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to SHIFT right deleting trailing however all it did was move the values and put the extra spaces to the left of the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I accomplish what I need?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;REPORT&amp;nbsp; Z_Generic_Stuff&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;First_One&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;15&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Value1' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;c&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Second_One&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;15&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Value2' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;c&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CONDENSE &lt;/SPAN&gt;First_One&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CONDENSE &lt;/SPAN&gt;Second_One&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WRITE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;/&lt;SPAN class="L0S33"&gt;'The value of First_One is:'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;First_One&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'and the value of Second_One is:'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;Second_One, '.'.&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 22:49:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-condense-work-on-char-field/m-p/9839487#M1784997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-18T22:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't CONDENSE work on Char field?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-condense-work-on-char-field/m-p/9839488#M1784998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Concatenate the strings seperated by gaps and then print the variable into which the strings get concatenated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data: V1&lt;SPAN class="L0S55"&gt;(&lt;SPAN class="L0S32"&gt;100&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;c&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;Concatenate &lt;SPAN class="L0S33"&gt;'The value of First_One is:' &lt;/SPAN&gt;First_One &lt;SPAN class="L0S33"&gt;'and the value of Second_One is:' &lt;/SPAN&gt;Second_One &lt;SPAN class="L0S33"&gt;'.' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;V1 &lt;SPAN class="L0S52"&gt;SEPARATED &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;BY &lt;/SPAN&gt;SPACE&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WRITE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;/&amp;nbsp; V1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output will be &lt;/P&gt;&lt;P&gt;The value of First_One is: Value1 and the value of Second_One is: Value2 .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 23:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-condense-work-on-char-field/m-p/9839488#M1784998</guid>
      <dc:creator>Ashutosht09</dc:creator>
      <dc:date>2013-11-18T23:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't CONDENSE work on Char field?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-condense-work-on-char-field/m-p/9839489#M1784999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are many many many many ways to do it, depending on your release. Ashutosh showed one way, here comes another one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;REPORT&amp;nbsp; &lt;/SPAN&gt;Z_Generic_Stuff&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;first_one&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;15&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Value1' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;c&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; second_one&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;15&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Value2' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;c&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; mytext &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;string&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; mytext &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;|The &lt;SPAN class="L0S52"&gt;value &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;of &lt;/SPAN&gt;First_One &lt;SPAN class="L0S52"&gt;is&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;{ first_one } &lt;SPAN class="L0S52"&gt;and &lt;/SPAN&gt;the &lt;SPAN class="L0S52"&gt;value &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;of &lt;/SPAN&gt;Second_One &lt;SPAN class="L0S52"&gt;is&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;{ second_one } |&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;WRITE &lt;/SPAN&gt;mytext&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&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;Custodio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 23:32:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-condense-work-on-char-field/m-p/9839489#M1784999</guid>
      <dc:creator>custodio_deoliveira</dc:creator>
      <dc:date>2013-11-18T23:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't CONDENSE work on Char field?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-condense-work-on-char-field/m-p/9839490#M1785000</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;An F1 would lead you to how the handling of the Keyword condense takes place at compiler. check the below lines in the help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;If the data object has a fixed length, any space created by the condense operation is filled with blanks on the right. If the data object is of the type &lt;SPAN class="qtext"&gt;string&lt;/SPAN&gt;, its length is adapted to the result of the condense operation&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So in your case if you do just the below declaration instead of type c that would suffice your requirement without any additional statements or variable declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;first_one &lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Value1' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;string&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; second_one &lt;SPAN class="L0S52"&gt;VALUE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'Value2' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;string&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 01:32:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-condense-work-on-char-field/m-p/9839490#M1785000</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-11-19T01:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't CONDENSE work on Char field?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-condense-work-on-char-field/m-p/9839491#M1785001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I said, there are many ways to do it. As usual, the simplest solution is also the best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nice stuff.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 02:34:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-condense-work-on-char-field/m-p/9839491#M1785001</guid>
      <dc:creator>custodio_deoliveira</dc:creator>
      <dc:date>2013-11-19T02:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't CONDENSE work on Char field?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-condense-work-on-char-field/m-p/9839492#M1785002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well you were almost right Ashutosh. I did yours and still the written line showed the spaces in the sentence. BUT...I was able to do a CONDENSE on that string and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the proper answer to my question is: First Concatenate the character fields into a string field and then run the CONDENSE statement on that string field. Lastly, write out the line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Custudio : I must say that I tried the code that you had written and it did not work at all. Is the syntax you intended correct with the PIPE-TO ( | ) and the curly brackets (&amp;nbsp; {}&amp;nbsp; )? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arindam Mondal: I did go into F1 long before I got here. While this written example is very much simplified, the real report has a little more to it which required the two variable fields to be of type c and a specified length. Thanks though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 14:33:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-condense-work-on-char-field/m-p/9839492#M1785002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-19T14:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why doesn't CONDENSE work on Char field?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-condense-work-on-char-field/m-p/9839493#M1785003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm glad the problem was solved. As I said, there are many ways to do it, &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;depending on your release&lt;/STRONG&gt;&lt;/SPAN&gt;. The fancy code I gave you works perfectly in my system (7.31 SP7). I'm not sure when the pipes and curly brackets were introduced, but I think it was on 7.02. What's your ABAP version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Custodio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 22:06:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-doesn-t-condense-work-on-char-field/m-p/9839493#M1785003</guid>
      <dc:creator>custodio_deoliveira</dc:creator>
      <dc:date>2013-11-19T22:06:33Z</dc:date>
    </item>
  </channel>
</rss>

