<?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: Report Output in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-output/m-p/3426843#M823002</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;Check this below code. You will get the clear idea. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT YJAM_WA no standard page heading line-count 60(5). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_totpage type i.&lt;/P&gt;&lt;P&gt;data: v_temp(3) type c.&lt;/P&gt;&lt;P&gt;Start-of-selection.&lt;/P&gt;&lt;P&gt;do 100 times.&lt;/P&gt;&lt;P&gt;write:/ sy-index.&lt;/P&gt;&lt;P&gt;enddo. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-selection.&lt;/P&gt;&lt;P&gt;v_temp = v_totpage.&lt;/P&gt;&lt;P&gt;do v_totpage times.&lt;/P&gt;&lt;P&gt;read line 1 of page sy-index.&lt;/P&gt;&lt;P&gt;replace '@@@' in sy-lisel with v_temp.&lt;/P&gt;&lt;P&gt;modify line 1 of page sy-index.&lt;/P&gt;&lt;P&gt;enddo. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;top-of-page.&lt;/P&gt;&lt;P&gt;write:/60 'page', sy-pagno, '/','@@@'.&lt;/P&gt;&lt;P&gt;v_totpage = sy-pagno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;zlines number of lines in the table&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;sy-srows number of lines in screen&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;sy-cpage current page&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;zpages total number of pages type i&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;temp temporary number type f&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;describe table itab lines zlines.&lt;/P&gt;&lt;P&gt;temp = zlines / sy-srows.&lt;/P&gt;&lt;P&gt;zpages = trunc( temp ).&lt;/P&gt;&lt;P&gt;temp = frac( temp ).&lt;/P&gt;&lt;P&gt;if temp &amp;gt; 0.&lt;/P&gt;&lt;P&gt;zpages = zpages + 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;zpages is the number of pages&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;write: /'Page ',sy-cpage, ' of ', zpages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward Points if found helpfull..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cheers,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Chandra Sekhar.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Feb 2008 08:59:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-24T08:59:21Z</dc:date>
    <item>
      <title>Report Output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-output/m-p/3426842#M823001</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;How to find out Total No of Pages of a Report Output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Feb 2008 07:10:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-output/m-p/3426842#M823001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-24T07:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Report Output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-output/m-p/3426843#M823002</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;Check this below code. You will get the clear idea. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT YJAM_WA no standard page heading line-count 60(5). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_totpage type i.&lt;/P&gt;&lt;P&gt;data: v_temp(3) type c.&lt;/P&gt;&lt;P&gt;Start-of-selection.&lt;/P&gt;&lt;P&gt;do 100 times.&lt;/P&gt;&lt;P&gt;write:/ sy-index.&lt;/P&gt;&lt;P&gt;enddo. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-selection.&lt;/P&gt;&lt;P&gt;v_temp = v_totpage.&lt;/P&gt;&lt;P&gt;do v_totpage times.&lt;/P&gt;&lt;P&gt;read line 1 of page sy-index.&lt;/P&gt;&lt;P&gt;replace '@@@' in sy-lisel with v_temp.&lt;/P&gt;&lt;P&gt;modify line 1 of page sy-index.&lt;/P&gt;&lt;P&gt;enddo. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;top-of-page.&lt;/P&gt;&lt;P&gt;write:/60 'page', sy-pagno, '/','@@@'.&lt;/P&gt;&lt;P&gt;v_totpage = sy-pagno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;zlines number of lines in the table&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;sy-srows number of lines in screen&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;sy-cpage current page&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;zpages total number of pages type i&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;temp temporary number type f&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;describe table itab lines zlines.&lt;/P&gt;&lt;P&gt;temp = zlines / sy-srows.&lt;/P&gt;&lt;P&gt;zpages = trunc( temp ).&lt;/P&gt;&lt;P&gt;temp = frac( temp ).&lt;/P&gt;&lt;P&gt;if temp &amp;gt; 0.&lt;/P&gt;&lt;P&gt;zpages = zpages + 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;zpages is the number of pages&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;write: /'Page ',sy-cpage, ' of ', zpages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward Points if found helpfull..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cheers,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Chandra Sekhar.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Feb 2008 08:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-output/m-p/3426843#M823002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-24T08:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Report Output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-output/m-p/3426844#M823003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use end-of-page  &lt;/P&gt;&lt;P&gt;in end of page give system variable  sy-pagno&lt;/P&gt;&lt;P&gt;u will get how many pages in the report&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Feb 2008 13:19:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-output/m-p/3426844#M823003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-24T13:19:34Z</dc:date>
    </item>
  </channel>
</rss>

