<?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: ALV using class--sub and granttotal in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-using-class-sub-and-granttotal/m-p/2466253#M553883</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;When calling the method SET_TABLE_FOR_FIRST_DISPLAY pass the parameter IT_SORT. &lt;/P&gt;&lt;P&gt;The table should contain an entry for the year fieldname, with the field UP set for ascending. A second entry for the period, with the UP field set again and the field SUBTOT set to output a subtotal at the end of each period. &lt;/P&gt;&lt;P&gt;The grand total can be controlled via the field catalog, set field DO_SUM for the relevant quantity column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2007 09:29:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-02T09:29:24Z</dc:date>
    <item>
      <title>ALV using class--sub and granttotal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-using-class-sub-and-granttotal/m-p/2466252#M553882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i hve to get output like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;year             period                    qty&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;2000                10             |           1&lt;/P&gt;&lt;P&gt;                                        |           2&lt;/P&gt;&lt;P&gt;                                        |        3&lt;/P&gt;&lt;P&gt;                                        |     6 (subtotal)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------" /&gt;&lt;P&gt;2000                10              |        1&lt;/P&gt;&lt;P&gt;                                         |        2&lt;/P&gt;&lt;P&gt;                                         |        3&lt;/P&gt;&lt;P&gt;                                         |        6&lt;/P&gt;&lt;P&gt;                                                12 (granttotal)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz tell me how can i dispaly it in ALV grid.&lt;/P&gt;&lt;P&gt;im using oo concept&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 05:47:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-using-class-sub-and-granttotal/m-p/2466252#M553882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T05:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: ALV using class--sub and granttotal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-using-class-sub-and-granttotal/m-p/2466253#M553883</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;When calling the method SET_TABLE_FOR_FIRST_DISPLAY pass the parameter IT_SORT. &lt;/P&gt;&lt;P&gt;The table should contain an entry for the year fieldname, with the field UP set for ascending. A second entry for the period, with the UP field set again and the field SUBTOT set to output a subtotal at the end of each period. &lt;/P&gt;&lt;P&gt;The grand total can be controlled via the field catalog, set field DO_SUM for the relevant quantity column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 09:29:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-using-class-sub-and-granttotal/m-p/2466253#M553883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T09:29:24Z</dc:date>
    </item>
  </channel>
</rss>

