<?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: Summation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/summation/m-p/1698890#M306459</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure of your requirement completely but the below logic should help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define a text field in your internal table(use to display data).  Sort it datewise + orderno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At end of orderno.&lt;/P&gt;&lt;P&gt;  sum.&lt;/P&gt;&lt;P&gt;  ltotal = itab-qty.&lt;/P&gt;&lt;P&gt;  lflag = 'X'.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;if lflag = 'X'.&lt;/P&gt;&lt;P&gt;   write ltotal to lctot using edit mask 'RR_________.___'.&lt;/P&gt;&lt;P&gt;   concatenate 'SUM : ' lctot into itab-totsum.&lt;/P&gt;&lt;P&gt;   modify itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2006 09:41:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-24T09:41:40Z</dc:date>
    <item>
      <title>Summation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/summation/m-p/1698888#M306457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using an OO ALV for display.&lt;/P&gt;&lt;P&gt; I am showing the orders as per the day.&lt;/P&gt;&lt;P&gt; now i need to sum up the orders for each day.&lt;/P&gt;&lt;P&gt; the text ' SUM : XYXXX' should be shown in a row after the last maximum order of a day. so it changes dynamically.&lt;/P&gt;&lt;P&gt; How can i make it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 09:35:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/summation/m-p/1698888#M306457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T09:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Summation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/summation/m-p/1698889#M306458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the subtotal button on standard ALV toolbar to achieve this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sandeep Josyula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Mark helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 09:38:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/summation/m-p/1698889#M306458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T09:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Summation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/summation/m-p/1698890#M306459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure of your requirement completely but the below logic should help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define a text field in your internal table(use to display data).  Sort it datewise + orderno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At end of orderno.&lt;/P&gt;&lt;P&gt;  sum.&lt;/P&gt;&lt;P&gt;  ltotal = itab-qty.&lt;/P&gt;&lt;P&gt;  lflag = 'X'.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;if lflag = 'X'.&lt;/P&gt;&lt;P&gt;   write ltotal to lctot using edit mask 'RR_________.___'.&lt;/P&gt;&lt;P&gt;   concatenate 'SUM : ' lctot into itab-totsum.&lt;/P&gt;&lt;P&gt;   modify itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 09:41:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/summation/m-p/1698890#M306459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T09:41:40Z</dc:date>
    </item>
  </channel>
</rss>

