<?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: Delete adjacent duplicates comparing all fields. Sorting clarififcation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-adjacent-duplicates-comparing-all-fields-sorting-clarififcation/m-p/12095620#M1972334</link>
    <description>&lt;P&gt;Just press F1 on SORT and click on further hyperlinks.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/doc/abapdocu_753_index_htm/7.53/en-US/index.htm?file=abapsort_itab.htm"&gt;Documentation 7.53 of SORT&lt;/A&gt;:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;If no explicit sort key is entered using the addition BY, the internal table itab is sorted by the primary table key.&lt;/LI&gt;&lt;LI&gt;It is best to specify an explicit sort key behind BY, if possible. An implicit sort behind the primary table key (which can itself, in standard tables, be defined implicitly as a standard key) makes a program difficult to understand and possibly unpredictable.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Documentation of primary table key:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;either a self-defined key or the standard key&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Documentation of standard key:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;... whose key fields (if the row type is structured) are all table fields with character-like data types and byte-like data types.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you use DELETE ADJACENT DUPLICATES FROM itab COMPARING ALL FIELDS, it can be preceded with SORT and the pseudo component &lt;STRONG&gt;table_line&lt;/STRONG&gt; equivalent to ALL FIELDS (I can't find it in the documentation):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SORT itab BY table_line.&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 23 Aug 2019 12:12:29 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2019-08-23T12:12:29Z</dc:date>
    <item>
      <title>Delete adjacent duplicates comparing all fields. Sorting clarififcation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-adjacent-duplicates-comparing-all-fields-sorting-clarififcation/m-p/12095618#M1972332</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;When we use Delete adjacent duplicates comparing all fields, do we need to sort table with all fields ? or "Sort Itab" will be suffiecient .&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Sri&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 08:02:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-adjacent-duplicates-comparing-all-fields-sorting-clarififcation/m-p/12095618#M1972332</guid>
      <dc:creator>former_member450822</dc:creator>
      <dc:date>2019-08-23T08:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Delete adjacent duplicates comparing all fields. Sorting clarififcation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-adjacent-duplicates-comparing-all-fields-sorting-clarififcation/m-p/12095619#M1972333</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;generally we short table with key fields, then we delete adjacent duplicates comparing those fileds&lt;/P&gt;&lt;P&gt;like sort EKPO by EBELN EBELP&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhupendra&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 11:28:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-adjacent-duplicates-comparing-all-fields-sorting-clarififcation/m-p/12095619#M1972333</guid>
      <dc:creator>former_member199306</dc:creator>
      <dc:date>2019-08-23T11:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Delete adjacent duplicates comparing all fields. Sorting clarififcation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-adjacent-duplicates-comparing-all-fields-sorting-clarififcation/m-p/12095620#M1972334</link>
      <description>&lt;P&gt;Just press F1 on SORT and click on further hyperlinks.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/doc/abapdocu_753_index_htm/7.53/en-US/index.htm?file=abapsort_itab.htm"&gt;Documentation 7.53 of SORT&lt;/A&gt;:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;If no explicit sort key is entered using the addition BY, the internal table itab is sorted by the primary table key.&lt;/LI&gt;&lt;LI&gt;It is best to specify an explicit sort key behind BY, if possible. An implicit sort behind the primary table key (which can itself, in standard tables, be defined implicitly as a standard key) makes a program difficult to understand and possibly unpredictable.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Documentation of primary table key:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;either a self-defined key or the standard key&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Documentation of standard key:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;... whose key fields (if the row type is structured) are all table fields with character-like data types and byte-like data types.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you use DELETE ADJACENT DUPLICATES FROM itab COMPARING ALL FIELDS, it can be preceded with SORT and the pseudo component &lt;STRONG&gt;table_line&lt;/STRONG&gt; equivalent to ALL FIELDS (I can't find it in the documentation):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SORT itab BY table_line.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Aug 2019 12:12:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-adjacent-duplicates-comparing-all-fields-sorting-clarififcation/m-p/12095620#M1972334</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-08-23T12:12:29Z</dc:date>
    </item>
  </channel>
</rss>

