<?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: Total pages in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/total-pages/m-p/1676786#M298462</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 to print the spool and check...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Oct 2006 02:26:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-27T02:26:13Z</dc:date>
    <item>
      <title>Total pages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/total-pages/m-p/1676785#M298461</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 am using the below code for printing the Total no of pages.This is working in forground,but not working in Background.can any one give idea why it is not working and How do i acheive this in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE SY-PAGNO TO TOTAL_PAGES.&lt;/P&gt;&lt;P&gt;DO SY-PAGNO TIMES.&lt;/P&gt;&lt;P&gt;READ LINE 1 OF PAGE SY-INDEX.&lt;/P&gt;&lt;P&gt;REPLACE '****' WITH TOTAL_PAGES INTO SY-LISEL.&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;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 20:47:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/total-pages/m-p/1676785#M298461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T20:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Total pages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/total-pages/m-p/1676786#M298462</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 to print the spool and check...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2006 02:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/total-pages/m-p/1676786#M298462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-27T02:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Total pages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/total-pages/m-p/1676787#M298463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what are you trying to achieve actually?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2006 02:44:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/total-pages/m-p/1676787#M298463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-27T02:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Total pages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/total-pages/m-p/1676788#M298464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I'm not wrong what ur code does is once entire report is printed it goes to each page of the report and display no. of pages in the first line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can't be done in background mode. The only solution I can think about is, before displaying the report find out the possible total no. of pages to be displayed using page size and no. of records in the initial table you are displaying. And use this variable wherever u want to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2006 04:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/total-pages/m-p/1676788#M298464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-27T04:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Total pages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/total-pages/m-p/1676789#M298465</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;This doesn't work in the background as nothing is actually been printed on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the only way is to keep track of the number of lines u r printing (may be the no. of lines in ur internal table) &amp;amp; then calculate the no. of pages taking total records, header space &amp;amp; footer into consideration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2006 05:53:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/total-pages/m-p/1676789#M298465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-27T05:53:06Z</dc:date>
    </item>
  </channel>
</rss>

