<?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 DBIF_RSQL_SQL_ERROR exception CX_SY_OPEN_SQL_DB in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-dbif-rsql-sql-error-exception-cx-sy-open-sql-db/m-p/2067122#M427801</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;Error in Short dump shows that the huge volume of data is fetched from database. Check your query, whether you are using the proper indexes. Or else paste your coding for more understanding of the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;R. Rengaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2007 07:09:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-19T07:09:24Z</dc:date>
    <item>
      <title>Runtime Error DBIF_RSQL_SQL_ERROR exception CX_SY_OPEN_SQL_DB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-dbif-rsql-sql-error-exception-cx-sy-open-sql-db/m-p/2067120#M427799</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 need some guides to solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program works fine in client DEV. However, when it's in QAS, we encounter  short dump: Runtime Error DBIF_RSQL_SQL_ERROR exception CX_SY_OPEN_SQL_DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;info from short dump:&lt;/P&gt;&lt;P&gt;An SQL error occurred when accessing a table.&lt;/P&gt;&lt;P&gt;_______________&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;_______________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An exception occurred. This exception is dealt with in more detail below&lt;/P&gt;&lt;P&gt;. The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was&lt;/P&gt;&lt;P&gt; neither&lt;/P&gt;&lt;P&gt;caught nor passed along using a RAISING clause, in the procedure&lt;/P&gt;&lt;P&gt; "FILL_T_DATA_TABLE" "(FORM)"&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Since the caller of the procedure could not have expected this exception&lt;/P&gt;&lt;P&gt; to occur, the running program was terminated.&lt;/P&gt;&lt;P&gt;The reason for the exception is:&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;How to correct the error&lt;/P&gt;&lt;P&gt;__________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exception must either be prevented, caught within the procedure&lt;/P&gt;&lt;P&gt; "FILL_T_DATA_TABLE"&lt;/P&gt;&lt;P&gt;"(FORM)", or declared in the procedure's RAISING clause.&lt;/P&gt;&lt;P&gt;To prevent the exception, note the following:&lt;/P&gt;&lt;P&gt;Database error text........: "ORA-24371: data would not fit in current prefe&lt;/P&gt;&lt;P&gt; buffer"&lt;/P&gt;&lt;P&gt;Internal call code.........: "[RSQL/FTCH/VBUK ]"&lt;/P&gt;&lt;P&gt;Please check the entries in the system log (Transaction SM21).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may able to find an interim solution to the problem&lt;/P&gt;&lt;P&gt;in the SAP note system. If you have access to the note system yourself,&lt;/P&gt;&lt;P&gt;use the following search criteria:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------" /&gt;&lt;P&gt;"DBIF_RSQL_SQL_ERROR" CX_SY_OPEN_SQL_DBC&lt;/P&gt;&lt;P&gt;"ZSDR_SHIPPING_REPORT" or "ZSDR_SHIPPING_REPORT"&lt;/P&gt;&lt;P&gt;"FILL_T_DATA_TABLE"&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------" /&gt;&lt;P&gt;If you cannot solve the problem yourself, please send the...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;______________________________&lt;/P&gt;&lt;P&gt;Information on where terminated&lt;/P&gt;&lt;P&gt;______________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The termination occurred in the ABAP program "ZSDR_SHIPPING_REPORT" in&lt;/P&gt;&lt;P&gt; "FILL_T_DATA_TABLE".&lt;/P&gt;&lt;P&gt;The main program was "ZSDR_SHIPPING_REPORT ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The termination occurred in line 3561 of the source code of the (Include)&lt;/P&gt;&lt;P&gt; program "ZSDR_SHIPPING_REPORT"&lt;/P&gt;&lt;P&gt;of the source code of program "ZSDR_SHIPPING_REPORT" (when calling the editor&lt;/P&gt;&lt;P&gt; 35610).&lt;/P&gt;&lt;P&gt;Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in&lt;/P&gt;&lt;P&gt; the&lt;/P&gt;&lt;P&gt;procedure "FILL_T_DATA_TABLE" "(FORM)" but was not handled locally, not&lt;/P&gt;&lt;P&gt; declared in the&lt;/P&gt;&lt;P&gt;RAISING clause of the procedure.&lt;/P&gt;&lt;P&gt;The procedure is in the program "ZSDR_SHIPPING_REPORT ". Its source code starts&lt;/P&gt;&lt;P&gt; in line 3468&lt;/P&gt;&lt;P&gt;of the (Include) program "ZSDR_SHIPPING_REPORT ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;source code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;035490&lt;/P&gt;&lt;P&gt;035500   *get all open sales orders (those that are deemed open at the Sales&lt;/P&gt;&lt;P&gt;035510   *Order "Header" level)&lt;/P&gt;&lt;P&gt;035520     clear open_orders.&lt;/P&gt;&lt;P&gt;035530     refresh open_orders.&lt;/P&gt;&lt;P&gt;035540     select * into corresponding fields of table open_orders&lt;/P&gt;&lt;P&gt;035550       from vbuk&lt;/P&gt;&lt;P&gt;035560       where ( vbtyp = 'C' or vbtyp = 'I' )&lt;/P&gt;&lt;P&gt;035570         and ( gbstk = 'A' or gbstk = 'B' ).&lt;/P&gt;&lt;P&gt;035580&lt;/P&gt;&lt;P&gt;035590   *get all open deliveries(some sales orders may be closed yet the&lt;/P&gt;&lt;P&gt;035600   *associated Delivery is not yet PGI'd)&lt;/P&gt;&lt;P&gt;     &amp;gt;     clear open_deliveries.&lt;/P&gt;&lt;P&gt;035620     refresh open_deliveries.&lt;/P&gt;&lt;P&gt;035630     select * into corresponding fields of table open_deliveries&lt;/P&gt;&lt;P&gt;035640       from vbuk&lt;/P&gt;&lt;P&gt;035650       where vbtyp = 'J'&lt;/P&gt;&lt;P&gt;035660         and ( wbstk = 'A' or wbstk = 'B' ).&lt;/P&gt;&lt;P&gt;035670&lt;/P&gt;&lt;P&gt;035680   *get sales orders associated with the Open deliveries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 06:53:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-dbif-rsql-sql-error-exception-cx-sy-open-sql-db/m-p/2067120#M427799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T06:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error DBIF_RSQL_SQL_ERROR exception CX_SY_OPEN_SQL_DB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-dbif-rsql-sql-error-exception-cx-sy-open-sql-db/m-p/2067121#M427800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Something wrong with the select statement of VBUK.&lt;/P&gt;&lt;P&gt;Check the structure of the internal Table OPEN_DELIVERIES&lt;/P&gt;&lt;P&gt;RSQL error means the sequence of the fields fetched doesn't match the sequence of the fields in the internal table.&lt;/P&gt;&lt;P&gt;so check that.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 06:59:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-dbif-rsql-sql-error-exception-cx-sy-open-sql-db/m-p/2067121#M427800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T06:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error DBIF_RSQL_SQL_ERROR exception CX_SY_OPEN_SQL_DB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-dbif-rsql-sql-error-exception-cx-sy-open-sql-db/m-p/2067122#M427801</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;Error in Short dump shows that the huge volume of data is fetched from database. Check your query, whether you are using the proper indexes. Or else paste your coding for more understanding of the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;R. Rengaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 07:09:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-dbif-rsql-sql-error-exception-cx-sy-open-sql-db/m-p/2067122#M427801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T07:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error DBIF_RSQL_SQL_ERROR exception CX_SY_OPEN_SQL_DB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-dbif-rsql-sql-error-exception-cx-sy-open-sql-db/m-p/2067123#M427802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is Basis Related Error , so please have a word with ur Basis person /&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is due to space availability of DB tables.u can also check ur system settings in DB02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 07:11:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-dbif-rsql-sql-error-exception-cx-sy-open-sql-db/m-p/2067123#M427802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T07:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error DBIF_RSQL_SQL_ERROR exception CX_SY_OPEN_SQL_DB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-dbif-rsql-sql-error-exception-cx-sy-open-sql-db/m-p/2067124#M427803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Renga,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error happens in second selection.&lt;/P&gt;&lt;P&gt;this is the souce code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of open_orders occurs 0,&lt;/P&gt;&lt;P&gt;        vbeln like vbuk-vbeln,&lt;/P&gt;&lt;P&gt;        gbstk like vbuk-gbstk,&lt;/P&gt;&lt;P&gt;        vbtyp like vbuk-vbtyp,&lt;/P&gt;&lt;P&gt;      end of open_orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of open_deliveries occurs 0,&lt;/P&gt;&lt;P&gt;        vbeln like vbuk-vbeln,&lt;/P&gt;&lt;P&gt;        wbstk like vbuk-wbstk,&lt;/P&gt;&lt;P&gt;        vbtyp like vbuk-vbtyp,&lt;/P&gt;&lt;P&gt;      end of open_deliveries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*get all open sales orders (those that are deemed open at the Sales&lt;/P&gt;&lt;P&gt;*Order "Header" level)&lt;/P&gt;&lt;P&gt;  clear open_orders.&lt;/P&gt;&lt;P&gt;  refresh open_orders.&lt;/P&gt;&lt;P&gt;  select * into corresponding fields of table open_orders&lt;/P&gt;&lt;P&gt;    from vbuk&lt;/P&gt;&lt;P&gt;    where ( vbtyp = 'C' or vbtyp = 'I' )&lt;/P&gt;&lt;P&gt;      and ( gbstk = 'A' or gbstk = 'B' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*get all open deliveries(some sales orders may be closed yet the&lt;/P&gt;&lt;P&gt;*associated Delivery is not yet PGI'd)&lt;/P&gt;&lt;P&gt;  clear open_deliveries.&lt;/P&gt;&lt;P&gt;  refresh open_deliveries.&lt;/P&gt;&lt;P&gt;  select * into corresponding fields of table open_deliveries&lt;/P&gt;&lt;P&gt;    from vbuk&lt;/P&gt;&lt;P&gt;    where vbtyp = 'J'&lt;/P&gt;&lt;P&gt;      and ( wbstk = 'A' or wbstk = 'B' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Prabhu,&lt;/P&gt;&lt;P&gt;how to identify the problem in DB02?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2007 07:43:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-dbif-rsql-sql-error-exception-cx-sy-open-sql-db/m-p/2067124#M427803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-19T07:43:50Z</dc:date>
    </item>
  </channel>
</rss>

