<?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: Problem  in using COLLECT statment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269344#M1830949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;problem solved. thank u guys for your prompt reply and I am really happy with your knowledge transfer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2014 11:53:55 GMT</pubDate>
    <dc:creator>satish_kumar127</dc:creator>
    <dc:date>2014-05-07T11:53:55Z</dc:date>
    <item>
      <title>Problem  in using COLLECT statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269338#M1830943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;getting problem in using COLLECT statement.&amp;nbsp; attaching my code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;it_final1 &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;wa_final1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;it_final &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;wa_final &lt;SPAN class="L0S52"&gt;WHERE &lt;/SPAN&gt;vagrp &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_final1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;vagrp &lt;SPAN class="L0S52"&gt;AND &lt;/SPAN&gt;verwmerkm &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_final1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;verwmerkm&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_final1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;anzwertg &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_final&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;anzwertg&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;COLLECT &lt;/SPAN&gt;wa_final1 &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;it_final1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CLEAR&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;wa_final1&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;wa_final&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;here , i want to use collect statement only for&amp;nbsp; "anzwertg" field from internal table. but 2 more fields also getting&amp;nbsp; compressed .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;attaching screen shot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/447682" width="450" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;here, original_input and max fields also getting compressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could anybody please help me out in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 11:09:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269338#M1830943</guid>
      <dc:creator>satish_kumar127</dc:creator>
      <dc:date>2014-05-07T11:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in using COLLECT statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269339#M1830944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All numeric fields are summed up in Collect statement if all the character fields are same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 11:19:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269339#M1830944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-07T11:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in using COLLECT statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269340#M1830945</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;Make sure &lt;SPAN style="color: #333333; font-size: 12px;"&gt;original_input and max fields&lt;/SPAN&gt; are charecter types,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;revert if any issues after changing those to charecter fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 11:19:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269340#M1830945</guid>
      <dc:creator>pavanm592</dc:creator>
      <dc:date>2014-05-07T11:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in using COLLECT statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269341#M1830946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi pavan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've given those types are P decimals 2. without changing the type , can we achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 11:36:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269341#M1830946</guid>
      <dc:creator>satish_kumar127</dc:creator>
      <dc:date>2014-05-07T11:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in using COLLECT statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269342#M1830947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you narayana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 11:37:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269342#M1830947</guid>
      <dc:creator>satish_kumar127</dc:creator>
      <dc:date>2014-05-07T11:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in using COLLECT statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269343#M1830948</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;The floating point fields are also added in collect statement. So you have to loop through the table and add the field required on your own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aswath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 11:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269343#M1830948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-07T11:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in using COLLECT statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269344#M1830949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;problem solved. thank u guys for your prompt reply and I am really happy with your knowledge transfer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 11:53:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269344#M1830949</guid>
      <dc:creator>satish_kumar127</dc:creator>
      <dc:date>2014-05-07T11:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in using COLLECT statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269345#M1830950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi satish....&lt;/P&gt;&lt;P&gt;collect statement works based on char fields..&lt;/P&gt;&lt;P&gt;by default it will taken char fields as a key fields .........&lt;/P&gt;&lt;P&gt;if any char field is repeated then corresponding numc values will be added....&lt;/P&gt;&lt;P&gt;other wise it will act as a APPEND statement......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here in ur code there is no char field then how it will caliculate that values...&lt;/P&gt;&lt;P&gt;just check it once..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Vamsi....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 12:00:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269345#M1830950</guid>
      <dc:creator>vamsilakshman_pendurti</dc:creator>
      <dc:date>2014-05-07T12:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  in using COLLECT statment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269346#M1830951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes vamsi, you are right, i found the solution. thanks for the KT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 12:41:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-using-collect-statment/m-p/10269346#M1830951</guid>
      <dc:creator>satish_kumar127</dc:creator>
      <dc:date>2014-05-07T12:41:57Z</dc:date>
    </item>
  </channel>
</rss>

