<?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: space after text in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369181#M808638</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ranganath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the ascii technique works fine for me.&lt;/P&gt;&lt;P&gt;all i have to do now is to figure out how to make the number of spaces dynamic (coz it's not always 10 as my sample indicates).&lt;/P&gt;&lt;P&gt;thanks for the effort.&lt;/P&gt;&lt;P&gt;10 points for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnx,&lt;/P&gt;&lt;P&gt;laure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jan 2008 10:50:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-25T10:50:56Z</dc:date>
    <item>
      <title>space after text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369171#M808628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a string,&lt;/P&gt;&lt;P&gt;i want to display it with spaces at the end.&lt;/P&gt;&lt;P&gt;how do i do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say i have the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;string1 type c.&lt;/P&gt;&lt;P&gt;string2 type c.&lt;/P&gt;&lt;P&gt;combined type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to combine string1 and string2 into combined with 10 spaces at the end of combined.&lt;/P&gt;&lt;P&gt;how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 08:39:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369171#M808628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T08:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: space after text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369172#M808629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check if the below code helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : len type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate string1 string into combined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;len = strlen( combined ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;combined+len(10) = CL_ABAP_CHAR_UTILITIES=&amp;gt;SPACE_STR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS : Reward points for all useful answers. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ranganath Ramesh on Jan 25, 2008 9:45 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ranganath Ramesh on Jan 25, 2008 9:48 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 08:45:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369172#M808629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T08:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: space after text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369173#M808630</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Constants: c_space(10) type c value '10 spaces'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate str1 str2 c_space into string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 08:46:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369173#M808630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T08:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: space after text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369174#M808631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;concatenate v1 v2 into v3 separated by space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;santhosh reddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 09:11:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369174#M808631</guid>
      <dc:creator>SantoshKallem</dc:creator>
      <dc:date>2008-01-25T09:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: space after text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369175#M808632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA : l_space(10) value space.
CONCATENATE string1 string2 l_space INTO combined.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 09:15:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369175#M808632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T09:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: space after text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369176#M808633</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;   Let suppose your string1 has length 5 char and string2 has length 3 char now you want 10 spaces in combined_string with these 2 strings, then you can do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:string1(5) type c,&lt;/P&gt;&lt;P&gt;       string2(3) type c,&lt;/P&gt;&lt;P&gt;       combined_string(20) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE string1 string2 into combined_string separated by space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will meet your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Bujji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 09:20:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369176#M808633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T09:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: space after text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369177#M808634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ranganath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your help looks promising but when i tried to activate the program, i get an error&lt;/P&gt;&lt;P&gt;at line combined+len(10) = CL_ABAP_CHAR_UTILITIES=&amp;gt;SPACE_STR.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"BACKSPACE-" expected, not "SPACE_".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you check?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnx,&lt;/P&gt;&lt;P&gt;laure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 09:39:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369177#M808634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T09:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: space after text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369178#M808635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check whether you have the class CL_ABAP_CHAR_UTILITIES in SE24 and in that Attributes as SPACE_STR. Also try with the option CL_ABAP_CHAR_UTILITIES &lt;STRONG&gt;-&amp;gt;&lt;/STRONG&gt; SPACE_STR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 09:50:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369178#M808635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T09:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: space after text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369179#M808636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ranganath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes i have that space_str attribute but i get the same error.&lt;/P&gt;&lt;P&gt;how should i declare the combined variable?&lt;/P&gt;&lt;P&gt;i had it declared as string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;laure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 10:02:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369179#M808636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T10:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: space after text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369180#M808637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for wrong suggestion. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; Just forgot to check that attribute is a Private member in the class, you cannot access it directly. One option would be inherit that class and later use that attribute in your program, which need lots of efforts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else other approach would be to declare a constant of 10 characters and for the value part between the quotes - Hold the ALT key and press the number 0160 from numpad in your kepboard i.e. the ascii value for space. This will give you 1 space, you can copy paste this value for subsequent 9 chars.&lt;/P&gt;&lt;P&gt;&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;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 10:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369180#M808637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T10:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: space after text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369181#M808638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ranganath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the ascii technique works fine for me.&lt;/P&gt;&lt;P&gt;all i have to do now is to figure out how to make the number of spaces dynamic (coz it's not always 10 as my sample indicates).&lt;/P&gt;&lt;P&gt;thanks for the effort.&lt;/P&gt;&lt;P&gt;10 points for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnx,&lt;/P&gt;&lt;P&gt;laure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 10:50:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/space-after-text/m-p/3369181#M808638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T10:50:56Z</dc:date>
    </item>
  </channel>
</rss>

