<?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: itab sum calculation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-sum-calculation/m-p/2295529#M501183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but friends,&lt;/P&gt;&lt;P&gt;i have two questions:&lt;/P&gt;&lt;P&gt;1)after using collect statement,&lt;/P&gt;&lt;P&gt;will there be redundant entries like,&lt;/P&gt;&lt;P&gt;john&lt;/P&gt;&lt;P&gt;john&lt;/P&gt;&lt;P&gt;john&lt;/P&gt;&lt;P&gt;or only one john&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) if in place on name there is any numeric field like company code&lt;/P&gt;&lt;P&gt;will this collect statement add up the numeric company codes too. which should not happen.&lt;/P&gt;&lt;P&gt;thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 May 2007 00:53:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-28T00:53:06Z</dc:date>
    <item>
      <title>itab sum calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-sum-calculation/m-p/2295526#M501180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;friends,&lt;/P&gt;&lt;P&gt;i have aproblem,&lt;/P&gt;&lt;P&gt;the following can make you understand better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;name             marks&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------" /&gt;&lt;P&gt;john                 20&lt;/P&gt;&lt;P&gt;john                 30&lt;/P&gt;&lt;P&gt;john                 40&lt;/P&gt;&lt;P&gt;martin              30&lt;/P&gt;&lt;P&gt;smith               20&lt;/P&gt;&lt;P&gt;martin              20&lt;/P&gt;&lt;P&gt;smith                10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this itab1 must be converted to itab2 given below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;name                 marks&lt;/P&gt;&lt;P&gt;_______________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;john                       90(=20&lt;EM&gt;30&lt;/EM&gt;40)&lt;/P&gt;&lt;P&gt;martin                     50(=30+20)&lt;/P&gt;&lt;P&gt;smith                      30(=20+10)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what would be the best way of coding.&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 00:31:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-sum-calculation/m-p/2295526#M501180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T00:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: itab sum calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-sum-calculation/m-p/2295527#M501181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi saritha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;itab2-name = itab1-name.&lt;/P&gt;&lt;P&gt;itab2-marks = itab1-marks.&lt;/P&gt;&lt;P&gt;collect itab2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 00:36:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-sum-calculation/m-p/2295527#M501181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T00:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: itab sum calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-sum-calculation/m-p/2295528#M501182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is one way.  Itab2 should be the same structure as itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Loop at itab1.
   itab2 = itab1.
   collect itab2.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 00:37:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-sum-calculation/m-p/2295528#M501182</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-05-28T00:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: itab sum calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-sum-calculation/m-p/2295529#M501183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but friends,&lt;/P&gt;&lt;P&gt;i have two questions:&lt;/P&gt;&lt;P&gt;1)after using collect statement,&lt;/P&gt;&lt;P&gt;will there be redundant entries like,&lt;/P&gt;&lt;P&gt;john&lt;/P&gt;&lt;P&gt;john&lt;/P&gt;&lt;P&gt;john&lt;/P&gt;&lt;P&gt;or only one john&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) if in place on name there is any numeric field like company code&lt;/P&gt;&lt;P&gt;will this collect statement add up the numeric company codes too. which should not happen.&lt;/P&gt;&lt;P&gt;thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 00:53:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-sum-calculation/m-p/2295529#M501183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T00:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: itab sum calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-sum-calculation/m-p/2295530#M501184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saritha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 - There will be no JOHN multiple times. It will just add numeric values which has the same key (All character fields).&lt;/P&gt;&lt;P&gt;2 - Company code are always numeric, but if you see the data type attached it is BUKRS which is of type character 4. So no need to worry &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 00:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-sum-calculation/m-p/2295530#M501184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T00:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: itab sum calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-sum-calculation/m-p/2295531#M501185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when any key fields(genrally fields which are of C,N,D,T,X datatypes are by default assign to the key fields of itab) of itab is repeating then the non key fields (like I,P) is getting added. so as per your requirement check the key fields are belongs to that data type or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2007 01:04:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-sum-calculation/m-p/2295531#M501185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-28T01:04:04Z</dc:date>
    </item>
  </channel>
</rss>

