<?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: Runtime error using range table in select query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-using-range-table-in-select-query/m-p/5440631#M1247759</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;first write a select on ust12 based on ust12-von and ust12-bis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: select von bis from ust12 into table gt_ust12&lt;/P&gt;&lt;P&gt;                           where &lt;STRONG&gt;von LIKE 'A%'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                               and &lt;STRONG&gt;bis LIKE 'AB%'&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now write another select for tstc for all entries in gt_ust12...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Mar 2009 05:37:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-31T05:37:23Z</dc:date>
    <item>
      <title>Runtime error using range table in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-using-range-table-in-select-query/m-p/5440628#M1247756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to select tcodes from table tstc, based on the entries in ust12, &lt;/P&gt;&lt;P&gt;the entries in ust12-von and ust12-bis, these contains wild charcters also,  and i have to selct all the tcodes  from von to bis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so ia m preparing a range table for the entries in ust12, and querying table tstc, then i am getting a runtime error with following description.&lt;/P&gt;&lt;P&gt;'If the problem occurred because an excessively large table was used&lt;/P&gt;&lt;P&gt;in an IN itab construct, you can use FOR ALL ENTRIES instead.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but how can i use FOR ALL ENTRIES here, because if von = A* and bis = AB*,then i ahve to read all the entries from AAAA till ABZZ (may be something like this),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way to write this query, with out runtime error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are total 15000 entries in ust12, i am preparing range table for 3000 entries each and querying tstc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Amarender Reddy B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 05:02:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-using-range-table-in-select-query/m-p/5440628#M1247756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T05:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error using range table in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-using-range-table-in-select-query/m-p/5440629#M1247757</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;in the range table use CP for option field (Contains Pattern) and in the select stmt use LIKE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.,&lt;/P&gt;&lt;P&gt;subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 05:05:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-using-range-table-in-select-query/m-p/5440629#M1247757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T05:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error using range table in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-using-range-table-in-select-query/m-p/5440630#M1247758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Subash,&lt;/P&gt;&lt;P&gt;i was using the same way, &lt;/P&gt;&lt;P&gt;but anyways, can you explain little more how your solution solves the problem,  if possible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 05:08:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-using-range-table-in-select-query/m-p/5440630#M1247758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T05:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error using range table in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-using-range-table-in-select-query/m-p/5440631#M1247759</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;first write a select on ust12 based on ust12-von and ust12-bis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: select von bis from ust12 into table gt_ust12&lt;/P&gt;&lt;P&gt;                           where &lt;STRONG&gt;von LIKE 'A%'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                               and &lt;STRONG&gt;bis LIKE 'AB%'&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now write another select for tstc for all entries in gt_ust12...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 05:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-using-range-table-in-select-query/m-p/5440631#M1247759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T05:37:23Z</dc:date>
    </item>
  </channel>
</rss>

