<?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: logic required! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/1585289#M263900</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;itab has three fields- lgort,bwart,count and a variable v_count.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itab.
 at new lgort.
  write : / itab-lgort, itab-bwart.
  v_count = v_count + itab-count
 endat
 write : itab-bwart.
 at end of lgort.
  write : v_count.
 endat.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Sep 2006 11:15:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-26T11:15:54Z</dc:date>
    <item>
      <title>logic required!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/1585287#M263898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;friends, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  there is a report that has the final format like the one below...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LGORT	BWART	COUNT&lt;/P&gt;&lt;P&gt;102S	105	230&lt;/P&gt;&lt;P&gt;102S	315	118&lt;/P&gt;&lt;P&gt;103S	105	439&lt;/P&gt;&lt;P&gt;103S	315	133&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, i need to change the format of the report such that it should look like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LGORT	105	315	TOTAL&lt;/P&gt;&lt;P&gt;102S	230	118	348&lt;/P&gt;&lt;P&gt;103S	439	133	572&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i.e. there should be only one entry for each storage loc. and the final col. TOTAL should be the sum of the all the movement types...i have worked it out with a couple of logics and not able to arrive at the soln..pl suggest...thanks all..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 11:08:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/1585287#M263898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T11:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: logic required!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/1585288#M263899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are u calling /creating tables dynamically ? If not u can put like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;itab-total = itab-105 + itab-315.&lt;/P&gt;&lt;P&gt;modify itab.&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;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 11:13:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/1585288#M263899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T11:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: logic required!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/1585289#M263900</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;itab has three fields- lgort,bwart,count and a variable v_count.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itab.
 at new lgort.
  write : / itab-lgort, itab-bwart.
  v_count = v_count + itab-count
 endat
 write : itab-bwart.
 at end of lgort.
  write : v_count.
 endat.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 11:15:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/1585289#M263900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T11:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: logic required!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/1585290#M263901</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;   thanks for the reply..the problem is not with the totaling..i am not able to get the corresponding entries of 105 and 315 in a single line...either they are getting appended or if i use modify, they are getting overwritten...if i use clear the itab, then only the second entry is coming...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 11:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/1585290#M263901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T11:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: logic required!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/1585291#M263902</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;Loop at itab and Use At-New of field or At-End of field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if usefull..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 11:17:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/1585291#M263902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T11:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: logic required!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/1585292#M263903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At-New of field or At-End of field will solve your issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 11:22:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-required/m-p/1585292#M263903</guid>
      <dc:creator>former_member189629</dc:creator>
      <dc:date>2006-09-26T11:22:53Z</dc:date>
    </item>
  </channel>
</rss>

