<?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 grid override function in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697580#M2018109</link>
    <description>&lt;P&gt;If it is really worth it, with CL_GUI_ALV_GRID and method GET_SUBTOTALS you can change the subtotal values.&lt;/P&gt;&lt;P&gt;(suggestion: Handle event after_refresh, if flag 'already done' is not set change subtotals, set flag 'already done' and force a re-display of ALV with method refresh_table_display)&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2023 16:49:28 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2023-03-21T16:49:28Z</dc:date>
    <item>
      <title>Alv grid override function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697576#M2018105</link>
      <description>&lt;P&gt;Is it possible to override SUM function in alv grid, for example do not count the material if it starts with '4'?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 12:49:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697576#M2018105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2023-03-21T12:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Alv grid override function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697577#M2018106</link>
      <description>&lt;P&gt;Filter the material and do the sum ... or switch to Excel &lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 13:07:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697577#M2018106</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2023-03-21T13:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Alv grid override function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697578#M2018107</link>
      <description>&lt;P&gt;starts with 4 its just example. I have a huge grid with a lot of interchangeable element, wich of course summing if click sum function, so i need to override it and count interchangeable elements only once &lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 13:16:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697578#M2018107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2023-03-21T13:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Alv grid override function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697579#M2018108</link>
      <description>&lt;P&gt;You can do anything in ABAP, you don't need to always use the standard ALV aggregation functions. Do the SUM yourself.&lt;/P&gt;&lt;P&gt;But remember to keep the ALV the most standard way, not to have too much specific weird results.&lt;/P&gt;&lt;P&gt;You may also add custom buttons to apply specific filters so that to simplify the task, and make it clear to the user what is currently filtered (one toggle button to say either include or exclude materials '4').&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 14:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697579#M2018108</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-03-21T14:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Alv grid override function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697580#M2018109</link>
      <description>&lt;P&gt;If it is really worth it, with CL_GUI_ALV_GRID and method GET_SUBTOTALS you can change the subtotal values.&lt;/P&gt;&lt;P&gt;(suggestion: Handle event after_refresh, if flag 'already done' is not set change subtotals, set flag 'already done' and force a re-display of ALV with method refresh_table_display)&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 16:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697580#M2018109</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2023-03-21T16:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Alv grid override function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697581#M2018110</link>
      <description>&lt;P&gt;I got subtotal values with get_subtotals method, but which kind of flag are u talking about and how to change subtotal values?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 07:37:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697581#M2018110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2023-03-23T07:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alv grid override function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697582#M2018111</link>
      <description>&lt;P&gt;You get some REF TO DATA reference from GET_SUBTOTALS, then assign/loop and update the internal tables behind, recalculate sums.&lt;BR /&gt;By flag, I mean an attribute of your local class to make sure you don't do the calculation in an infinite loop, because the refresh_display will trigger the event after_refresh again.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 15:48:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697582#M2018111</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2023-03-23T15:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Alv grid override function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697583#M2018112</link>
      <description>&lt;P&gt;i dont have parameters in AFTER_REFRESH &lt;A rel="nofollow" href="http://event.It" target="_blank"&gt;event.It&lt;/A&gt; works, i calling mine override method after set_table_for_first_display. &lt;BR /&gt;And i call CALL METHOD lo_alv-&amp;gt;set_ready_for_input&lt;/P&gt;&lt;P&gt; EXPORTING &lt;BR /&gt; i_ready_for_input = 0. in mine method.&lt;/P&gt;&lt;P&gt;But after filtering it couts as it counted before ( as a usual alv sum function ).&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 09:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-override-function/m-p/12697583#M2018112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2023-03-24T09:30:09Z</dc:date>
    </item>
  </channel>
</rss>

