<?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 Question abot Select Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-abot-select-statement/m-p/4877099#M1140077</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;Internal Table: IT1 (Fields -&amp;gt; FB)&lt;/P&gt;&lt;P&gt;I have populated IT1, it is sorted and does not contain any duplicate values for FB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal Table: IT2 (Fields -&amp;gt; FA and FB)&lt;/P&gt;&lt;P&gt;DB table: TAB1 (Fields -&amp;gt; FA and FB) where FA is the unique key of the tabel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a select statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT fa fb FROM tab1 
INTO it2 
FOR ALL ENTRIES IN it1 
WHERE fb = it1-fb.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since FB is not the unique key of the TAB1 there may be multiple entries for it in TAB1.&lt;/P&gt;&lt;P&gt;Will the above statement populate IT2 with these multiple entries or it will ignore the entries where FB repeats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;cd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Dec 2008 16:03:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-10T16:03:16Z</dc:date>
    <item>
      <title>Question abot Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-abot-select-statement/m-p/4877099#M1140077</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;Internal Table: IT1 (Fields -&amp;gt; FB)&lt;/P&gt;&lt;P&gt;I have populated IT1, it is sorted and does not contain any duplicate values for FB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal Table: IT2 (Fields -&amp;gt; FA and FB)&lt;/P&gt;&lt;P&gt;DB table: TAB1 (Fields -&amp;gt; FA and FB) where FA is the unique key of the tabel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a select statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT fa fb FROM tab1 
INTO it2 
FOR ALL ENTRIES IN it1 
WHERE fb = it1-fb.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since FB is not the unique key of the TAB1 there may be multiple entries for it in TAB1.&lt;/P&gt;&lt;P&gt;Will the above statement populate IT2 with these multiple entries or it will ignore the entries where FB repeats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;cd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 16:03:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-abot-select-statement/m-p/4877099#M1140077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-10T16:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Question abot Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-abot-select-statement/m-p/4877100#M1140078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi CD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The select statement will enter all the multiple enries which is having with It1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 16:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-abot-select-statement/m-p/4877100#M1140078</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2008-12-10T16:05:47Z</dc:date>
    </item>
  </channel>
</rss>

