<?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: Don't sort internal table before using binary search in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/don-t-sort-internal-table-before-using-binary-search/m-p/12557518#M2007350</link>
    <description>&lt;P&gt;if the table is type STANDARD TABLE, and the SORT is not correct, the BINARY SEARCH will give you wrong answer.&lt;/P&gt;&lt;P&gt;It is a dichotomic search: Check in the middle of the list if it is higher or lower than the exepected result. Do it on the result ...... &lt;/P&gt;</description>
    <pubDate>Mon, 15 Nov 2021 09:56:11 GMT</pubDate>
    <dc:creator>FredericGirod</dc:creator>
    <dc:date>2021-11-15T09:56:11Z</dc:date>
    <item>
      <title>Don't sort internal table before using binary search</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/don-t-sort-internal-table-before-using-binary-search/m-p/12557517#M2007349</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;
  &lt;P&gt;Could you please suggest on below doubt..&lt;/P&gt;
  &lt;P&gt;If we don't sort internal table before using Binary search what will be the impact on read statement..&lt;/P&gt;Thanks in advance.</description>
      <pubDate>Mon, 15 Nov 2021 09:46:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/don-t-sort-internal-table-before-using-binary-search/m-p/12557517#M2007349</guid>
      <dc:creator>former_member634014</dc:creator>
      <dc:date>2021-11-15T09:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Don't sort internal table before using binary search</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/don-t-sort-internal-table-before-using-binary-search/m-p/12557518#M2007350</link>
      <description>&lt;P&gt;if the table is type STANDARD TABLE, and the SORT is not correct, the BINARY SEARCH will give you wrong answer.&lt;/P&gt;&lt;P&gt;It is a dichotomic search: Check in the middle of the list if it is higher or lower than the exepected result. Do it on the result ...... &lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 09:56:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/don-t-sort-internal-table-before-using-binary-search/m-p/12557518#M2007350</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2021-11-15T09:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Don't sort internal table before using binary search</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/don-t-sort-internal-table-before-using-binary-search/m-p/12557519#M2007351</link>
      <description>&lt;P&gt;Use a type sorted tables or with sorted secondary table keys (not hashed) definition or a SORT statement, otherwise the behavior will be unpredictable: ‘&lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapread_table_free.htm#!ABAP_ONE_ADD@1@"&gt;If this requirement is not met, the correct line is not usually found.&lt;/A&gt;’&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 10:18:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/don-t-sort-internal-table-before-using-binary-search/m-p/12557519#M2007351</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2021-11-15T10:18:35Z</dc:date>
    </item>
  </channel>
</rss>

