<?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 not retrieving all rows in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675753#M298082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the below points ..they can be the cause --&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Internal table t_ttabname definition..is it a sorter/hashed table or a standard table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. What about the other fields in the WHERE condition are they matching ?&lt;/P&gt;&lt;P&gt;AND GJAHR EQ P_YPER+0(4) &lt;/P&gt;&lt;P&gt;AND PERDE EQ P_YPER+4(3) &lt;/P&gt;&lt;P&gt;AND VRGAR IN S_VRGAR &lt;/P&gt;&lt;P&gt;and paledger eq w_paledger. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Nov 2006 10:44:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-06T10:44:41Z</dc:date>
    <item>
      <title>SELECT not retrieving all rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675740#M298069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I'm checking a bug in a program and I see a problem with this select:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      select (w_tfieldlist)               &lt;/P&gt;&lt;P&gt;        from (t_tketrlg-ttabname)         &lt;/P&gt;&lt;P&gt;      into corresponding fields of table t_ttabname  &lt;/P&gt;&lt;P&gt;      for all entries in t_ktabname                  &lt;/P&gt;&lt;P&gt;      where trkeynr  eq t_ktabname-trkeynr           &lt;/P&gt;&lt;P&gt;        AND GJAHR    EQ P_YPER+0(4)                  &lt;/P&gt;&lt;P&gt;        AND PERDE    EQ P_YPER+4(3)                  &lt;/P&gt;&lt;P&gt;        AND VRGAR    IN S_VRGAR                      &lt;/P&gt;&lt;P&gt;        and paledger eq w_paledger.                  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selected table has something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trkeynr     A&lt;/P&gt;&lt;P&gt;1          1000&lt;/P&gt;&lt;P&gt;2          2000&lt;/P&gt;&lt;P&gt;2          3000&lt;/P&gt;&lt;P&gt;3          4000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The t_ktabname has something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trkeynr&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I checked the results I see this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1  1000&lt;/P&gt;&lt;P&gt;2  2000&lt;/P&gt;&lt;P&gt;3  4000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, the select is skipping one of the records, anyone knows why this happens?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 09:55:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675740#M298069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T09:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT not retrieving all rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675741#M298070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;check out wheather your pointer is countion from first record or second record and after countion what the header value, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;debug it and give the clear itab statement at a appropriate place, it llwork.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:02:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675741#M298070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T10:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT not retrieving all rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675742#M298071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure abt ur query, but in general this issue arises whenever 'for all entries' is used and not all key fields are selected from the database table. My suggestion is to retrive all key fields in the select query. May be this can solve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:04:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675742#M298071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T10:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT not retrieving all rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675743#M298072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;by the result do u mean in the internal table or do u mean the output u are getting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is the output. check u are looping the correct table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:09:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675743#M298072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T10:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT not retrieving all rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675744#M298073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;trkeynr&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt; have only three value   for all entries first it check value  regarding 1 and fetch the value and than regarding 2  and fetch the value but  in table there is  two value for 2 but  in this  query it fetch only one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;better way  used join statement to fetch the value from tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:09:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675744#M298073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T10:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT not retrieving all rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675745#M298074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm debugging the program and I checked the internal table that only has one entry instead of two entries&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:11:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675745#M298074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T10:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT not retrieving all rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675746#M298075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey kishan it would fetch all the values with 2 coz he is not using that trkeynr table in the select stment, not only one rite..coz it is for all entries i dont see any problems there there is a problem in some loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:13:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675746#M298075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T10:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT not retrieving all rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675747#M298076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what are the contents in this table&lt;/P&gt;&lt;P&gt;t_tketrlg-ttabname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:15:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675747#M298076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T10:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT not retrieving all rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675748#M298077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kaluvala, the strange thing is that I'm checking the internal table from the debugger and it only retrieved one of the two records it should have retrieved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you do a join with an internal table without using the "all entries"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:16:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675748#M298077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T10:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT not retrieving all rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675749#M298078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a summarization table from COPA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:19:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675749#M298078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T10:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT not retrieving all rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675750#M298079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;select t_tketrlg~w_tfieldlist ktabname~trkeynr from from table t_tketrlg innerjoin ktabname 
on t_tketrlg~trkeynr = ktabname~trkeynr into corresponding fields of table t_ttabname 
where  t_tketrlg~GJAHR EQ P_YPER+0(4) 
AND t_tketrlg~PERDE EQ P_YPER+4(3) 
AND t_tketrlg~VRGAR IN S_VRGAR 
and t_tketrlg~paledger eq w_paledger.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:29:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675750#M298079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T10:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT not retrieving all rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675751#M298080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should select column "A" too but your selected table has  no primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your selected table has a primary key for unique each line you will not found this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675751#M298080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T10:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT not retrieving all rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675752#M298081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u confirm 2 things..your table has all the key u specified in the where condition&lt;/P&gt;&lt;P&gt;and for the record u are specifing the keys are all the same and are not any differnt.&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:37:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675752#M298081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T10:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT not retrieving all rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675753#M298082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the below points ..they can be the cause --&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Internal table t_ttabname definition..is it a sorter/hashed table or a standard table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. What about the other fields in the WHERE condition are they matching ?&lt;/P&gt;&lt;P&gt;AND GJAHR EQ P_YPER+0(4) &lt;/P&gt;&lt;P&gt;AND PERDE EQ P_YPER+4(3) &lt;/P&gt;&lt;P&gt;AND VRGAR IN S_VRGAR &lt;/P&gt;&lt;P&gt;and paledger eq w_paledger. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:44:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675753#M298082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T10:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT not retrieving all rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675754#M298083</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;if you shud get tthe output like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 1000&lt;/P&gt;&lt;P&gt;2 2000&lt;/P&gt;&lt;P&gt;2 3000&lt;/P&gt;&lt;P&gt;3 4000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to reverse the tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not sure about the select query using for all entries but&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u do like the below&lt;/P&gt;&lt;P&gt;itab1 has&lt;/P&gt;&lt;P&gt;1 1000&lt;/P&gt;&lt;P&gt;2 2000&lt;/P&gt;&lt;P&gt;2 3000&lt;/P&gt;&lt;P&gt;3 4000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab2 has&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at &amp;lt;b&amp;gt;itab1&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;read table &amp;lt;b&amp;gt;itab2&amp;lt;/b&amp;gt; with key v1 =  &amp;lt;b&amp;gt;itab1-v1&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;it_fin-v1 = itab1-v1.&lt;/P&gt;&lt;P&gt;it_fin-v2 = itab1-v2.&lt;/P&gt;&lt;P&gt;append it_fin.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this u r reading data from itab2 checking data wrt itab1, so both records (with 2) r coming&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u do like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at &amp;lt;b&amp;gt;itab2&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;read table &amp;lt;b&amp;gt;itab1&amp;lt;/b&amp;gt; with key v1 =  &amp;lt;b&amp;gt;itab2-v1&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;it_fin-v1 = itab1-v1.&lt;/P&gt;&lt;P&gt;it_fin-v2 = itab1-v2.&lt;/P&gt;&lt;P&gt;append it_fin.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here u will get only one record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this in debug mode u may get some idea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sowjanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:49:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675754#M298083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T10:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT not retrieving all rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675755#M298084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm pasting the Table entries:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRKEYNR          GJAHR PERDE VRGAR PALEDGER VVVOL_ME ...&lt;/P&gt;&lt;P&gt;                                                    &lt;/P&gt;&lt;P&gt;0000634834429549 2007  003   F     02       SU       ...&lt;/P&gt;&lt;P&gt;0000634834429549 2007  003   F     02       SU       ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PK of the table includes all the fields that are used in the WHERE clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The definition of the Int Table is standard:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of t_ttabname occurs 0   ,&lt;/P&gt;&lt;P&gt;         bukrs   like t001-bukrs      ,&lt;/P&gt;&lt;P&gt;         prctr   like cepc-prctr      ,&lt;/P&gt;&lt;P&gt;         TRKEYNR TYPE NUM16           , 'I checked and is the same tipe as the one in the table.&lt;/P&gt;&lt;P&gt;         ...&lt;/P&gt;&lt;P&gt;end of t_ttabname&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:55:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-not-retrieving-all-rows/m-p/1675755#M298084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T10:55:16Z</dc:date>
    </item>
  </channel>
</rss>

