<?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 Fill variable with blank spaces in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fill-variable-with-blank-spaces/m-p/3030138#M716662</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;Im trying to fill a variable type c with blank spaces before the content, but it just wont work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var(10) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate '     ' '12345' into var.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when i run the program in debug mode, after the concatenate it still shows the value '12345' and the blank spaces are gone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anybody tell me how to make this work, please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roberto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Nov 2007 20:53:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-13T20:53:56Z</dc:date>
    <item>
      <title>Fill variable with blank spaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fill-variable-with-blank-spaces/m-p/3030138#M716662</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;Im trying to fill a variable type c with blank spaces before the content, but it just wont work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var(10) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate '     ' '12345' into var.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when i run the program in debug mode, after the concatenate it still shows the value '12345' and the blank spaces are gone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anybody tell me how to make this work, please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roberto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 20:53:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fill-variable-with-blank-spaces/m-p/3030138#M716662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T20:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Fill variable with blank spaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fill-variable-with-blank-spaces/m-p/3030139#M716663</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; do like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: var(15) type c.&lt;/P&gt;&lt;P&gt;constatnts: gc_space type c value ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate ' ' '12345' gc_space ' ' '12345'  into var.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Satish Panakala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 20:59:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fill-variable-with-blank-spaces/m-p/3030139#M716663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T20:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Fill variable with blank spaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fill-variable-with-blank-spaces/m-p/3030140#M716664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTEST_NP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: var(10) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var = '12345'.&lt;/P&gt;&lt;P&gt;shift var right deleting trailing space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: var.&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;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 20:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fill-variable-with-blank-spaces/m-p/3030140#M716664</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-13T20:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Fill variable with blank spaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fill-variable-with-blank-spaces/m-p/3030141#M716665</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;Please try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: VAR(10) TYPE C.
                                                                        
WRITE '12345' TO VAR RIGHT-JUSTIFIED.
&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 21:02:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fill-variable-with-blank-spaces/m-p/3030141#M716665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T21:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fill variable with blank spaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fill-variable-with-blank-spaces/m-p/3030142#M716666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx for your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Shift var right deleting trailing space" solved the problem &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll reward every helpful answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 21:05:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fill-variable-with-blank-spaces/m-p/3030142#M716666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T21:05:51Z</dc:date>
    </item>
  </channel>
</rss>

