<?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: How to write final blanks using WRITE statement? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303991#M791176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;set blanks on.&lt;/P&gt;&lt;P&gt;write the above statement before the write statement.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plzz reward points if it helps.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jan 2008 10:11:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-31T10:11:36Z</dc:date>
    <item>
      <title>How to write final blanks using WRITE statement?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303990#M791175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a character variable of size 284, which I want to print out with size 284 no matter how many "non space" characters there are in the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happens now is that only the characters up the first final blan are printed and not the final blanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: line(284) TYPE  c .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;line = '26547 kjhkji          ' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE / line .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is then printed is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;26547 kjhkji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The final blanks are not printed. What can I do to write also these final blanks??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for all the helpful answers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Armin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 10:01:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303990#M791175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T10:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to write final blanks using WRITE statement?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303991#M791176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;set blanks on.&lt;/P&gt;&lt;P&gt;write the above statement before the write statement.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plzz reward points if it helps.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 10:11:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303991#M791176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T10:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to write final blanks using WRITE statement?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303992#M791177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;how do u know that the spaces r not printed,&lt;/P&gt;&lt;P&gt;bcoz after 26547 kjhkji&lt;/P&gt;&lt;P&gt;the remaining will be spaces only....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 10:13:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303992#M791177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T10:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to write final blanks using WRITE statement?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303993#M791178</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;empty spaces are printing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: line(284) TYPE c .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;line = '26547 kjhkji ' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: line,line .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;26547 kjhkji &lt;/P&gt;&lt;P&gt;26547 kjhkji &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no / used even then two line bcoz it is printing empty spaces &lt;/P&gt;&lt;P&gt;&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;DATA: line(14) TYPE c .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;line = '26547 kjhkji ' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: line,line .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Will.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 10:14:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303993#M791178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T10:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to write final blanks using WRITE statement?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303994#M791179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi Armin&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Spaces are printed but not visible to you&lt;/P&gt;&lt;P&gt;to make it visble&lt;/P&gt;&lt;P&gt;just print another Write statement as i did&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZSBK_DOWNLOAD_IT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: line(70) TYPE c  value 'santosh'.&lt;/P&gt;&lt;P&gt;WRITE  line(70) .&lt;/P&gt;&lt;P&gt;write : 'india'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your code is also working but problem is that  when 180 characters exceeded it goes to new line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this is helpful for you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Abap-fresher on Jan 31, 2008 11:20 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 10:15:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303994#M791179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T10:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to write final blanks using WRITE statement?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303995#M791180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer Mandjari! However there is no statement set blanks on in ABAP. There is statement set blank lines on, but that statement only dictates weather or not blank lines should be printed and not weather or not final blanks on one line shoud be printed!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 10:17:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303995#M791180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T10:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to write final blanks using WRITE statement?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303996#M791181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Armin,&lt;/P&gt;&lt;P&gt;Basically u hv given 284 characters length. while displaying it display's all 284 characters.&lt;/P&gt;&lt;P&gt;Have a look on the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: line(284) TYPE c.&lt;/P&gt;&lt;P&gt;data: ln(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;line = '26547 kjhkji '.&lt;/P&gt;&lt;P&gt;ln = '1234567890'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: line  color 5.&lt;/P&gt;&lt;P&gt;write:/ ln color 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points,if it is useful.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;chandu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 12:06:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303996#M791181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T12:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to write final blanks using WRITE statement?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303997#M791182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand now that all the lines were printed with final blanks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What confused me was that I looked at the extraced file (List-&amp;gt;Save/Send-&amp;gt;File ) and in that the final blanks were removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way yo get the final blanks in the extracted file as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Armin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s. I have awarded ya'll with 2P for the helpful answers! Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 13:27:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-final-blanks-using-write-statement/m-p/3303997#M791182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T13:27:38Z</dc:date>
    </item>
  </channel>
</rss>

