<?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: Internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641324#M285605</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;If u want to use collect statement ( with header line)&lt;/P&gt;&lt;P&gt; you should use the Clear statement for each and every append.&lt;/P&gt;&lt;P&gt;then you will get correct output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;f1 type c,&lt;/P&gt;&lt;P&gt;f2 type i,&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-f1 = 'a'.&lt;/P&gt;&lt;P&gt;itab-f2 = 10.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;itab-f1 = 'b'.&lt;/P&gt;&lt;P&gt;itab-f2 = 20.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;itab-f1 = 'c'.&lt;/P&gt;&lt;P&gt;itab-f2 = 30.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;collect itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write : / itab-f1,&lt;/P&gt;&lt;P&gt;itab-f2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Nov 2006 05:46:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-26T05:46:04Z</dc:date>
    <item>
      <title>Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641322#M285603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi frnds i hav a doubt in Collect statement .&lt;/P&gt;&lt;P&gt;As per my program its like that&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;          f1 type c,&lt;/P&gt;&lt;P&gt;          f2 type i,&lt;/P&gt;&lt;P&gt;          end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-f1 = 'a'.&lt;/P&gt;&lt;P&gt;itab-f2 = 10.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-f1 = 'b'.&lt;/P&gt;&lt;P&gt;itab-f2 = 20.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-f1 = 'c'.&lt;/P&gt;&lt;P&gt;itab-f2 = 30.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write : / itab-f1,&lt;/P&gt;&lt;P&gt;            itab-f2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;ok frnds when i m writing collect after appending the last record the o/p is like this&lt;/P&gt;&lt;P&gt;a 10&lt;/P&gt;&lt;P&gt;b 20&lt;/P&gt;&lt;P&gt;c 60&lt;/P&gt;&lt;P&gt;why?&lt;/P&gt;&lt;P&gt;can anyone solve my doubt i m debbuging the program but not getting exactly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                     regards,&lt;/P&gt;&lt;P&gt;                                                      karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 05:37:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641322#M285603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T05:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641323#M285604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have appended three rows in the tables and you getting those three rows in the output, which is right. What else were you expecting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You have not used COLLECT statement.&lt;/P&gt;&lt;P&gt;2. COLLECT will come into affect only when rest of the non-numeric fields are same and you have used the COLLECT statement, so the numeric fields will get added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note - Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 05:42:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641323#M285604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T05:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641324#M285605</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;If u want to use collect statement ( with header line)&lt;/P&gt;&lt;P&gt; you should use the Clear statement for each and every append.&lt;/P&gt;&lt;P&gt;then you will get correct output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;f1 type c,&lt;/P&gt;&lt;P&gt;f2 type i,&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-f1 = 'a'.&lt;/P&gt;&lt;P&gt;itab-f2 = 10.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;itab-f1 = 'b'.&lt;/P&gt;&lt;P&gt;itab-f2 = 20.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;itab-f1 = 'c'.&lt;/P&gt;&lt;P&gt;itab-f2 = 30.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;collect itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write : / itab-f1,&lt;/P&gt;&lt;P&gt;itab-f2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 05:46:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641324#M285605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T05:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641325#M285606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi thks u for ur reply.&lt;/P&gt;&lt;P&gt;see here i hav used collect stmt but my o/p is a 10,b 20,c 60 , here all the non-numeric keys are different but still the numeric values are getting added.&lt;/P&gt;&lt;P&gt;Can u plzz clarify exactly my doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                            regards,&lt;/P&gt;&lt;P&gt;                                                             karthik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;f1 type c,&lt;/P&gt;&lt;P&gt;f2 type i,&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-f1 = 'a'.&lt;/P&gt;&lt;P&gt;itab-f2 = 10.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-f1 = 'b'.&lt;/P&gt;&lt;P&gt;itab-f2 = 20.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-f1 = 'c'.&lt;/P&gt;&lt;P&gt;itab-f2 = 30.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;collect itab.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write : / itab-f1,&lt;/P&gt;&lt;P&gt;itab-f2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 05:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641325#M285606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T05:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641326#M285607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ur correct i hav worked out fine. But if at all the non-numreic fields are different why the collect statement is adding up the numeric fields if we dont use clear.&lt;/P&gt;&lt;P&gt;can u plzz clear my doubt.&lt;/P&gt;&lt;P&gt;regrads,&lt;/P&gt;&lt;P&gt; karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 06:06:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641326#M285607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T06:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641327#M285608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here you are using internal table with header line . so the collect statement is taking values from previous records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the following code you will get exactly what you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;f1 type c,&lt;/P&gt;&lt;P&gt;f2 type i,&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-f1 = 'a'.&lt;/P&gt;&lt;P&gt;itab-f2 = 10.&lt;/P&gt;&lt;P&gt;collect itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-f1 = 'b'.&lt;/P&gt;&lt;P&gt;itab-f2 = 20.&lt;/P&gt;&lt;P&gt;collect itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-f1 = 'c'.&lt;/P&gt;&lt;P&gt;itab-f2 = 30.&lt;/P&gt;&lt;P&gt;collect itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab. &lt;/P&gt;&lt;P&gt;write : / itab-f1,&lt;/P&gt;&lt;P&gt;itab-f2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 06:12:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641327#M285608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T06:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641328#M285609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sekhra,&lt;/P&gt;&lt;P&gt;                  Sorry but i m not getting the point can u give me clear exp of coolect stmt and make me know exactly how it is working&lt;/P&gt;&lt;P&gt;i got from ur second similar to fst one can u tell me what is the diff.&lt;/P&gt;&lt;P&gt;plzz clear my doubt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 06:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641328#M285609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T06:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641329#M285610</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;chk this sample ..u will get a good idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: BEGIN OF COMPANIES OCCURS 10,
        NAME(20),
        SALES TYPE I,
      END   OF COMPANIES.
COMPANIES-NAME = 'Duck'.  
COMPANIES-SALES = 10.
COLLECT COMPANIES.

COMPANIES-NAME = 'Tiger'. 
COMPANIES-SALES = 20.
COLLECT COMPANIES.

COMPANIES-NAME = 'Duck'.  
COMPANIES-SALES = 30.
COLLECT COMPANIES.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table COMPANIES now has the following appearance: &lt;/P&gt;&lt;P&gt;Duck 	40&lt;/P&gt;&lt;P&gt;Tiger	 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the line is inserted, the system checks whether there is already a table entry that matches the key. &lt;/P&gt;&lt;P&gt;If there is no corresponding entry already in the table, &lt;/P&gt;&lt;P&gt;the COLLECT statement has the same effect as inserting the new line. &lt;/P&gt;&lt;P&gt;If an entry with the same key already exists, &lt;/P&gt;&lt;P&gt;the COLLECT statement does not append a new line,&lt;/P&gt;&lt;P&gt;but adds the contents of the numeric fields in the work area to the contents of the numeric fields in the existing entry. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should only use the COLLECT statement if you want to create summarized tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;P&gt;If you use other statements to insert table entries, you may end up with duplicate entries.&lt;/P&gt;&lt;P&gt;GO THROUGH THIS LINK&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/collect.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/collect.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 07:03:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641329#M285610</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-26T07:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641330#M285611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anversha ,&lt;/P&gt;&lt;P&gt;     I Hv got an idea from ur exp but as we know that there is no primary key type we use in internal table so how come we say that we are collecting using key.&lt;/P&gt;&lt;P&gt;can u just make me understand this point frnd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                                           regards,&lt;/P&gt;&lt;P&gt;                                                                             karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 07:16:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641330#M285611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T07:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641331#M285612</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;here key means--&amp;gt; only combinations....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider only the non-numeric values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the collect statement will consider all this non-numeric fields as key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;their combination is checked and numeric fields are summed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 07:24:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641331#M285612</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-26T07:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641332#M285613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did ur issue solve, pls let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that i can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if solved, kindly close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;pls mark all helpful&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt; asnwers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 07:40:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641332#M285613</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-26T07:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641333#M285614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it means that if we dont clear the last record appended and use collect stmt then it will add up the numeric records , am i correct anevesh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                regrads,&lt;/P&gt;&lt;P&gt;                                                 karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 09:11:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641333#M285614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T09:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641334#M285615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i mean what do u mean by combinantions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 09:13:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641334#M285615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T09:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641335#M285616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi karthik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;ya if the header is not cleared, we will not get the correct ouput.&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An important TIP for u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Always use CLEAR statement after an APPEND statement.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise it will create problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 09:14:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641335#M285616</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-26T09:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641336#M285617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi anversha,&lt;/P&gt;&lt;P&gt;Thnks for ur replies sory i was in lunch..&lt;/P&gt;&lt;P&gt;can u tell me what does it mean from the material u hav provided it has been written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the default key of an internal table is processed with collect is blank , all values are added up in the first table line.&lt;/P&gt;&lt;P&gt;hey can u make my doubt clear.&lt;/P&gt;&lt;P&gt;                                                         regards,&lt;/P&gt;&lt;P&gt;                                                           karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 09:23:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641336#M285617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T09:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641337#M285618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it means, see this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itab.
at end of field1.
collect itab into itab2.
append itab2.
clear itab2.
endat.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here we are transfering collected data from itab to itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the itab2 contains a same combination of itab header after collect statemnet, the corresponding line in itab2 is &amp;lt;b&amp;gt;MODIFED&amp;lt;/b&amp;gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if no combination is available, the collected record is &amp;lt;b&amp;gt;APPENDED&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope u understud.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 09:33:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641337#M285618</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-26T09:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641338#M285619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnk u very much Anversha . My problem is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2006 09:55:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1641338#M285619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-26T09:55:25Z</dc:date>
    </item>
  </channel>
</rss>

