<?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/2524961#M571862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to loop at inernal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store the key field of first record in some variable.&lt;/P&gt;&lt;P&gt;read itab into wa_itab index 1.&lt;/P&gt;&lt;P&gt;temp = wa_itab-keyfield&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at internal table.&lt;/P&gt;&lt;P&gt;if temp = itab-keyfield.&lt;/P&gt;&lt;P&gt;group 1.&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;group 2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2007 07:03:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-23T07:03:07Z</dc:date>
    <item>
      <title>Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2524960#M571861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Suppose I have an internal table having 50 fields. The table have some data. Now, I want to detect those&lt;/P&gt;&lt;P&gt; records which have same value in 49 fields and different value in 1 field.What will be shortest way of doing it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Useful answers will be rewared.&lt;/P&gt;&lt;P&gt;Tan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 06:54:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2524960#M571861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T06:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2524961#M571862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to loop at inernal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store the key field of first record in some variable.&lt;/P&gt;&lt;P&gt;read itab into wa_itab index 1.&lt;/P&gt;&lt;P&gt;temp = wa_itab-keyfield&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at internal table.&lt;/P&gt;&lt;P&gt;if temp = itab-keyfield.&lt;/P&gt;&lt;P&gt;group 1.&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;group 2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 07:03:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2524961#M571862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T07:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2524962#M571863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I believe 50 fields are 50 columns.&lt;/P&gt;&lt;P&gt;You can convert these 50 columns into rows. and then delete adjucent duplicates will give you exact rows.&lt;/P&gt;&lt;P&gt;Provides 50 columns are fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;jtab-a = itab-a.&lt;/P&gt;&lt;P&gt;append ....&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;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;sort jtab.&lt;/P&gt;&lt;P&gt;delete adjucent duplicates from jtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 07:05:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2524962#M571863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T07:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2524963#M571864</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;Use &lt;/P&gt;&lt;P&gt;Sort Internal table.&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from itab comparing fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 07:06:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2524963#M571864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T07:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2524964#M571865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tanmay Bh  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is definitly useful to use AT NEW control statement.&lt;/P&gt;&lt;P&gt;Here is the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB INTO WA.&lt;/P&gt;&lt;P&gt;AT NEW 49th field.&lt;/P&gt;&lt;P&gt;*This is the record with atleast one record is diffrent in the 49 fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rama.Pammi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 07:11:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2524964#M571865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T07:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2524965#M571866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the example;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table with 5 fields :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a	b 	e	d	f&lt;/P&gt;&lt;P&gt;a	b	c	d	g&lt;/P&gt;&lt;P&gt;a	b	c	e	g&lt;/P&gt;&lt;P&gt;a	b	c	d	f	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need records which has same value in 1 2 3 5 column,&lt;/P&gt;&lt;P&gt;but different value in 4 th column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the selected record will be :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a	b	c	d	g&lt;/P&gt;&lt;P&gt;a	b	c	e	g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Tan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 07:39:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2524965#M571866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T07:39:00Z</dc:date>
    </item>
  </channel>
</rss>

