<?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: select stmt  condition in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt-condition/m-p/2419187#M539998</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi saritha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The restriction you are talking about is not with FOR ALL ENTRIES. It is the restriction with JOINS. &lt;/P&gt;&lt;P&gt;You can not use JOINS with Cluster or pooled table. BSEG is a cluster table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use FOR ALL ENTRIES whenever you want to fetch a data from the DB table based on the data from the internal table. just make sure that your internal table is not blank, otherwise it will fetch all the record from DB table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2007 02:01:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-20T02:01:49Z</dc:date>
    <item>
      <title>select stmt  condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt-condition/m-p/2419185#M539996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello friends,&lt;/P&gt;&lt;P&gt;can we use ' for all entries '  &lt;/P&gt;&lt;P&gt;when ever we want to join internal table and database table &lt;/P&gt;&lt;P&gt;or are there any restictions in using that,&lt;/P&gt;&lt;P&gt;one restriction today i came through was that, &lt;/P&gt;&lt;P&gt;i could not use it againt bseg table.&lt;/P&gt;&lt;P&gt;are there any more.&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 01:56:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt-condition/m-p/2419185#M539996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T01:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: select stmt  condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt-condition/m-p/2419186#M539997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cluster tables are usually an issue with inner joins as well, so I would assume that you would have the same trouble with "For all entries".  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to answer your question,  yes there are limitations when dealing with cluster and/or pooled tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 02:01:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt-condition/m-p/2419186#M539997</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-06-20T02:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: select stmt  condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt-condition/m-p/2419187#M539998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi saritha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The restriction you are talking about is not with FOR ALL ENTRIES. It is the restriction with JOINS. &lt;/P&gt;&lt;P&gt;You can not use JOINS with Cluster or pooled table. BSEG is a cluster table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use FOR ALL ENTRIES whenever you want to fetch a data from the DB table based on the data from the internal table. just make sure that your internal table is not blank, otherwise it will fetch all the record from DB table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 02:01:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt-condition/m-p/2419187#M539998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T02:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: select stmt  condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt-condition/m-p/2419188#M539999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joins - do not use more than 4 tables at a time ..( if you use then it will be performance issue )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do not use joins - in case of pooled and cluster table  &lt;/P&gt;&lt;P&gt;for all entries will be using all tables  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some times you need to get duplicate values from tables ,if you use for all entries then it will not get duplicates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;always maintain primary key in for all entries condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 02:29:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt-condition/m-p/2419188#M539999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T02:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: select stmt  condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt-condition/m-p/2419189#M540000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saritha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  You can not use the joins for cluster and pool table.&lt;/P&gt;&lt;P&gt;You can use for all entries when ever you want to join internal table and database table(transporant tables ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 02:58:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt-condition/m-p/2419189#M540000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T02:58:05Z</dc:date>
    </item>
  </channel>
</rss>

