<?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: Regarding 'Select .... for all entries' statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-for-all-entries-statement/m-p/4985810#M1161555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;You cannot have two driver internal tables in the FOR ALL ENTRIES..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jan 2009 07:45:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-16T07:45:52Z</dc:date>
    <item>
      <title>Regarding 'Select .... for all entries' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-for-all-entries-statement/m-p/4985807#M1161552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest me that whether we can use two internal tables in 'Select .... for all entries'  statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 07:37:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-for-all-entries-statement/m-p/4985807#M1161552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-16T07:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding 'Select .... for all entries' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-for-all-entries-statement/m-p/4985808#M1161553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, it is not possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 07:41:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-for-all-entries-statement/m-p/4985808#M1161553</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2009-01-16T07:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding 'Select .... for all entries' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-for-all-entries-statement/m-p/4985809#M1161554</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;I think using two internal tables in select....for all enteries in table degrade the performance in case there is large data.&lt;/P&gt;&lt;P&gt;so better is use two separate select statements for two tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajesh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 07:42:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-for-all-entries-statement/m-p/4985809#M1161554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-16T07:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding 'Select .... for all entries' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-for-all-entries-statement/m-p/4985810#M1161555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;You cannot have two driver internal tables in the FOR ALL ENTRIES..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 07:45:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-for-all-entries-statement/m-p/4985810#M1161555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-16T07:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding 'Select .... for all entries' statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-for-all-entries-statement/m-p/4985811#M1161556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use ranges instead of second for all entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;Say for example i need to write selec statement using fields from two int tables in where conidition namely itab1, itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;RANGES: r_vbeln FOR wa_tab1-vbeln.

LOOP AT itab1 INTO wa_tab1.

  r_vbeln-sign = 'I'.
  r_vbeln-option = 'EQ'.
  r_vbeln-low = wa_tab1-vbeln.
  APPEND r_vbeln.
ENDLOOP.

SELECT * FROM vbap INTO TABLE itab3
FOR ALL ENTRIES IN itab2
WHERE vbeln IN r_vbeln "range contains all vbeln from the table itab1
AND matwa = itab2-matwa.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manoj Kumar P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 07:53:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-for-all-entries-statement/m-p/4985811#M1161556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-16T07:53:47Z</dc:date>
    </item>
  </channel>
</rss>

