<?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: regarding performace in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performace/m-p/2032261#M417178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;1. Loop is used when you want to check the condition for all the table entries(more than one entry for some condition). and read is used when there is only in one record for the condition specified in your internal table(only one entry for condition).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You can simply read the records with index(provided you know the index). &lt;/P&gt;&lt;P&gt;read table itab index 1. &lt;/P&gt;&lt;P&gt;read table itab index 2.&lt;/P&gt;&lt;P&gt;However, this is only when you know which index to be read or if there is some condition then you can use where clause with binary search(You have to sort the internal table before this). Otherwise You have to use loop through the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2007 11:57:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-13T11:57:58Z</dc:date>
    <item>
      <title>regarding performace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performace/m-p/2032256#M417173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)which one is better in the below statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read   to get the data. Later using ' move ' to move to internal table&lt;/P&gt;&lt;P&gt;(or)&lt;/P&gt;&lt;P&gt;Loop    moving the data to internal table...endloop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) if i want the first two records to be displayed from my internal table what i have to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 08:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performace/m-p/2032256#M417173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T08:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: regarding performace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performace/m-p/2032257#M417174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;2) if i want the first two records to be displayed from my internal table what i have to do. 

  loop at itab from 1 to 2.
     write : / itab-field1.
  endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 08:38:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performace/m-p/2032257#M417174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T08:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: regarding performace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performace/m-p/2032258#M417175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1 -&amp;gt;If you want to access one record then READ is the&lt;/P&gt;&lt;P&gt;    best form to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    If you have more than 1 record to be moved, the use  &lt;/P&gt;&lt;P&gt;    the LOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 -&amp;gt;Use the LOOP FROM .. TO.. form of loop statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 08:40:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performace/m-p/2032258#M417175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T08:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: regarding performace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performace/m-p/2032259#M417176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi satya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Your first question is not clear?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Chandrasekhar Jagarlamudi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 08:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performace/m-p/2032259#M417176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T08:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: regarding performace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performace/m-p/2032260#M417177</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;read with binary search is always preferred for better performance..&lt;/P&gt;&lt;P&gt;sort the internal table with the required keys before using read on that table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loops cant be avoided in specific conditions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 08:53:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performace/m-p/2032260#M417177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T08:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: regarding performace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performace/m-p/2032261#M417178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;1. Loop is used when you want to check the condition for all the table entries(more than one entry for some condition). and read is used when there is only in one record for the condition specified in your internal table(only one entry for condition).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You can simply read the records with index(provided you know the index). &lt;/P&gt;&lt;P&gt;read table itab index 1. &lt;/P&gt;&lt;P&gt;read table itab index 2.&lt;/P&gt;&lt;P&gt;However, this is only when you know which index to be read or if there is some condition then you can use where clause with binary search(You have to sort the internal table before this). Otherwise You have to use loop through the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 11:57:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performace/m-p/2032261#M417178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T11:57:58Z</dc:date>
    </item>
  </channel>
</rss>

