<?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: cumulative quantity for a material in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cumulative-quantity-for-a-material/m-p/5603204#M1276910</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;Consider the internal table with the fields material, then date on which it is purchased. Now while processing the internal table, using the collect statement you can cumulate the quantity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for this all the records should have the same values with quantities in it.&lt;/P&gt;&lt;P&gt;i.e. Lets say for internal table will be having the rows with MATERIAL PERIOD (lets say we have picked only the month from the date purchased, So in this period, all the entries will have MONTH value unique) and then QUANTITY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if you use collect, automatically for all the records with same MATERIAL and PERIOD combination, it will cumulate the quantity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santhosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 May 2009 11:17:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-04T11:17:45Z</dc:date>
    <item>
      <title>cumulative quantity for a material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cumulative-quantity-for-a-material/m-p/5603203#M1276909</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 am developing a report in which I have to calculate the cumulative quantity for a material purchased during particular period entered in the selection criterion and also for the month during that period.Both should be diplayed in the separate columns.The cumulative quantity for that period should be displayed in the last row for that material. And I am using ALV for the display.Please assist me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 09:36:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cumulative-quantity-for-a-material/m-p/5603203#M1276909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T09:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative quantity for a material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cumulative-quantity-for-a-material/m-p/5603204#M1276910</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;Consider the internal table with the fields material, then date on which it is purchased. Now while processing the internal table, using the collect statement you can cumulate the quantity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for this all the records should have the same values with quantities in it.&lt;/P&gt;&lt;P&gt;i.e. Lets say for internal table will be having the rows with MATERIAL PERIOD (lets say we have picked only the month from the date purchased, So in this period, all the entries will have MONTH value unique) and then QUANTITY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if you use collect, automatically for all the records with same MATERIAL and PERIOD combination, it will cumulate the quantity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santhosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 11:17:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cumulative-quantity-for-a-material/m-p/5603204#M1276910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T11:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative quantity for a material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cumulative-quantity-for-a-material/m-p/5603205#M1276911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can ask specific question where u are facing problem &lt;/P&gt;&lt;P&gt;You can not expect ppl to post complete solution according to your specification.&lt;/P&gt;&lt;P&gt;If you want a person to do so you must serch for a freelancer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 11:31:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cumulative-quantity-for-a-material/m-p/5603205#M1276911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T11:31:47Z</dc:date>
    </item>
  </channel>
</rss>

