<?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: Performance &amp; Data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542148#M246934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)  I suggest to always avoid a SELECT ENDSELECT. Why?  Because each pass is a hit to the DB, you will want to use INTO TABLE of ITAB instead as it is one rould trip to the DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)  I like to use LSMW for standard objects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Aug 2006 15:05:46 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-08-21T15:05:46Z</dc:date>
    <item>
      <title>Performance &amp; Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542146#M246932</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;i have few questions to share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.When you have a select statement with in Loop..Endloop&lt;/P&gt;&lt;P&gt;and a Select and Endselect, which one do you prefer? and Why and which is best on performance wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.What method do you suggest when you have some 10000 records to post to R/3 from legacy Vendor Master/Material Master (Master Data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 15:01:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542146#M246932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-21T15:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Performance &amp; Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542147#M246933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sheshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.When you have a select statement with in Loop..Endloop&lt;/P&gt;&lt;P&gt;and a Select and Endselect, which one do you prefer? and Why and which is best on performance wise&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;both the methods are not advisable to use speaking in terms of performance related issue ... but among both the methods select statement within loop and endloop is preferable ...&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.What method do you suggest when you have some 10000 records to post to R/3 from legacy Vendor Master/Material Master (Master Data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;LSMW..&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Santosh Kumar P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 15:05:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542147#M246933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-21T15:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Performance &amp; Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542148#M246934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)  I suggest to always avoid a SELECT ENDSELECT. Why?  Because each pass is a hit to the DB, you will want to use INTO TABLE of ITAB instead as it is one rould trip to the DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)  I like to use LSMW for standard objects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 15:05:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542148#M246934</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-21T15:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Performance &amp; Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542149#M246935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1). Both are not good. Select within a loop will lead to database access for each pass of the loop.&lt;/P&gt;&lt;P&gt; Select endselect is definitelly a no no as its a loop by itself.&lt;/P&gt;&lt;P&gt; Instead using ARRAY table select and using read with binary search is more useful and more efficient. Infact in companies they dont allow both the options mentioned by you in point 1. You will have to change the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2).You can use LSMW or CATT or use IDOC with COllect and Process options.&lt;/P&gt;&lt;P&gt;  A simple BDC also would be fine at times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt; VJ&lt;/P&gt;&lt;P&gt; If it helps dont forget to reward points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 15:05:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542149#M246935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-21T15:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Performance &amp; Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542150#M246936</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; we will prepfer select and endselect instead of select in loop-endloop. the select and endselect also act as a loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for 10k records use call transaction method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 15:06:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542150#M246936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-21T15:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Performance &amp; Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542151#M246937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT/ENDSELECT requires and fetch for each record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP/ENDLOOP loads everything into an itab, and is much faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to avoid the first method if you can.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 15:06:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542151#M246937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-21T15:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Performance &amp; Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542152#M246938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For vendor masters, you can use standard SAP program RFBIKR00. I'm not sure about material masters, but you can look at RM07MMBL. They are both documented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 15:33:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542152#M246938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-21T15:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Performance &amp; Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542153#M246939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of doing select in a loop , use select on the other table using for all entries of previous table key fields. and in the loop endloop use read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 15:38:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542153#M246939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-21T15:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Performance &amp; Data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542154#M246940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; 1.When you have a select statement with in&lt;/P&gt;&lt;P&gt;&amp;gt; Loop..Endloop&lt;/P&gt;&lt;P&gt;&amp;gt; and a Select and Endselect, which one do you prefer?&lt;/P&gt;&lt;P&gt;&amp;gt; and Why and which is best on performance wise.&lt;/P&gt;&lt;P&gt;The best way is to use the SELECT statement with for all entries in itab variation..in the above case. Basically it points to SELECT statement within Loop..Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;gt; 2.What method do you suggest when you have some 10000&lt;/P&gt;&lt;P&gt;&amp;gt; records to post to R/3 from legacy Vendor&lt;/P&gt;&lt;P&gt;&amp;gt; Master/Material Master (Master Data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 16:15:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data/m-p/1542154#M246940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-21T16:15:09Z</dc:date>
    </item>
  </channel>
</rss>

