<?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 ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2021847#M413861</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guyz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying an interactive ALV program where i am getting total and subtotal by clicking the SUMMATION buttons on Application tool bar. I want to it should show the field name as TOTAL and SUB-TOTAL there in the output screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q&amp;gt;How to handle the sub-totals and the total fields in ALV.&lt;/P&gt;&lt;P&gt;   I want to do it using TYPE POOLS : SLIS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any new ideas to solve this is also welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Mar 2007 12:53:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-09T12:53:55Z</dc:date>
    <item>
      <title>ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2021847#M413861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guyz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying an interactive ALV program where i am getting total and subtotal by clicking the SUMMATION buttons on Application tool bar. I want to it should show the field name as TOTAL and SUB-TOTAL there in the output screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q&amp;gt;How to handle the sub-totals and the total fields in ALV.&lt;/P&gt;&lt;P&gt;   I want to do it using TYPE POOLS : SLIS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any new ideas to solve this is also welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 12:53:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2021847#M413861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T12:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2021848#M413862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the fields for which you want to get the subtotals and totals, you have to fill the fieldcatalog parameter DO_SUM = 'X'. The totals would appear automatically.(the field should be numeric thogh).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c_fieldcat-do_sum = 'X'.  "for all those fields for which you want the total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should also fill the sort table information to get the subtotals according to grouping.&lt;/P&gt;&lt;P&gt;Refer the BCALV_TEST_LIST_EVENTS program.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 12:57:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2021848#M413862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T12:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2021849#M413863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can use at new statement of that field and after that u can call FM resue_alv_list_display.&lt;/P&gt;&lt;P&gt;then check u r answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 12:57:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2021849#M413863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T12:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2021850#M413864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sam!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do this way  ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  t_fieldcat-tabname = tabname.
  t_fieldcat-fieldname = fieldname.
  t_fieldcat-seltext_m  = seltext_m.
  IF do_sum = 'X'.
    t_fieldcat-datatype = 'CURR'.
  ENDIF.
  t_fieldcat-do_sum = do_sum.
  APPEND t_fieldcat TO it_fieldcat.
  CLEAR t_fieldcat.

  t_sort-fieldname = 'VAR1'.
  t_sort-tabname = 'IT_OUTPUT'.
  t_sort-spos = 1.
  t_sort-up = 'X'.
  t_sort-subtot = 'X'.
  APPEND t_sort TO it_sort.
  CLEAR t_sort.

  t_sort-fieldname = 'VAR3'.
  t_sort-tabname = 'IT_OUTPUT'.
  t_sort-spos = 2.
  t_sort-up = 'X'.
  APPEND t_sort TO it_sort.
  CLEAR t_sort.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 12:59:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2021850#M413864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T12:59:02Z</dc:date>
    </item>
  </channel>
</rss>

