<?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 Help in alv in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-alv/m-p/1769922#M332519</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i use class cl_salv_table to show alv.&lt;/P&gt;&lt;P&gt;i have 2 raw price and unit i want that the alv automatic will sum the price and unit &lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;price unit&lt;/P&gt;&lt;P&gt;10     A&lt;/P&gt;&lt;P&gt;20     A&lt;/P&gt;&lt;P&gt;33    B&lt;/P&gt;&lt;P&gt;12    B&lt;/P&gt;&lt;P&gt;i want that the answer will be 30 A and 45 B i don't want to do calculation, i know that the alv can do it&lt;/P&gt;&lt;P&gt;how can i do it?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Dec 2006 12:09:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-06T12:09:32Z</dc:date>
    <item>
      <title>Help in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-alv/m-p/1769922#M332519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i use class cl_salv_table to show alv.&lt;/P&gt;&lt;P&gt;i have 2 raw price and unit i want that the alv automatic will sum the price and unit &lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;price unit&lt;/P&gt;&lt;P&gt;10     A&lt;/P&gt;&lt;P&gt;20     A&lt;/P&gt;&lt;P&gt;33    B&lt;/P&gt;&lt;P&gt;12    B&lt;/P&gt;&lt;P&gt;i want that the answer will be 30 A and 45 B i don't want to do calculation, i know that the alv can do it&lt;/P&gt;&lt;P&gt;how can i do it?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 12:09:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-alv/m-p/1769922#M332519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-06T12:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-alv/m-p/1769923#M332520</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;one way is there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if we want to give suubtotal or total, its shuld be numeric type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so try the logic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort ur internal table by price and unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum up all the price where unit is same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and append that total and unit to the internal table u r passing to ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thus u can do for all the different unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;passs this internal table to the ALV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the ALV u just show it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 12:17:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-alv/m-p/1769923#M332520</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-12-06T12:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-alv/m-p/1769924#M332521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anver&lt;/P&gt;&lt;P&gt;I want to know if the alv can't do it? the alv can do sum of field so i want to do sum but to take care another field in the calculation&lt;/P&gt;&lt;P&gt;i&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 12:22:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-alv/m-p/1769924#M332521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-06T12:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-alv/m-p/1769925#M332522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use COLLECT statement before sending the table to alv display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if found good please award some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vishwas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 12:31:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-alv/m-p/1769925#M332522</guid>
      <dc:creator>vishwas_kudlinagaraja</dc:creator>
      <dc:date>2006-12-06T12:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-alv/m-p/1769926#M332523</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;did u read my post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that what i mentioned is, u can do any  manipulations inside the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do the sum inside the internal with repect to unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass this internal table to the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 12:35:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-alv/m-p/1769926#M332523</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-12-06T12:35:31Z</dc:date>
    </item>
  </channel>
</rss>

