<?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: Error: Select statemnet contains too many input variables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-select-statemnet-contains-too-many-input-variables/m-p/5994001#M1343069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just removed where condition and fetching all values and doing required modification to the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2009 13:40:59 GMT</pubDate>
    <dc:creator>naveen_inuganti2</dc:creator>
    <dc:date>2009-09-23T13:40:59Z</dc:date>
    <item>
      <title>Error: Select statemnet contains too many input variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-select-statemnet-contains-too-many-input-variables/m-p/5993995#M1343063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a select query , in where condition i do have one field which can fectch data for given range.&lt;/P&gt;&lt;P&gt;This ranges table filling with one of my internal table loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For huze runs... this range table frequently contains more than 8000 values in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with that I getting runtime error by saying that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Possible error causes:                                  
 o The maximum size of an SQL statement was exceeded.   
 o The statement contains too many input variables.     
 o The input data requires more space than is available.
 o ...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;                                                  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how can solve my problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here one thing... I want to include in this thread.&lt;/P&gt;&lt;P&gt;As we know we can write our where conditon as "where field like 'MAT%'." in case where my filed value starts with MAT always.&lt;/P&gt;&lt;P&gt;Here how can utilize like keyword in case where i can have more than one values like MAT to check with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say... i should fetch entries form db table where field like 'MAT%' and field like 'LAT%' and field like 'NAT%'.&lt;/P&gt;&lt;P&gt;and these values(MAT, LAT, NAT) should not be static , these are dynamic values.&lt;/P&gt;&lt;P&gt;If this can resolve my above issue resolves. becuase in that 8000+ entries i do have 25 for each value my internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if any doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen Inuganti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 13:49:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-select-statemnet-contains-too-many-input-variables/m-p/5993995#M1343063</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2009-08-03T13:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Select statemnet contains too many input variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-select-statemnet-contains-too-many-input-variables/m-p/5993996#M1343064</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;Can you tell me exactly how you wrote your select statement so that I can help you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subhashini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 13:54:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-select-statemnet-contains-too-many-input-variables/m-p/5993996#M1343064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T13:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Select statemnet contains too many input variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-select-statemnet-contains-too-many-input-variables/m-p/5993997#M1343065</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;  Kindly post ur select query in this thread.&lt;/P&gt;&lt;P&gt;  Moreover, 8000 records are not considered to be huge data...Internal can handle 8000 records very easily..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vimal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 13:56:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-select-statemnet-contains-too-many-input-variables/m-p/5993997#M1343065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T13:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Select statemnet contains too many input variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-select-statemnet-contains-too-many-input-variables/m-p/5993998#M1343066</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;Are the pattern strings 'MAT',' LAT' or 'NAT' are being entered in the selection screen or they have to be fetched dynamically from those records from the table based on the where conditions in the select statement? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 13:57:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-select-statemnet-contains-too-many-input-variables/m-p/5993998#M1343066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T13:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Select statemnet contains too many input variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-select-statemnet-contains-too-many-input-variables/m-p/5993999#M1343067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am Not saying that my internal table is not able to hold 8000 records..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of field in where condition is giving 8000 values to get data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 15:17:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-select-statemnet-contains-too-many-input-variables/m-p/5993999#M1343067</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2009-08-03T15:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Select statemnet contains too many input variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-select-statemnet-contains-too-many-input-variables/m-p/5994000#M1343068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FOR ALL ENTRIES instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 21:45:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-select-statemnet-contains-too-many-input-variables/m-p/5994000#M1343068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T21:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Select statemnet contains too many input variables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-select-statemnet-contains-too-many-input-variables/m-p/5994001#M1343069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just removed where condition and fetching all values and doing required modification to the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 13:40:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-select-statemnet-contains-too-many-input-variables/m-p/5994001#M1343069</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2009-09-23T13:40:59Z</dc:date>
    </item>
  </channel>
</rss>

