<?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: COUNT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/count/m-p/4632584#M1090933</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;declare the final internal table with two fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;read table it_final with key field1 = itab-field1.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;move itab-field1 to it_final-field1.&lt;/P&gt;&lt;P&gt;move 1 to it_final-field2.&lt;/P&gt;&lt;P&gt;append it_final.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;add 1 to it_final-fied2.&lt;/P&gt;&lt;P&gt;modify it_final.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2008 10:08:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-21T10:08:43Z</dc:date>
    <item>
      <title>COUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/count/m-p/4632580#M1090929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DEAR All,&lt;/P&gt;&lt;P&gt;i am showing the output is &lt;/P&gt;&lt;P&gt;aa&lt;/P&gt;&lt;P&gt;cd&lt;/P&gt;&lt;P&gt;er&lt;/P&gt;&lt;P&gt;aa&lt;/P&gt;&lt;P&gt;cd&lt;/P&gt;&lt;P&gt;er&lt;/P&gt;&lt;P&gt;aa&lt;/P&gt;&lt;P&gt;tr . this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my target is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how many aa,cd,er is available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for eg:&lt;/P&gt;&lt;P&gt;aa 3&lt;/P&gt;&lt;P&gt;cd 2&lt;/P&gt;&lt;P&gt;er 2.&lt;/P&gt;&lt;P&gt;tr 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me &lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 09:57:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/count/m-p/4632580#M1090929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T09:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: COUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/count/m-p/4632581#M1090930</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;move your values inside an internal table and collect it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab,&lt;/P&gt;&lt;P&gt;           itext(2) type c,&lt;/P&gt;&lt;P&gt;           icount type i,&lt;/P&gt;&lt;P&gt;        end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move 'aa' to itab-itext,&lt;/P&gt;&lt;P&gt;        '1' to itab-icount.&lt;/P&gt;&lt;P&gt;collect itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nicole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 10:02:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/count/m-p/4632581#M1090930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T10:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: COUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/count/m-p/4632582#M1090931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;U can do it this way...&lt;/P&gt;&lt;P&gt;1. Sort the internaltable.&lt;/P&gt;&lt;P&gt;2. Count inside AT END OF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U will get ur desired result....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 10:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/count/m-p/4632582#M1090931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T10:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: COUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/count/m-p/4632583#M1090932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suggestion is you to please try to write this kind of logic by your own and use some tactics in these kind of CODE.&lt;/P&gt;&lt;P&gt;It will make you brain sharp and you will be good programmer.&lt;/P&gt;&lt;P&gt;if somebody write a code for you or logic for you than simply their brain would get exercised not yours.&lt;/P&gt;&lt;P&gt;so to keep alive yourself as long in ABAP ocean you must use your brain and efforts rather than asking someone else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just my 2 cents~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 10:08:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/count/m-p/4632583#M1090932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T10:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: COUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/count/m-p/4632584#M1090933</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;declare the final internal table with two fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;read table it_final with key field1 = itab-field1.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;move itab-field1 to it_final-field1.&lt;/P&gt;&lt;P&gt;move 1 to it_final-field2.&lt;/P&gt;&lt;P&gt;append it_final.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;add 1 to it_final-fied2.&lt;/P&gt;&lt;P&gt;modify it_final.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 10:08:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/count/m-p/4632584#M1090933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T10:08:43Z</dc:date>
    </item>
  </channel>
</rss>

