<?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: Read table in abap without declaring internal table as sorted. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-in-abap-without-declaring-internal-table-as-sorted/m-p/9164230#M1711488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your question is not much clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you can create internal table with hashed also. For this method you have to provide unique key whereas for sorted you can also use non-unique key. And you can use read with hashed internal table also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you don't want to use internal tables then you can use SELECT-ENDSELECT command. But this method is not recommended.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2012 17:28:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-11-12T17:28:59Z</dc:date>
    <item>
      <title>Read table in abap without declaring internal table as sorted.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-in-abap-without-declaring-internal-table-as-sorted/m-p/9164228#M1711486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i read table without deaclaring internal table as a sorted table.&lt;/P&gt;&lt;P&gt;means if we will not declar internal table as a sorted table than&amp;nbsp; can we use read table concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="font-family: Arial; color: red;"&gt;Moderator message: please search for available information and documentation before posting. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Thomas Zloch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 17:18:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-in-abap-without-declaring-internal-table-as-sorted/m-p/9164228#M1711486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-12T17:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Read table in abap without declaring internal table as sorted.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-in-abap-without-declaring-internal-table-as-sorted/m-p/9164229#M1711487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can use it with out sorting an Internal table but the read statement should not be a Binary search addition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Binary search the internal table should be sorted for normal read no need to sort.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 17:24:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-in-abap-without-declaring-internal-table-as-sorted/m-p/9164229#M1711487</guid>
      <dc:creator>former_member206439</dc:creator>
      <dc:date>2012-11-12T17:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Read table in abap without declaring internal table as sorted.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-in-abap-without-declaring-internal-table-as-sorted/m-p/9164230#M1711488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your question is not much clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you can create internal table with hashed also. For this method you have to provide unique key whereas for sorted you can also use non-unique key. And you can use read with hashed internal table also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you don't want to use internal tables then you can use SELECT-ENDSELECT command. But this method is not recommended.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 17:28:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-in-abap-without-declaring-internal-table-as-sorted/m-p/9164230#M1711488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-12T17:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Read table in abap without declaring internal table as sorted.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-in-abap-without-declaring-internal-table-as-sorted/m-p/9164231#M1711489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;data : itab type table of crmd_orderadm_h,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stru like line of itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;read itab with&amp;nbsp; table key guid = '22334' into stru. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code will execute or not. or we have to declare itab as sorted table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; background-color: #ffffff; font-family: 'Courier New';"&gt;DATA itab type sorted TABLE OF crmd_orderadm_h WITH UNIQUE KEY col1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;stru like line of itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; background-color: #ffffff; font-family: 'Courier New';"&gt;&lt;STRONG&gt;read itab with&amp;nbsp; table key guid = '22334' into stru. &lt;/STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 17:39:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-in-abap-without-declaring-internal-table-as-sorted/m-p/9164231#M1711489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-12T17:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Read table in abap without declaring internal table as sorted.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-in-abap-without-declaring-internal-table-as-sorted/m-p/9164232#M1711490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;data : itab type table of crmd_orderadm_h,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stru like line of itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;read itab with&amp;nbsp; table key guid = '22334' into stru. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code will execute or not. or we have to declare itab as sorted table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; background-color: #ffffff; font-family: 'Courier New';"&gt;DATA itab type sorted TABLE OF crmd_orderadm_h WITH UNIQUE KEY col1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;stru like line of itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; background-color: #ffffff; font-family: 'Courier New';"&gt;&lt;STRONG&gt;read itab with&amp;nbsp; table key guid = '22334' into stru. &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 17:39:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-in-abap-without-declaring-internal-table-as-sorted/m-p/9164232#M1711490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-12T17:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Read table in abap without declaring internal table as sorted.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-in-abap-without-declaring-internal-table-as-sorted/m-p/9164233#M1711491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this will execute but take more time in searching as this will use linear search whereas if you use sorted or hashed table, search time will be less.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 17:59:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-in-abap-without-declaring-internal-table-as-sorted/m-p/9164233#M1711491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-12T17:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Read table in abap without declaring internal table as sorted.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-in-abap-without-declaring-internal-table-as-sorted/m-p/9164234#M1711492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will work fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 18:23:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-table-in-abap-without-declaring-internal-table-as-sorted/m-p/9164234#M1711492</guid>
      <dc:creator>former_member206439</dc:creator>
      <dc:date>2012-11-12T18:23:04Z</dc:date>
    </item>
  </channel>
</rss>

