<?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 Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1726999#M316832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what your seniour told is correct insted of deleting that record in the loop before that you delete those records which is unnecessory get the sucess records and read that internal table. iam sending one sample code please go through this. Can i have your email id so that i can send u the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vikranth Khimavath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Nov 2006 06:07:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-03T06:07:53Z</dc:date>
    <item>
      <title>Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1726994#M316827</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;   I have a doubt. iam looping at one internal table and in that loop iam reading the other internal table with key and if sy-subrc &amp;lt;&amp;gt; 0 , iam deleting the record from looped table. So my question is will there be any performance issue. Is it good practice ???. One of my senior told that instead of deleting a record to create a internal table and take only those entries which are success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know which is the best way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please send me if any one of you have material regarding the performance tuning or good coding standards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 04:37:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1726994#M316827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-03T04:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1726995#M316828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi krian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of deleting inside the loop u can mark a flg for the record whichu wnt to delte and then delete them after the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chekc this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/sap/abap/performance.htm" target="test_blank"&gt;http://www.erpgenie.com/sap/abap/performance.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 04:53:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1726995#M316828</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2006-11-03T04:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1726996#M316829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gopi,&lt;/P&gt;&lt;P&gt;  Will there be any issue if i delete inside loop.&lt;/P&gt;&lt;P&gt;Also insted af deleting can i insert the other records into an other internal table.&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;Kiran I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 05:26:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1726996#M316829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-03T05:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1726997#M316830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again...&lt;/P&gt;&lt;P&gt;you can delete the records inside the loop if u r not triggering any data base Ztable. if it is internal table i dont think is a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes u can even insert the othre records into another internal table using the move and append statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 05:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1726997#M316830</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2006-11-03T05:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1726998#M316831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thats rite. it's &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; a good practice to delete records from internal table inside the loop, especially when there is large number of records. instead i will suggest you to the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let say you have two internal tables ITAB1 AND ITAB2. now you are looping ITAB1 and reading records from ITAB2 according to some key fields from ITAB1 and if SY-SUBRC &amp;lt;&amp;gt; 0, then you are deleting records from ITAB1. so all you got to do is:&lt;/P&gt;&lt;P&gt; declare field symbol with an identical structure of IATB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;FS_ITAB1&amp;gt; TYPE TY_ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB1 ASSIGNING &amp;lt;FS_ITAB1&amp;gt;.&lt;/P&gt;&lt;P&gt;  READ TABLE ITAB2 TRANSPORTING NO FIELDS&lt;/P&gt;&lt;P&gt;    WITH KEY FLD1 = &amp;lt;FS_ITAB1&amp;gt;-FLD1&lt;/P&gt;&lt;P&gt;             FLD2 = &amp;lt;FS_ITAB1&amp;gt;-FLD2....&lt;/P&gt;&lt;P&gt;             BINARY SEARCH.&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;DECLARE YOUR INTERNAL TABLES AS SORTED TABLES&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    &amp;lt;FS_ITAB1&amp;gt;-flag = 'X'.&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;HAVE ONE ADDITIONAL FIELD AS FLAG&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;DELETE ITAB1 WHERE FLAG = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is quite fruitful when original performance is concerned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 05:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1726998#M316831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-03T05:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1726999#M316832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what your seniour told is correct insted of deleting that record in the loop before that you delete those records which is unnecessory get the sucess records and read that internal table. iam sending one sample code please go through this. Can i have your email id so that i can send u the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vikranth Khimavath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 06:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1726999#M316832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-03T06:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1727000#M316833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below link for my post in that link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It just reiterates what the others replied. Just has additional info as to why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Ramesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2653078"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 16:36:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1727000#M316833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-03T16:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1727001#M316834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikranth,&lt;/P&gt;&lt;P&gt;  Sorry for late reply. My Mail id is immadisettygkk@yahoo.com. Please also send me any material on perfomance techniques.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 04:58:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1727001#M316834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-07T04:58: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/1727002#M316835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly chk ur mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I send a hands on note of mine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might be helpful for u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helped pls mark points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 05:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1727002#M316835</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-07T05:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1727003#M316836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly chk ur mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I send u one excellent OOPS doc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;If helped pls mark points.&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 06:57:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1727003#M316836</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-07T06:57:29Z</dc:date>
    </item>
  </channel>
</rss>

