<?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 adjusting space in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adjusting-space/m-p/1007455#M78101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to adjust the space while cocatenation of characters&lt;/P&gt;&lt;P&gt;If I have the data  '7/08 TU MET ENT'  I need the data to be spaced as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'7/08 TU&lt;/P&gt;&lt;P&gt; MET ENT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Few days back one of the developers helped me with this code&lt;/P&gt;&lt;P&gt;constants: c_crt type x value '0D'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate zdate1 wa-vavartyp c_crt zbunit zposcc&lt;/P&gt;&lt;P&gt;into wa1-zdateproductcode separated by space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it throws an error saying that c_crt is not a char type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one of the other developer also gave me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate ztotalwidth cl_abap_char_utilities=&amp;gt;cr_lf  zzquantity into wabb1-zadsize     separated by spac&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is working but I am getting '##' sign in the form I am displaying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me to adjust the code here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jul 2005 14:42:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-27T14:42:25Z</dc:date>
    <item>
      <title>adjusting space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adjusting-space/m-p/1007455#M78101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to adjust the space while cocatenation of characters&lt;/P&gt;&lt;P&gt;If I have the data  '7/08 TU MET ENT'  I need the data to be spaced as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'7/08 TU&lt;/P&gt;&lt;P&gt; MET ENT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Few days back one of the developers helped me with this code&lt;/P&gt;&lt;P&gt;constants: c_crt type x value '0D'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate zdate1 wa-vavartyp c_crt zbunit zposcc&lt;/P&gt;&lt;P&gt;into wa1-zdateproductcode separated by space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it throws an error saying that c_crt is not a char type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one of the other developer also gave me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate ztotalwidth cl_abap_char_utilities=&amp;gt;cr_lf  zzquantity into wabb1-zadsize     separated by spac&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is working but I am getting '##' sign in the form I am displaying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me to adjust the code here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2005 14:42:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adjusting-space/m-p/1007455#M78101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-27T14:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: adjusting space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adjusting-space/m-p/1007456#M78102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you saying that you need that one string to be in two lines.  If so, is having two strings out of the question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data: a(50) type c,
      b(50) type c.

concatenate zdate1 wa-vavartyp into a.
concatenate zbunit zposcc into b.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2005 14:50:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adjusting-space/m-p/1007456#M78102</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-27T14:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: adjusting space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adjusting-space/m-p/1007457#M78103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No , I need to have that in one string only  but dbecause I will reading the data into a single variable and displaying it in  two lines in the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2005 14:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adjusting-space/m-p/1007457#M78103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-27T14:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: adjusting space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adjusting-space/m-p/1007458#M78104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;&amp;lt;this is working but I am getting '##' sign in the form I am displaying.&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean by form here ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are displaying the results in ABAP then line - break character will be displayed as # but if you are downloading it into a file on PC or application server - and then if you will open the file with notepad, it should display the lines properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2005 15:30:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adjusting-space/m-p/1007458#M78104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-27T15:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: adjusting space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adjusting-space/m-p/1007459#M78105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ram,&lt;/P&gt;&lt;P&gt; the data is getting displayed  N THE SMARTFORM in this format&lt;/P&gt;&lt;P&gt;'7/08 TU ##&lt;/P&gt;&lt;P&gt;  MET ENT'&lt;/P&gt;&lt;P&gt;I AM READING THIS ENTIRE DATA INTO A FIELD OF AN INTERNAL TABLE READING THAT INTO THE SMARTFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SANTHOSH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2005 16:18:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adjusting-space/m-p/1007459#M78105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-27T16:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: adjusting space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adjusting-space/m-p/1007460#M78106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will not work the way you want while displaying it in smartforms or ABAP Reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be used while downloading the data to text files...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest, you break that variable into separate lines at line break character.&lt;/P&gt;&lt;P&gt;You might try ..something like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT var into itab at &amp;lt;line_break_char&amp;gt; ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write this itab lines one by one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2005 16:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adjusting-space/m-p/1007460#M78106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-27T16:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: adjusting space</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adjusting-space/m-p/1007461#M78107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Ram, as I stated earlier, If you want them to print on different lines, they are going to have to be two separate fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2005 17:31:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adjusting-space/m-p/1007461#M78107</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-27T17:31:01Z</dc:date>
    </item>
  </channel>
</rss>

