<?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: write statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182858#M757807</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 specifying the line width in the first line of the program as below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT &amp;lt;name&amp;gt; LINE-SIZE &amp;lt;width&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use system variable SY-LINSZ to find the current line width.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*If width is given as 0 then system takes a default line width.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2007 04:28:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-12T04:28:15Z</dc:date>
    <item>
      <title>write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182856#M757805</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;I want to increase the number of characters in a line to maximum.&lt;/P&gt;&lt;P&gt;Ex:WRITE:/4(75) 'Number of files read ',80 variable.&lt;/P&gt;&lt;P&gt;actually this is truncating while creating spool request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the maximum allowed?  for write statement?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 04:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182856#M757805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T04:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182857#M757806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on the line size addition of the report statement of your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;P&gt;REPORT LINE-SIZE 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will allow you to write upto 1000 characters.&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>Wed, 12 Dec 2007 04:26:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182857#M757806</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-12-12T04:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182858#M757807</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 specifying the line width in the first line of the program as below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT &amp;lt;name&amp;gt; LINE-SIZE &amp;lt;width&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use system variable SY-LINSZ to find the current line width.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*If width is given as 0 then system takes a default line width.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 04:28:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182858#M757807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T04:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182859#M757808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;There is no limit as far as size is concerned.It all depends on the output type of printer and you can also fix the size of line in report by writing this on the first line of your report  'Report ztrial line-size 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 04:29:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182859#M757808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T04:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182860#M757809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MICR,&lt;/P&gt;&lt;P&gt;   you can write Report 'name of program' line-size 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because the list is depends on the line size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz reward if useful,&lt;/P&gt;&lt;P&gt;Mahi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 04:30:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182860#M757809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T04:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182861#M757810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi MS,&lt;/P&gt;&lt;P&gt;write statement only alows 256 character to be prited in a single line if  LINE-SIZE not mentioned in report.&lt;/P&gt;&lt;P&gt;To solve the problem make a internal table of type c(256). and put write statement in loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF mytable_line,&lt;/P&gt;&lt;P&gt;          line(256) TYPE c,&lt;/P&gt;&lt;P&gt;        END OF mytable_line.&lt;/P&gt;&lt;P&gt;DATA: gt_mytable TYPE TABLE OF mytable_line,&lt;/P&gt;&lt;P&gt;      gs_mytable type table of mytable_line with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at gt_mytable into gs_mytable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; write gs_mytable-line.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sumesh Nair&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 04:38:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182861#M757810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T04:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182862#M757811</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;&lt;/P&gt;&lt;P&gt;   Do like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  z_daily_sales&lt;/P&gt;&lt;P&gt;        NO STANDARD PAGE HEADING&lt;/P&gt;&lt;P&gt;        MESSAGE-ID sabapdocu.&lt;/P&gt;&lt;P&gt;        LINE-SIZE 256.&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;prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 04:47:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182862#M757811</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-12-12T04:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182863#M757812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Additional info &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Using line-size also there is some limitations&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt; The maximum line width is&amp;lt;b&amp;gt; 1,023 &amp;lt;/b&amp;gt;characters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the LINE-SIZE is not specified, the line width of the basic list is set to a standard width based on the window width of the current Dynpro, but is at least as wide as a standard size SAP window.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 04:51:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182863#M757812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T04:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: write statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182864#M757813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it was defined for line-lsize. I want to display in the same line. I mean the text and as well as my variable should display in the same line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to do this from my example write stmt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 04:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement/m-p/3182864#M757813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T04:54:03Z</dc:date>
    </item>
  </channel>
</rss>

