<?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 with the ABAP statements in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-the-abap-statements/m-p/7098283#M1508069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can go for parallel cursor method.&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP" target="test_blank"&gt;https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP&lt;/A&gt;&lt;EM&gt;Code&lt;/EM&gt;for&lt;EM&gt;Parallel&lt;/EM&gt;Cursor&lt;EM&gt;-&lt;/EM&gt;Loop+Processing&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jul 2010 18:37:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-29T18:37:29Z</dc:date>
    <item>
      <title>Performance issue with the ABAP statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-the-abap-statements/m-p/7098281#M1508067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can some help me with the below statements where I am getting performance problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM /BIC/ASALHDR0100 into Table CHDATE.


SORT CHDATE by DOC_NUMBER.
SORT SOURCE_PACKAGE by DOC_NUMBER.


LOOP AT CHDATE INTO WA_CHDATE.
   READ TABLE SOURCE_PACKAGE INTO WA_CIDATE WITH KEY DOC_NUMBER =
   WA_CHDATE-DOC_NUMBER BINARY SEARCH.

   MOVE WA_CHDATE-CREATEDON  to WA_CIDATE-CREATEDON.
 APPEND WA_CIDATE to CIDATE.

ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote an above code for the follwing requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I have 2 tables from where i am getting the data&lt;/P&gt;&lt;P&gt;2.I have common fields in both the table names CREATEDON date. In both the tables I hve the values.&lt;/P&gt;&lt;P&gt;3. While accessing the 2 table and copying to thrid table i have to modify the field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting performance issues with the above statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Jul 29, 2010 10:06 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 14:02:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-the-abap-statements/m-p/7098281#M1508067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T14:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with the ABAP statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-the-abap-statements/m-p/7098282#M1508068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;try a select like the following one instead of you code.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT field field2 ...
INTO TABLE it_table
FROM table1 AS T1 INNER JOIN table2 AS T2
ON t1-doc_number = t2-doc_number
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 14:23:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-the-abap-statements/m-p/7098282#M1508068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T14:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with the ABAP statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-the-abap-statements/m-p/7098283#M1508069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can go for parallel cursor method.&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP" target="test_blank"&gt;https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP&lt;/A&gt;&lt;EM&gt;Code&lt;/EM&gt;for&lt;EM&gt;Parallel&lt;/EM&gt;Cursor&lt;EM&gt;-&lt;/EM&gt;Loop+Processing&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 18:37:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-the-abap-statements/m-p/7098283#M1508069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T18:37:29Z</dc:date>
    </item>
  </channel>
</rss>

