<?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 Identical rows in Internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/identical-rows-in-internal-table/m-p/3651963#M879611</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;How to find if all the records are identical in an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg.I have a internal table itab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user will enter some 'm' number of records,i need to check if all the records are identical in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2008 08:34:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-15T08:34:32Z</dc:date>
    <item>
      <title>Identical rows in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identical-rows-in-internal-table/m-p/3651963#M879611</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;How to find if all the records are identical in an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg.I have a internal table itab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user will enter some 'm' number of records,i need to check if all the records are identical in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 08:34:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identical-rows-in-internal-table/m-p/3651963#M879611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T08:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Identical rows in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identical-rows-in-internal-table/m-p/3651964#M879612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do they need to be identical?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might want to declare an internal (TYPE SORTED TABLE OF) with a unique key. this way you will always have unique records. But when insert data into internal table use the INSERT and NOT the APPEND. This can violate the key and will give a short dump.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 08:37:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identical-rows-in-internal-table/m-p/3651964#M879612</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-04-15T08:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Identical rows in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identical-rows-in-internal-table/m-p/3651965#M879613</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 this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

data: wa_entry type zentry. 

read table itab1 from wa_entry comparing all fields.

if sy-subrc eq 2.
  "True
else.
  "False
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 08:40:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identical-rows-in-internal-table/m-p/3651965#M879613</guid>
      <dc:creator>peter_ruiz2</dc:creator>
      <dc:date>2008-04-15T08:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Identical rows in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identical-rows-in-internal-table/m-p/3651966#M879614</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;but what is zentry in this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wa_entry type zentry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 08:56:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identical-rows-in-internal-table/m-p/3651966#M879614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T08:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Identical rows in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identical-rows-in-internal-table/m-p/3651967#M879615</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;i use zentry because i don't know the structure of your work area for user entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 09:12:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identical-rows-in-internal-table/m-p/3651967#M879615</guid>
      <dc:creator>peter_ruiz2</dc:creator>
      <dc:date>2008-04-15T09:12:22Z</dc:date>
    </item>
  </channel>
</rss>

