<?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: Dump : Runtime Errors         DBIF_RSQL_INVALID_RSQL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-runtime-errors-dbif-rsql-invalid-rsql/m-p/3135273#M744966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max may be on the right track here, in SELECT-OPTIONS if you have more than say 1000 single entries entered, you will get a dump.  Not exactly sure what the limit is, but it is between 800 and 1200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2007 13:51:17 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-12-12T13:51:17Z</dc:date>
    <item>
      <title>Dump : Runtime Errors         DBIF_RSQL_INVALID_RSQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-runtime-errors-dbif-rsql-invalid-rsql/m-p/3135268#M744961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a dump at the select statement in the production during the excution.The Details of the program are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF it_ekko OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE ekko.&lt;/P&gt;&lt;P&gt;DATA : END OF it_ekko.&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;SELECT * FROM ekko             &lt;/P&gt;&lt;P&gt;           INTO TABLE it_ekko&lt;/P&gt;&lt;P&gt;           WHERE ebeln IN p_ebeln &lt;/P&gt;&lt;P&gt;             AND aedat IN p_aedat  &lt;/P&gt;&lt;P&gt;             AND bsart IN p_bsart  &lt;/P&gt;&lt;P&gt;             AND lifnr IN p_lifnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In ST22, the description of dump details is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;What happened?&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Error in ABAP application program.&lt;/P&gt;&lt;P&gt;The current ABAP program "ZMMRP126_1" had to be terminated because one of the statements could not be executed.&lt;/P&gt;&lt;P&gt;This is probably due to an error in the ABAP program.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;Error analysis&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;An exception occurred. This exception will be dealt with in more detail &lt;/P&gt;&lt;P&gt;below. The exception, assigned to the class 'CX_SY_OPEN_SQL_DB', was not&lt;/P&gt;&lt;P&gt; caught, which                                                          &lt;/P&gt;&lt;P&gt; led to a runtime error. The reason for this exception is:              &lt;/P&gt;&lt;P&gt;The SQL statement generated from the SAP Open SQL Statement violates a  &lt;/P&gt;&lt;P&gt;restriction imposed by the database system used in R/3.                                                                                &lt;/P&gt;&lt;P&gt;Possible errors:                                                        &lt;/P&gt;&lt;P&gt; o The maximum size of an SQL statement has been exceeded.              &lt;/P&gt;&lt;P&gt; o The statement contains too many input variables.                     &lt;/P&gt;&lt;P&gt; o The space needed for the input data exceeds the available memory.    &lt;/P&gt;&lt;P&gt; o ...                                                                                &lt;/P&gt;&lt;P&gt;You can usually find details in the system log (SM21) and in the        &lt;/P&gt;&lt;P&gt;developer trace of the work process (ST11).                             &lt;/P&gt;&lt;P&gt;If an error occurs the developer trace often informs you about the      &lt;/P&gt;&lt;P&gt;current restrictions.                                                   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;Source Code Extract&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;001830                                                                           &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;&amp;gt;     SELECT * FROM ekko                   "read through purchase orders    &lt;/P&gt;&lt;P&gt;001850              INTO TABLE it_ekko                                           &lt;/P&gt;&lt;P&gt;001860              WHERE ebeln IN p_ebeln      "for order number                &lt;/P&gt;&lt;P&gt;001870                AND aedat IN p_aedat      "created date                    &lt;/P&gt;&lt;P&gt;001880                AND bsart IN p_bsart     "document type                    &lt;/P&gt;&lt;P&gt;001890                AND lifnr IN p_lifnr.                                      &lt;/P&gt;&lt;P&gt;001900                                                                           &lt;/P&gt;&lt;P&gt;001910     LOOP AT it_ekko INTO ekko.                                            &lt;/P&gt;&lt;P&gt;001920       PERFORM process_items.             "read, check and save line items &lt;/P&gt;&lt;P&gt;001930     ENDLOOP.                                                              &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;Contents of system fields&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY field contents..................... SY field contents.....................                                                                                &lt;/P&gt;&lt;P&gt;SY-SUBRC 0                             SY-INDEX 0                             &lt;/P&gt;&lt;P&gt;SY-TABIX 1                             &amp;lt;b&amp;gt;SY-DBCNT 69682&amp;lt;/b&amp;gt;                         &lt;/P&gt;&lt;P&gt;SY-FDPOS 0                             SY-LSIND 0                             &lt;/P&gt;&lt;P&gt;SY-PAGNO 0                             SY-LINNO 1                             &lt;/P&gt;&lt;P&gt;SY-COLNO 1                             SY-PFKEY                               &lt;/P&gt;&lt;P&gt;SY-UCOMM                               SY-TITLE Purchase Order Receipt Status &lt;/P&gt;&lt;P&gt;SY-MSGTY I                             SY-MSGID SF                            &lt;/P&gt;&lt;P&gt;SY-MSGNO 616                           SY-MSGV1 5000098347                    &lt;/P&gt;&lt;P&gt;SY-MSGV2                               SY-MSGV3                               &lt;/P&gt;&lt;P&gt;SY-MSGV4                                                                      &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me to solve out this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Krishna Kishore .K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 13:40:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-runtime-errors-dbif-rsql-invalid-rsql/m-p/3135268#M744961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T13:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dump : Runtime Errors         DBIF_RSQL_INVALID_RSQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-runtime-errors-dbif-rsql-invalid-rsql/m-p/3135269#M744962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you doing multiple selects against EKKO?  The reason why I am asking is because the select statement in the dump has comments next to it ("read through purchase orders") and the EKKO startment right after start of selection does not.  So you might want to check that.  If you need two table reads, consider creating a separate internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 13:47:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-runtime-errors-dbif-rsql-invalid-rsql/m-p/3135269#M744962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T13:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dump : Runtime Errors         DBIF_RSQL_INVALID_RSQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-runtime-errors-dbif-rsql-invalid-rsql/m-p/3135270#M744963</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;Try to check how many hits were entered in the select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 13:47:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-runtime-errors-dbif-rsql-invalid-rsql/m-p/3135270#M744963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T13:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dump : Runtime Errors         DBIF_RSQL_INVALID_RSQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-runtime-errors-dbif-rsql-invalid-rsql/m-p/3135271#M744964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;You can usually find details in the system log (SM21) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, what does SM21 indicate happened at the time of this dump?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 13:48:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-runtime-errors-dbif-rsql-invalid-rsql/m-p/3135271#M744964</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2007-12-12T13:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dump : Runtime Errors         DBIF_RSQL_INVALID_RSQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-runtime-errors-dbif-rsql-invalid-rsql/m-p/3135272#M744965</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;You have writen the code as in p_field &lt;/P&gt;&lt;P&gt;if this is a parameter there will be single value &lt;/P&gt;&lt;P&gt;modify your select to&lt;/P&gt;&lt;P&gt;SELECT * FROM ekko &lt;/P&gt;&lt;P&gt;INTO TABLE it_ekko&lt;/P&gt;&lt;P&gt;WHERE ebeln &amp;lt;b&amp;gt;EQ&amp;lt;/b&amp;gt; p_ebeln &lt;/P&gt;&lt;P&gt;AND aedat EQ p_aedat &lt;/P&gt;&lt;P&gt;AND bsart EQ p_bsart &lt;/P&gt;&lt;P&gt;AND lifnr &amp;lt;b&amp;gt;EQ&amp;lt;/b&amp;gt; p_lifnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;basically parameter contains a single value &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt; siva chalasani.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if found usefull&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 13:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-runtime-errors-dbif-rsql-invalid-rsql/m-p/3135272#M744965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T13:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dump : Runtime Errors         DBIF_RSQL_INVALID_RSQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-runtime-errors-dbif-rsql-invalid-rsql/m-p/3135273#M744966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max may be on the right track here, in SELECT-OPTIONS if you have more than say 1000 single entries entered, you will get a dump.  Not exactly sure what the limit is, but it is between 800 and 1200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 13:51:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-runtime-errors-dbif-rsql-invalid-rsql/m-p/3135273#M744966</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-12-12T13:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dump : Runtime Errors         DBIF_RSQL_INVALID_RSQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-runtime-errors-dbif-rsql-invalid-rsql/m-p/3135274#M744967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I think you declared p_ebeln as parameter and used in where condition with IN operator.&lt;/P&gt;&lt;P&gt;Could you change with EQ operator.&lt;/P&gt;&lt;P&gt;Or If p_ebeln is select-oprions means check you are giving high range in the selection screen for the input values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to check by giving 1 purchase order i.e p_ebeln = 'XXXX' only.&lt;/P&gt;&lt;P&gt;dont give range.&lt;/P&gt;&lt;P&gt;If output is big range means program goes to dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you trying to modify EKKO table in the program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if its useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sivaparvathi&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 13:56:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-runtime-errors-dbif-rsql-invalid-rsql/m-p/3135274#M744967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T13:56:08Z</dc:date>
    </item>
  </channel>
</rss>

