<?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 Performance Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692391#M1102922</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;Which of the following is the fastest way to fill an internal table of the structure above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;a)	select field1 field2 into (itab-field1, itab-field2) 
       from ztable where field1 = '10'. 
Append itab. 
Endselect.

b)	select * from ztable 
       where field1 = '10'. 
Move ztable to wa. 
Append itab from wa. 
Endselect.

c)	select * into corresponding-fields of itab 
       from ztable where field1 = '10'.

d)	select * from ztable 
       where field1 = '10'. 
Append itab. 
Endselect.

e)	select * into table itab from ztable 
       where field1 = '10'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Nov 2008 13:40:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-01T13:40:58Z</dc:date>
    <item>
      <title>Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692391#M1102922</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;Which of the following is the fastest way to fill an internal table of the structure above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;a)	select field1 field2 into (itab-field1, itab-field2) 
       from ztable where field1 = '10'. 
Append itab. 
Endselect.

b)	select * from ztable 
       where field1 = '10'. 
Move ztable to wa. 
Append itab from wa. 
Endselect.

c)	select * into corresponding-fields of itab 
       from ztable where field1 = '10'.

d)	select * from ztable 
       where field1 = '10'. 
Append itab. 
Endselect.

e)	select * into table itab from ztable 
       where field1 = '10'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Nov 2008 13:40:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692391#M1102922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-01T13:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692392#M1102923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;       if u have only  two fields, then use following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field1 field2 into &lt;/P&gt;&lt;P&gt;(itab-field1, itab-field2) &lt;/P&gt;&lt;P&gt;from ztable where field1 = '10'. &lt;/P&gt;&lt;P&gt;Append itab. &lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Nov 2008 14:18:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692392#M1102923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-01T14:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692393#M1102924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i feel you can go with E option only because you are using single select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can compare statements only when you have same requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A,B,D have got additional statements like move  append it will take definitely longer time . C will take more time than E as you are using into corresponding fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Nov 2008 14:30:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692393#M1102924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-01T14:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692394#M1102925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ferry , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My opinion is E , because u HIT the Database just one time , &lt;/P&gt;&lt;P&gt;insted of doing loop (a,b,d). &lt;/P&gt;&lt;P&gt;C take more then D because the corresponding. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Nov 2008 15:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692394#M1102925</guid>
      <dc:creator>shimon_tal</dc:creator>
      <dc:date>2008-11-01T15:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692395#M1102926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Nov 2008 18:30:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692395#M1102926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-01T18:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692396#M1102927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nope, seems more like a written test, so might be certification&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Nov 2008 18:33:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692396#M1102927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-01T18:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692397#M1102928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems very similar to another question by another(?) individual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Nov 2008 18:39:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692397#M1102928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-01T18:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692398#M1102929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rather avoid Ferry Latino and Cosmo Kramer until he / she gets his / her act together, as per the forum rules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Nov 2008 19:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/4692398#M1102929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-01T19:33:44Z</dc:date>
    </item>
  </channel>
</rss>

