<?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 question regarding page heading... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-regarding-page-heading/m-p/1867670#M365613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think my question is simple to u,&lt;/P&gt;&lt;P&gt;what it actually  do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report &amp;lt;name&amp;gt; LINE-SIZE 255 NO STANDARD PAGE HEADING&lt;/P&gt;&lt;P&gt;                 LINE-COUNT 065(001).&lt;/P&gt;&lt;P&gt;and other declaring internal table we specify header line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please clarify this simple doubt.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Jan 2007 15:20:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-06T15:20:39Z</dc:date>
    <item>
      <title>question regarding page heading...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-regarding-page-heading/m-p/1867670#M365613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think my question is simple to u,&lt;/P&gt;&lt;P&gt;what it actually  do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report &amp;lt;name&amp;gt; LINE-SIZE 255 NO STANDARD PAGE HEADING&lt;/P&gt;&lt;P&gt;                 LINE-COUNT 065(001).&lt;/P&gt;&lt;P&gt;and other declaring internal table we specify header line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please clarify this simple doubt.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2007 15:20:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-regarding-page-heading/m-p/1867670#M365613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-06T15:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: question regarding page heading...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-regarding-page-heading/m-p/1867671#M365614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;report &amp;lt;name&amp;gt; LINE-SIZE 255 NO STANDARD PAGE HEADING&lt;/P&gt;&lt;P&gt;LINE-COUNT 065(001).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement is defining the size of the list line and the number of lines per page.  The (001) is defining that you have 1 line as the footer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This really has nothing to do with declaring an internal table with HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The extension WITH HEADER LINE, means that the internal table has a built in workarea which the read data will be inserted into.  The header line has the same name as the internal table.  It is suggested to no longer use HEADER LINEs when defining internal tables.  You should use explicit work areas, which you can define with another DATA statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data: Itab type table of ttab.
data: xtab like line of itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then when you read the internal table or loop at it, you code like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Loop at itab into xtab.

endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To write a heading in the output list,you simply use a WRITE statement in the TOP-OF-PAGE event, then when the list output reaches end of the declared LINE-COUNT, the TOP-OF-PAGE event is triggered and the report heading is written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;start-of-selection.
  
do 10 times.
  write:/ sy-index.
enddo.

Top-of-Page.
Write:/ 'This is the heading'.&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>Sat, 06 Jan 2007 15:27:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-regarding-page-heading/m-p/1867671#M365614</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-01-06T15:27:29Z</dc:date>
    </item>
  </channel>
</rss>

