<?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: Running Sum using SAP Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-sum-using-sap-program/m-p/8723870#M1672903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Instead of additional loop, you can do it while filling the final output table it self. but it depends on which table data you are using and filling the output table, if that table has MATNR as first column then you can use the same logic as Lakshmi proposed for calculation but MODIFY statement is not required, just clear the LV_SUM in AT END OF matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the MATNR field is not the first field, you can use the logic suggested by Lakshmi, below is similar to that one without MODIFY statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS : &amp;lt;fs_final&amp;gt; TYPE ty_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT i_final ASSIGNING &amp;lt;fs_final&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; v_sum = v_sum + &amp;lt;fs_final&amp;gt;-qty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;fs_final&amp;gt;-sum = v_sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; AT END OF matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; CLEAR : v_sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Bala Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2012 01:53:49 GMT</pubDate>
    <dc:creator>former_member585060</dc:creator>
    <dc:date>2012-04-26T01:53:49Z</dc:date>
    <item>
      <title>Running Sum using SAP Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-sum-using-sap-program/m-p/8723868#M1672901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;Hello ,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;I am trying to create a column which can return Running Sum of Quantity.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;Wondering whether it is possible and how using ABAP?, I know i t can be done in BOBJ/Crystal but the requirement is to achieve in BW.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;I have Input from a BW DSO1/Table1: Material, PO, Posting Date, Order Qty. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;Output into an other BW DSO2/Table2:&amp;nbsp; Material, PO, Posting Date, Order Qty, MaterialRunningSum.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;Example Data:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;TABLE border="1" class="jiveBorder" height="227" jive-data-cell="{&amp;amp;quot;color&amp;amp;quot;:&amp;amp;quot;#575757&amp;amp;quot;,&amp;amp;quot;textAlign&amp;amp;quot;:&amp;amp;quot;left&amp;amp;quot;,&amp;amp;quot;padding&amp;amp;quot;:&amp;amp;quot;2&amp;amp;quot;,&amp;amp;quot;backgroundColor&amp;amp;quot;:&amp;amp;quot;transparent&amp;amp;quot;,&amp;amp;quot;fontFamily&amp;amp;quot;:&amp;amp;quot;arial,helvetica,sans-serif&amp;amp;quot;}" jive-data-header="{&amp;amp;quot;color&amp;amp;quot;:&amp;amp;quot;#FFFFFF&amp;amp;quot;,&amp;amp;quot;backgroundColor&amp;amp;quot;:&amp;amp;quot;#6690BC&amp;amp;quot;,&amp;amp;quot;textAlign&amp;amp;quot;:&amp;amp;quot;center&amp;amp;quot;,&amp;amp;quot;padding&amp;amp;quot;:&amp;amp;quot;2&amp;amp;quot;}" style="border: 1px solid #000000; width: 497px; height: 227px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="padding: 2px; width: 9%; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;M&lt;/STRONG&gt;&lt;STRONG&gt;aterial&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="padding: 2px; width: 48px; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;PO&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="padding: 2px; width: 83px; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Posting Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="padding: 2px; width: 66px; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Order Qty&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="padding: 2px; width: 34px; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Material Running Sum&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;123&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;1000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;12/1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: #ffff00;"&gt;&lt;SPAN style="color: #000000;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;123&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;1001&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;12/2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: #ffff00;"&gt;&lt;SPAN style="color: #000000;"&gt;15&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;123&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;1001&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;12/3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;15&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: #ffff00;"&gt;&lt;SPAN style="color: #000000;"&gt;30&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;123&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;1002&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;12/3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;-5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: #ffff00;"&gt;&lt;SPAN style="color: #000000;"&gt;25&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;123&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;1002&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;12/4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: #ffff00;"&gt;&lt;SPAN style="color: #000000;"&gt;35&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;456&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;1003&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;12/1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: #ffff00;"&gt;&lt;SPAN style="color: #000000;"&gt;5&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;456&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;1004&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;12/1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;15&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: #ffff00;"&gt;&lt;SPAN style="color: #000000;"&gt;20&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;456&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;1004&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;12/2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center; color: #575757; font-family: arial,helvetica,sans-serif; background-color: #ffff00;"&gt;&lt;SPAN style="color: #000000;"&gt;25&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Your help would be appreciated!&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Thanks in advance,&lt;/DIV&gt;&lt;DIV&gt;DC&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-family: 'book antiqua', palatino;"&gt;Moderator message : Not enough re-search before posting, discussion locked.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vinod Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 23:52:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-sum-using-sap-program/m-p/8723868#M1672901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-25T23:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Running Sum using SAP Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-sum-using-sap-program/m-p/8723869#M1672902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, its possible in ABAP. Please use the below logic to calculate the running sum of quantity. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;LOOP &lt;SPAN class="L0S52"&gt;AT ITAB&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; lv_sum = lv_sum + itab-qty.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; itab-sum = lv_sum.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MODIFY &lt;/SPAN&gt;itab.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;END &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;matnr.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;lv_sum.&lt;BR /&gt;&amp;nbsp; ENDAT.&lt;BR /&gt;&lt;BR /&gt;ENDLOOP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;I tried this example, its calculating the running sum correctly. Check it..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 01:35:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-sum-using-sap-program/m-p/8723869#M1672902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-26T01:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Running Sum using SAP Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-sum-using-sap-program/m-p/8723870#M1672903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Instead of additional loop, you can do it while filling the final output table it self. but it depends on which table data you are using and filling the output table, if that table has MATNR as first column then you can use the same logic as Lakshmi proposed for calculation but MODIFY statement is not required, just clear the LV_SUM in AT END OF matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the MATNR field is not the first field, you can use the logic suggested by Lakshmi, below is similar to that one without MODIFY statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS : &amp;lt;fs_final&amp;gt; TYPE ty_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT i_final ASSIGNING &amp;lt;fs_final&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; v_sum = v_sum + &amp;lt;fs_final&amp;gt;-qty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;fs_final&amp;gt;-sum = v_sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; AT END OF matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; CLEAR : v_sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Bala Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 01:53:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-sum-using-sap-program/m-p/8723870#M1672903</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2012-04-26T01:53:49Z</dc:date>
    </item>
  </channel>
</rss>

