<?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: problem in alv in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4415405#M1049005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;case 1 and case2 will be possible with the help of SUBTOTAL_TEXT event. inside the event you can modify the SUBTOTAL values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For case1 there is direct solution , if the value repeats then you can take the average of that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Getting the average you can use the DO_SUM option in the fieldcatalog level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FCAT-DO_SUM = 'C'. "&amp;lt;----This calculates the Average,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Sep 2008 12:02:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-04T12:02:47Z</dc:date>
    <item>
      <title>problem in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4415404#M1049004</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;I m creating ALV grid report. in that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to get the following output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no problem with value 1 field. &lt;/P&gt;&lt;P&gt;1. but value 2 field should be common for both 2 records. i cannot use sort option because i have to find subtotal of value 2. if i use sort option then value 2 records (2419.46 +2419.46)  will get added  .that is wrong.&lt;/P&gt;&lt;P&gt;2. next difference = value2 - value1. but it should be displayed with subtotal output.not as actual record..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to do this .. if u know pls let me know..&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;kani.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VALUE 1 	VALUE 2	       DIFF&lt;/P&gt;&lt;P&gt;1200.73		&lt;/P&gt;&lt;P&gt;1200.73          2419.46	  &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;2400.46		 2419.46	    19                     SUBTOTAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12		&lt;/P&gt;&lt;P&gt;12	                   28	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;24	                   28	            4                          SUBTOTAL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2008 11:57:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4415404#M1049004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-04T11:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: problem in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4415405#M1049005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;case 1 and case2 will be possible with the help of SUBTOTAL_TEXT event. inside the event you can modify the SUBTOTAL values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For case1 there is direct solution , if the value repeats then you can take the average of that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Getting the average you can use the DO_SUM option in the fieldcatalog level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FCAT-DO_SUM = 'C'. "&amp;lt;----This calculates the Average,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2008 12:02:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4415405#M1049005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-04T12:02:47Z</dc:date>
    </item>
  </channel>
</rss>

