<?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 to optimize the ABAP select syntax in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-optimize-the-abap-select-syntax/m-p/4469343#M1058777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please go through se30-&amp;gt;tips and tricks transaction &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;Madhuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2008 03:02:09 GMT</pubDate>
    <dc:creator>Madhurivs23</dc:creator>
    <dc:date>2008-09-18T03:02:09Z</dc:date>
    <item>
      <title>how to optimize the ABAP select syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-optimize-the-abap-select-syntax/m-p/4469342#M1058776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all:&lt;/P&gt;&lt;P&gt;    Anyone can help me to optimize the ABAP syntax like this:&lt;/P&gt;&lt;P&gt; select objid stext from hrp1000&lt;/P&gt;&lt;P&gt;    into (itab-plans,itab-plstx)&lt;/P&gt;&lt;P&gt;          where plvar = '01'&lt;/P&gt;&lt;P&gt;            and istat = '1'&lt;/P&gt;&lt;P&gt;            and begda &amp;lt;= pn-begda&lt;/P&gt;&lt;P&gt;            and endda &amp;gt;= pn-begda&lt;/P&gt;&lt;P&gt;            and langu = sy-langu&lt;/P&gt;&lt;P&gt;            and otype = 'S'.&lt;/P&gt;&lt;P&gt;      if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;        select single * from hrp1001&lt;/P&gt;&lt;P&gt;          where objid = itab-plans&lt;/P&gt;&lt;P&gt;            and rsign = 'A'&lt;/P&gt;&lt;P&gt;            and relat = '008'&lt;/P&gt;&lt;P&gt;            and plvar = '01'&lt;/P&gt;&lt;P&gt;            and begda &amp;lt;= pn-begda&lt;/P&gt;&lt;P&gt;            and endda &amp;gt;= pn-begda&lt;/P&gt;&lt;P&gt;            and sclas = 'P'&lt;/P&gt;&lt;P&gt;            and otype = 'S'.&lt;/P&gt;&lt;P&gt;        if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;          append itab.&lt;/P&gt;&lt;P&gt;          clear itab.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;    endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table hrp1000 has almost 50000 records ,the table hrp1001 200000 records. I found that if i run the ABAP above ,my performance is so bad .&lt;/P&gt;&lt;P&gt;Andone can help me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 02:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-optimize-the-abap-select-syntax/m-p/4469342#M1058776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T02:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to optimize the ABAP select syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-optimize-the-abap-select-syntax/m-p/4469343#M1058777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please go through se30-&amp;gt;tips and tricks transaction &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;Madhuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 03:02:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-optimize-the-abap-select-syntax/m-p/4469343#M1058777</guid>
      <dc:creator>Madhurivs23</dc:creator>
      <dc:date>2008-09-18T03:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to optimize the ABAP select syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-optimize-the-abap-select-syntax/m-p/4469344#M1058778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please go through se30-&amp;gt;tips and tricks transaction &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;Madhuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 03:02:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-optimize-the-abap-select-syntax/m-p/4469344#M1058778</guid>
      <dc:creator>Madhurivs23</dc:creator>
      <dc:date>2008-09-18T03:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to optimize the ABAP select syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-optimize-the-abap-select-syntax/m-p/4469345#M1058779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using this FM and check how is the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;RH_READ_OBJECT_SET&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 03:12:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-optimize-the-abap-select-syntax/m-p/4469345#M1058779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T03:12:23Z</dc:date>
    </item>
  </channel>
</rss>

