<?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 options excessively large in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431077#M1051928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the ideas. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try some of them and give you a reply later... and points too &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;sb.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Sep 2008 13:10:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-17T13:10:02Z</dc:date>
    <item>
      <title>Select options excessively large</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431069#M1051920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a performance problem with this select&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  SELECT matnr mtart FROM mara
                INTO CORRESPONDING FIELDS OF TABLE it_materiais
               WHERE matnr IN s_matnr
                 AND lvorm NE 'X'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_matnr is a select option, and when it's excessively large I get a dump. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition FOR ALL ENTRIES only works for internal tables... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how can I solve this issue? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;sb.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 10:31:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431069#M1051920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-17T10:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Select options excessively large</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431070#M1051921</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;Remove 'into corresponding fields of''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your it_materials containg many fields,&lt;/P&gt;&lt;P&gt;Instead of that declare a temporary internal table and fetch data into that after pass this to your table it_materials.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 10:38:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431070#M1051921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-17T10:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Select options excessively large</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431071#M1051922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't remove the 'into corresponding fields of' because the internal table it_materiais doesn't have the same structure of MARA. And passing the values in s_matnr to it_materiais before select data doesn't work if there is a range. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sb.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 11:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431071#M1051922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-17T11:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Select options excessively large</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431072#M1051923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; S_matnr is a select option, and when it's excessively large I get a dump. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean exactly, many single values or a very wide range? What is the dump title and text under "error analysis"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 11:17:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431072#M1051923</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-09-17T11:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Select options excessively large</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431073#M1051924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dump title is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors DBIF_RSQL_INVALID_RSQL&lt;/P&gt;&lt;P&gt;Exception CX_SY_OPEN_SQL_DB     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in the module RSQL accessing the database interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the "error analysis" is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An exception occurred. This exception is dealt&lt;/P&gt;&lt;P&gt;. The exception, which is assigned to the clas&lt;/P&gt;&lt;P&gt; neither caught nor passed along using a RAISING clause, ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help, &lt;/P&gt;&lt;P&gt;sb.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 11:35:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431073#M1051924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-17T11:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Select options excessively large</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431074#M1051925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara Bernardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DBIF_RSQL_INVALID_RSQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason for the error is large selection data set for the field MATNR...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When it will take more time to execute the select statement and as time exceeds limit set in the systen it will through DUMP...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Can be done to resolve the issue is ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make the Field MATNR mandatory... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U will be getting the dumb in case when u are not entering any matnr value and keeping it blank so it is fetching whole table entries and it's taking too mch time for it... as a result u r getting dump...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can restrict the users to select limited MATNR... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can add some more fields in the selection screen and can put into where clause of ur select query..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR u can ask to BASIS if they can change the time for execution of the select Query... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will solve your problem..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 11:55:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431074#M1051925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-17T11:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Select options excessively large</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431075#M1051926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; DBIF_RSQL_INVALID_RSQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like you're filling too many single values into S_MATNR. Depending on various circumstances (database, length of the selection field) the maximum number of single values is around 2,000 to 4,000.&lt;/P&gt;&lt;P&gt;You will have to divide the selection into several smaller chunks, I'm afraid, or use ranges.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 12:12:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431075#M1051926</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-09-17T12:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Select options excessively large</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431076#M1051927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since your table is not od structure mara, better create a structure like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types: Begin of ty_mara,&lt;/P&gt;&lt;P&gt;MATNR type mara-MATNR,&lt;/P&gt;&lt;P&gt;MTART type mara-MTART,&lt;/P&gt;&lt;P&gt;end of ty_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: it_materiais type standard table of ty_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, remove the into corresponding fields of and use just into table ie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT matnr mtart FROM mara&lt;/P&gt;&lt;P&gt;                INTO TABLE it_materiais&lt;/P&gt;&lt;P&gt;               WHERE matnr IN s_matnr&lt;/P&gt;&lt;P&gt;                 AND lvorm NE 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this is will not create a dump i guess, Check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Shobana k on Sep 17, 2008 2:48 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 12:45:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431076#M1051927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-17T12:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Select options excessively large</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431077#M1051928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the ideas. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try some of them and give you a reply later... and points too &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;sb.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 13:10:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431077#M1051928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-17T13:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Select options excessively large</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431078#M1051929</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;I solve the problem by creating a range.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to you all. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;sb.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 12:40:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-excessively-large/m-p/4431078#M1051929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T12:40:16Z</dc:date>
    </item>
  </channel>
</rss>

