<?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: Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798736#M343087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the Package size option to limit the number of records each time , when n is the number of records selected at one time&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT *
 FROM &amp;lt;table&amp;gt;
 INTO TABLE itab
 PACKAGE SIZE &amp;lt;n&amp;gt;.

IF sy-subrc EQ 0.
*" Process the n records
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Dec 2006 08:54:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-07T08:54:41Z</dc:date>
    <item>
      <title>Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798735#M343086</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;I have 2 tables AD01DLI and ADO1DLIEF, i want to retrieve data, where dlinr value doest not match each of the two tables, and dopen field of table AD01DLIEF is not blank(' '), and there is an internal able T_COVP which has field blenr that should match with AD01DLI blenr.&lt;/P&gt;&lt;P&gt;As the data is too large in both of the tables .i need to do using single select statement, performace issue,&lt;/P&gt;&lt;P&gt;can any of u can guide me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 08:49:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798735#M343086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T08:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798736#M343087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the Package size option to limit the number of records each time , when n is the number of records selected at one time&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT *
 FROM &amp;lt;table&amp;gt;
 INTO TABLE itab
 PACKAGE SIZE &amp;lt;n&amp;gt;.

IF sy-subrc EQ 0.
*" Process the n records
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 08:54:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798736#M343087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T08:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798737#M343088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Declare the internal table containing the required fields from both table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;lt;b&amp;gt;select&amp;lt;/b&amp;gt; * into table itab from AD01DLI as a inner join ADO1DLIEF as b on AD01DLI - field &amp;lt;&amp;gt; ADO1DLIEF-field&lt;/P&gt;&lt;P&gt;where dopen &amp;lt;&amp;gt; ' '.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;if&amp;lt;/b&amp;gt; not itab is initial.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;loop&amp;lt;/b&amp;gt; at itab.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;read table&amp;lt;/b&amp;gt; T_COVP  with key blenr = itab1-blenr.&lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;if&amp;lt;/b&amp;gt; sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;delete&amp;lt;/b&amp;gt; the particular record.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;endif.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;endloop.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 10:23:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798737#M343088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T10:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798738#M343089</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;Try to create a database view for tables AD01DLI and ADO1DLIEF. Retreive data from database view and T_COVP table belnr check with AD01DLI belnr field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bhupal Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 10:27:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query/m-p/1798738#M343089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T10:27:08Z</dc:date>
    </item>
  </channel>
</rss>

