<?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: Performace tunning regarding custum Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performace-tunning-regarding-custum-program/m-p/3492349#M839905</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;As SAP recommends, do not create/declare internal tables with header line. Create an explicit work area for internal tables and read into the work area or use field symbols (ASSIGNING).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, when performing READ command on internal table, use BINARY SEARCH. However, precaution, always sort the internal table with the fields used for read in WITH KEY clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2008 05:17:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-27T05:17:29Z</dc:date>
    <item>
      <title>Performace tunning regarding custum Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performace-tunning-regarding-custum-program/m-p/3492348#M839904</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;How can we replaced the the below statements to improve the performance&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------" /&gt;&lt;P&gt; DATA : BEGIN OF i_clint OCCURS 0, &lt;/P&gt;&lt;P&gt;clint LIKE klah-clint, &lt;/P&gt;&lt;P&gt;END OF i_clint. &lt;/P&gt;&lt;P&gt;data:i_kssk LIKE i_clint OCCURS 0.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;READ TABLE idoc_data WITH KEY&lt;/P&gt;&lt;P&gt;segnam = c_e1lfa1m. struct_e1lfa1m = idoc_data-sdata.&lt;/P&gt;&lt;P&gt;ws_lifnr = struct_e1lfa1m-lifnr.&lt;/P&gt;&lt;P&gt;*****************************************************&lt;/P&gt;&lt;P&gt;READ TABLE idoc_data WITH KEY&lt;/P&gt;&lt;P&gt;segnam = c_e1lfb1m. &lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;struct_e1lfb1m = idoc_data-sdata.&lt;/P&gt;&lt;P&gt;IF struct_e1lfb1m-zwels NE '/' OR "Payment method&lt;/P&gt;&lt;P&gt;struct_e1lfb1m-hbkid NE '/'. "House bank&lt;/P&gt;&lt;P&gt;*****************************************************************&lt;/P&gt;&lt;P&gt;Please help me on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 05:03:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performace-tunning-regarding-custum-program/m-p/3492348#M839904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T05:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Performace tunning regarding custum Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performace-tunning-regarding-custum-program/m-p/3492349#M839905</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;As SAP recommends, do not create/declare internal tables with header line. Create an explicit work area for internal tables and read into the work area or use field symbols (ASSIGNING).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, when performing READ command on internal table, use BINARY SEARCH. However, precaution, always sort the internal table with the fields used for read in WITH KEY clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 05:17:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performace-tunning-regarding-custum-program/m-p/3492349#M839905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T05:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Performace tunning regarding custum Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performace-tunning-regarding-custum-program/m-p/3492350#M839906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Try using Internal tables without header line. &lt;/P&gt;&lt;P&gt;2. For work areas, define a separate one or use field symbols.&lt;/P&gt;&lt;P&gt;3. Try to use READ TABLE... BINARY SEARCH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Mar 2008 09:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performace-tunning-regarding-custum-program/m-p/3492350#M839906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-01T09:27:02Z</dc:date>
    </item>
  </channel>
</rss>

