<?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 Page total in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-total/m-p/1861626#M363699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a form using Smartforms.  The main window is having Header, Main Area and Footer.  In the footer, i am printing the page total.  The problem I am getting is that, in the subsequent pages, it is printing the total of all the pages.  I want to print only the current page total in all the pages.  Kindly guide me to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the total, i have declared a variable in Global Definitions and in the table part under the calculation tab I am assigning the value of the required field to the variable declared in the Global Definitions and finally, I am calling the variable (declared for total) in the footer part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second thing I want to know is that,  how to create an additional row in the main window table like Header, Footer.  I want to create similar one for getting the grand total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly guide me to do the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Feb 2007 07:00:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-01T07:00:00Z</dc:date>
    <item>
      <title>Page total</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-total/m-p/1861626#M363699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a form using Smartforms.  The main window is having Header, Main Area and Footer.  In the footer, i am printing the page total.  The problem I am getting is that, in the subsequent pages, it is printing the total of all the pages.  I want to print only the current page total in all the pages.  Kindly guide me to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the total, i have declared a variable in Global Definitions and in the table part under the calculation tab I am assigning the value of the required field to the variable declared in the Global Definitions and finally, I am calling the variable (declared for total) in the footer part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second thing I want to know is that,  how to create an additional row in the main window table like Header, Footer.  I want to create similar one for getting the grand total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly guide me to do the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 07:00:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-total/m-p/1861626#M363699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T07:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Page total</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-total/m-p/1861627#M363700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Create a Template for Grand total and display the total in that.&lt;/P&gt;&lt;P&gt;Insert Program lines and check if the page number SFSY-PAGE is changing, if it changes, then reset the page total field, otherwise continue to add the amount figures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 07:07:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-total/m-p/1861627#M363700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T07:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Page total</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-total/m-p/1861628#M363701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use system field to get the page number instead of calculating manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-PAGE&amp;amp; - current page&lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-FORMPAGES&amp;amp; - total number of pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In footer select create table line &amp;amp; give ur line type&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 07:07:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-total/m-p/1861628#M363701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T07:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Page total</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-total/m-p/1861629#M363702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI mark,&lt;/P&gt;&lt;P&gt; You need to clear that Variable when the new page is triggers, so at the last in the Footer of the table, CLEAR that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the Grand Total, craete a template there and write the code for that one in the program lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 07:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-total/m-p/1861629#M363702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T07:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Page total</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-total/m-p/1861630#M363703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer this&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="307805"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;SF_EXAMPLE_01  &lt;/P&gt;&lt;P&gt;Simple example; invoice with table output of flight booking for one customer &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SF_EXAMPLE_02  &lt;/P&gt;&lt;P&gt;Similar to SF_EXAMPLE_01 but with subtotals &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SF_EXAMPLE_03  &lt;/P&gt;&lt;P&gt;Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the  form is called for each customer and all form outputs are included in an output request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Judith Jessie Selvi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 07:13:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-total/m-p/1861630#M363703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T07:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Page total</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-total/m-p/1861631#M363704</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;Your first and your second problem are actually realted.&lt;/P&gt;&lt;P&gt;I think all you need is you write your Grand Total in the BOTTOM and ENDBOTTOM of your Main Window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:   BOTTOM                                                                 &lt;/P&gt;&lt;P&gt;/:   BOX XPOS 2 CM YPOS '58.2' LN WIDTH '17' CM HEIGHT 0 CM FRAME 35 TW     &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   &amp;amp;G_Total&amp;amp;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;/:   ENDBOTTOM                                                              &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this will be helpful.&lt;/P&gt;&lt;P&gt;Use it in the Main Window.&lt;/P&gt;&lt;P&gt;Award Points if you find it helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ishaq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 07:24:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-total/m-p/1861631#M363704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T07:24:03Z</dc:date>
    </item>
  </channel>
</rss>

