<?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 subtotal in smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal-in-smartforms/m-p/1512032#M236063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   how to get subtotal in smartforms.&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;kathir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2006 17:39:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-23T17:39:29Z</dc:date>
    <item>
      <title>subtotal in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal-in-smartforms/m-p/1512032#M236063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   how to get subtotal in smartforms.&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;kathir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 17:39:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal-in-smartforms/m-p/1512032#M236063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-23T17:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: subtotal in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal-in-smartforms/m-p/1512033#M236064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi krishna!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the only best way is to read sap help if u have sap help with you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sap library&lt;DEL&gt;&amp;gt;my sap technology comp&lt;/DEL&gt;&amp;gt;sap web application server&lt;DEL&gt;&amp;gt;basis services&lt;/DEL&gt;&amp;gt;sap smart forms&lt;DEL&gt;&amp;gt;using sap smartforms&lt;/DEL&gt;&amp;gt;printing data in a table&lt;DEL&gt;&amp;gt;printing tables&lt;/DEL&gt;&amp;gt;calculations&lt;DEL&gt;&amp;gt;examples&lt;/DEL&gt;&amp;gt;calculating subtotals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can find here grand totals,subtotals,numbering table items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;telling how to do subtotals is not possible by simply typing here.so i gave u this navigation in sap help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;award points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 18:12:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal-in-smartforms/m-p/1512033#M236064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-23T18:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: subtotal in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal-in-smartforms/m-p/1512034#M236065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In table node, we have calculatio tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: you are looping at interal table itab, one of the field in the table is NETWR, you need print the subtotal of NETWR on each page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a global varaiable &amp;lt;b&amp;gt;v_subtotal type netwr.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a &amp;lt;b&amp;gt;table node&amp;lt;/b&amp;gt;, under the data tab loop at the itab intenal table.&lt;/P&gt;&lt;P&gt;Under the same table node you have the &amp;lt;b&amp;gt;calculation&amp;lt;/b&amp;gt; tab.&lt;/P&gt;&lt;P&gt;Mention the following data:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Operation : Total&lt;/P&gt;&lt;P&gt;Field value: itab-netwr&lt;/P&gt;&lt;P&gt;Target field name:v_subtotal&lt;/P&gt;&lt;P&gt;Time:After loop.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have subtotal value in the field v_subtotal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 19:02:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal-in-smartforms/m-p/1512034#M236065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-23T19:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: subtotal in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal-in-smartforms/m-p/1512035#M236066</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;What you should do is add a new edit mask after the items loop, and have the totals prepared in advance in the print program of your smartform. Pass the totals to the form though another structure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other thing you could do, is add abap code in the items loop, summing data as you go in a separate global field defined in the smartform, and display the result in a separate structure after the loop. &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;Shalini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2006 02:17:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subtotal-in-smartforms/m-p/1512035#M236066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-24T02:17:54Z</dc:date>
    </item>
  </channel>
</rss>

