<?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 subtotal Issue... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-subtotal-issue/m-p/2691377#M622628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  guess this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For subtotal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS: SLIS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: GS_SORT TYPE SLIS_SORTINFO_ALV. &lt;/P&gt;&lt;P&gt;CLEAR GS_SORT. &lt;/P&gt;&lt;P&gt;GS_SORT-FIELDNAME = 'FIELD1'. &lt;/P&gt;&lt;P&gt;GS_SORT-SPOS = 1. &amp;#147; Sort first on column FIELD1.&lt;/P&gt;&lt;P&gt;GS_SORT-UP = 'X'.&amp;#147; Ascending order.&lt;/P&gt;&lt;P&gt;GS_SORT-SUBTOT = 'X'.&amp;#147; Display sub-total at change of &lt;/P&gt;&lt;P&gt;&amp;#147; FIELD1.&lt;/P&gt;&lt;P&gt;APPEND GS_SORT TO GT_SORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            is_layout   = ls_layout&lt;/P&gt;&lt;P&gt;            it_fieldcat = lt_fieldcat&lt;/P&gt;&lt;P&gt;            it_sort     = gt_sort&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            t_outtab    = gt_vbak.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDFORM. " F_DISPLAY_DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rama Murthy.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Sep 2007 10:54:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-05T10:54:10Z</dc:date>
    <item>
      <title>ALV subtotal Issue...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-subtotal-issue/m-p/2691375#M622626</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 m doing OOPs based ALV using classes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want subtotal of my line item(at customer level) but i don't want grand total line that comes at the end of report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use class  &amp;lt;b&amp;gt;cl_salv_aggregations&amp;lt;/b&amp;gt; to get subtotal, i am also getting grand total line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how can i get &amp;lt;b&amp;gt;only subtotal and NO grand total line&amp;lt;/b&amp;gt; ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 15:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-subtotal-issue/m-p/2691375#M622626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T15:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV subtotal Issue...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-subtotal-issue/m-p/2691376#M622627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to set the attribute NO_TOTLINE = 'X' in the ALV grid layout structure LVC_S_LAYO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rao A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 07:45:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-subtotal-issue/m-p/2691376#M622627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-03T07:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: ALV subtotal Issue...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-subtotal-issue/m-p/2691377#M622628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  guess this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For subtotal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS: SLIS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: GS_SORT TYPE SLIS_SORTINFO_ALV. &lt;/P&gt;&lt;P&gt;CLEAR GS_SORT. &lt;/P&gt;&lt;P&gt;GS_SORT-FIELDNAME = 'FIELD1'. &lt;/P&gt;&lt;P&gt;GS_SORT-SPOS = 1. &amp;#147; Sort first on column FIELD1.&lt;/P&gt;&lt;P&gt;GS_SORT-UP = 'X'.&amp;#147; Ascending order.&lt;/P&gt;&lt;P&gt;GS_SORT-SUBTOT = 'X'.&amp;#147; Display sub-total at change of &lt;/P&gt;&lt;P&gt;&amp;#147; FIELD1.&lt;/P&gt;&lt;P&gt;APPEND GS_SORT TO GT_SORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            is_layout   = ls_layout&lt;/P&gt;&lt;P&gt;            it_fieldcat = lt_fieldcat&lt;/P&gt;&lt;P&gt;            it_sort     = gt_sort&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            t_outtab    = gt_vbak.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDFORM. " F_DISPLAY_DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rama Murthy.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 10:54:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-subtotal-issue/m-p/2691377#M622628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T10:54:10Z</dc:date>
    </item>
  </channel>
</rss>

