<?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: how improve the program peformance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-improve-the-program-peformance/m-p/7623239#M1570485</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;You can &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. try changing the table type, as for Hash tables the access time using the key is constant, regardless of the number of table entries. If your records have unique keys, use of hash table will improve performance when dealing with large dataset . &lt;/P&gt;&lt;P&gt;2. Instead of deleting the records with flag 'X', code in such a way that u do not add those records to your table l_ih_bukrs. &lt;/P&gt;&lt;P&gt;3. Also check your whole program, there might be something else which might be affecting the overall performance .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gopal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Mar 2011 15:48:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-02T15:48:58Z</dc:date>
    <item>
      <title>how improve the program peformance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-improve-the-program-peformance/m-p/7623236#M1570482</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;Due to below coding my program have low peformance and i checked in code inspecteor it was showing like below error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Program /AMS/OBRFCR_RECONCIL_COPY Include ZOBRFCN_RECONCIL_FORM_COPY Row 215 Column 6&lt;/P&gt;&lt;P&gt;Sequential read access possible for a hashed table.)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;In my program coding is like below please tell me any one how improve performance of the program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : l_ty_t_bukrs TYPE HASHED TABLE OF l_ty_bukrs WITH UNIQUE KEY bukrs.&lt;/P&gt;&lt;P&gt; DATA : l_ih_bukrs TYPE l_ty_t_bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  line 215    DELETE l_ih_bukrs WHERE flag EQ c_x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 05:25:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-improve-the-program-peformance/m-p/7623236#M1570482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-23T05:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: how improve the program peformance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-improve-the-program-peformance/m-p/7623237#M1570483</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;please check, whether the performance will increase, when you change your table type from hashed to sorted!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 05:59:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-improve-the-program-peformance/m-p/7623237#M1570483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-23T05:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: how improve the program peformance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-improve-the-program-peformance/m-p/7623238#M1570484</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;&amp;gt; (Program /AMS/OBRFCR_RECONCIL_COPY Include ZOBRFCN_RECONCIL_FORM_COPY Row 215 Column 6&lt;/P&gt;&lt;P&gt;&amp;gt; Sequential read access possible for a hashed table.)&lt;/P&gt;&lt;P&gt;&amp;gt; -&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&amp;gt; In my program coding is like below please tell me any one how improve performance of the program. &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; TYPES : l_ty_t_bukrs TYPE HASHED TABLE OF l_ty_bukrs WITH UNIQUE KEY bukrs.&lt;/P&gt;&lt;P&gt;&amp;gt;  DATA : l_ih_bukrs TYPE l_ty_t_bukrs.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt;   line 215    DELETE l_ih_bukrs WHERE flag EQ c_x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first of all check whether the delete is a &lt;U&gt;real&lt;/U&gt; performance problem. The code inspector reports &lt;U&gt;potential&lt;/U&gt; problems.&lt;/P&gt;&lt;P&gt;The code inspector can not now how big this table is and how often the delete statement is executed. Only an ABAP trace can show you &lt;U&gt;real&lt;/U&gt; problems. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your unique key is the company code (bukrs). How many rows can you have in the table with that key?&lt;/P&gt;&lt;P&gt;only a delete with bukrs = ... can be optimized in a hashed table. the delete where flag = ... can not. A full&lt;/P&gt;&lt;P&gt;table scan will be executed on the table. But this is only a problem if the table is big and/or the delete statement&lt;/P&gt;&lt;P&gt;is executed often.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 07:34:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-improve-the-program-peformance/m-p/7623238#M1570484</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2011-02-23T07:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: how improve the program peformance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-improve-the-program-peformance/m-p/7623239#M1570485</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;You can &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. try changing the table type, as for Hash tables the access time using the key is constant, regardless of the number of table entries. If your records have unique keys, use of hash table will improve performance when dealing with large dataset . &lt;/P&gt;&lt;P&gt;2. Instead of deleting the records with flag 'X', code in such a way that u do not add those records to your table l_ih_bukrs. &lt;/P&gt;&lt;P&gt;3. Also check your whole program, there might be something else which might be affecting the overall performance .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gopal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 15:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-improve-the-program-peformance/m-p/7623239#M1570485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-02T15:48:58Z</dc:date>
    </item>
  </channel>
</rss>

