<?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: DBIF_RSQL_SQL_ERROR - SQL error 1555 occurred when accessing table &amp;quot;COVP &amp;quot; in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-sql-error-sql-error-1555-occurred-when-accessing-table-quot-covp/m-p/4329526#M1031607</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;The reason for the exception(CX_SY_OPEN_SQL_DB) 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 underlying database system of the ABAP &lt;/P&gt;&lt;P&gt;system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible error causes: &lt;/P&gt;&lt;P&gt;o The maximum size of an SQL statement was exceeded. &lt;/P&gt;&lt;P&gt;o The statement contains too many input variables. &lt;/P&gt;&lt;P&gt;o The input data requires more space than is available. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to suggest my opinion,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is DBIF_RSQL_SQL_ERROR - CX_SY_OPEN_SQL_DB&lt;/P&gt;&lt;P&gt;Dump error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDN - Reference - CX_SY_OPEN_SQL_DB Exception Occured&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDN - Reference - Short dump - CX_SY_OPEN_SQL_DB - when regenerating export datasource &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works out well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Aug 2008 06:13:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-29T06:13:39Z</dc:date>
    <item>
      <title>DBIF_RSQL_SQL_ERROR - SQL error 1555 occurred when accessing table "COVP "</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-sql-error-sql-error-1555-occurred-when-accessing-table-quot-covp/m-p/4329524#M1031605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While running a background job, it gets cancelled. I am getting &lt;STRONG&gt;DBIF_RSQL_SQL_ERROR&lt;/STRONG&gt; error. It says &lt;STRONG&gt;SQL error 1555 occurred when accessing table "COVP "&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Database error text........: "ORA-01555: snapshot too old: rollback segment  number 329 with name "_SYSSMU329$" too small#" Internal call code.........: "[RSQL/FTCH/COVP ]"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please check the entries in the system log (Transaction SM21).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The source code extract is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 000180&lt;/P&gt;&lt;P&gt;000190   * select the first r_maxlines reco&lt;/P&gt;&lt;P&gt;000200&lt;/P&gt;&lt;P&gt;000210     SELECT * FROM COVP INTO TABLE T_&lt;/P&gt;&lt;P&gt;000220         WHERE&lt;/P&gt;&lt;P&gt;000230               KOKRS    IN R_KOKRS&lt;/P&gt;&lt;P&gt;000240         AND   PERIO    IN R_PERIO&lt;/P&gt;&lt;P&gt;000250         AND   OBJNR    IN R_OBJNR&lt;/P&gt;&lt;P&gt;000260         AND   GJAHR    IN R_GJAHR&lt;/P&gt;&lt;P&gt;000270         AND   WRTTP    IN R_WRTTP&lt;/P&gt;&lt;P&gt;000280         AND   VERSN    IN R_VERSN&lt;/P&gt;&lt;P&gt;000290         AND   KSTAR    IN R_KSTAR&lt;/P&gt;&lt;P&gt;000300         AND   HRKFT    IN R_HRKFT&lt;/P&gt;&lt;P&gt;000310         AND   VRGNG    IN R_VRGNG&lt;/P&gt;&lt;P&gt;000320         AND   PAROB1   IN R_PAROB1&lt;/P&gt;&lt;P&gt;000330         AND   PARGB    IN R_PARGB&lt;/P&gt;&lt;P&gt;000340         AND   BEKNZ    IN R_BEKNZ&lt;/P&gt;&lt;P&gt;000350         AND   MEINH    IN R_MEINH&lt;/P&gt;&lt;P&gt;000360         AND   BUKRS    IN R_BUKRS&lt;/P&gt;&lt;P&gt;000370         AND   GSBER    IN R_GSBER&lt;/P&gt;&lt;P&gt;000380         AND   FKBER    IN R_FKBER&lt;/P&gt;&lt;P&gt;000390         AND   SCOPE    IN R_SCOPE&lt;/P&gt;&lt;P&gt;000400         AND   LOGSYSO  IN R_LOGSYSO&lt;/P&gt;&lt;P&gt;000410         AND   PBUKRS   IN R_PBUKRS&lt;/P&gt;&lt;P&gt;000420         AND   PFKBER   IN R_PFKBER&lt;/P&gt;&lt;P&gt;000430         AND   PSCOPE   IN R_PSCOPE&lt;/P&gt;&lt;P&gt;000440         AND   LOGSYSP  IN R_LOGSYSP&lt;/P&gt;&lt;P&gt;000450         AND   CPUDT    IN R_CPUDT&lt;/P&gt;&lt;P&gt;000460   *     AND   CPUTM    IN R_CPUTM.&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;&amp;gt;         ORDER BY KOKRS BELNR BUZEI.&lt;/STRONG&gt;000480&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Anishur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 06:04:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-sql-error-sql-error-1555-occurred-when-accessing-table-quot-covp/m-p/4329524#M1031605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T06:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_SQL_ERROR - SQL error 1555 occurred when accessing table "COVP "</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-sql-error-sql-error-1555-occurred-when-accessing-table-quot-covp/m-p/4329525#M1031606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Check the declaration of the internal table that you are using in the SELECT Statemen,some field name should be misspelled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sudharshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 06:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-sql-error-sql-error-1555-occurred-when-accessing-table-quot-covp/m-p/4329525#M1031606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T06:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_SQL_ERROR - SQL error 1555 occurred when accessing table "COVP "</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-sql-error-sql-error-1555-occurred-when-accessing-table-quot-covp/m-p/4329526#M1031607</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;The reason for the exception(CX_SY_OPEN_SQL_DB) 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 underlying database system of the ABAP &lt;/P&gt;&lt;P&gt;system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible error causes: &lt;/P&gt;&lt;P&gt;o The maximum size of an SQL statement was exceeded. &lt;/P&gt;&lt;P&gt;o The statement contains too many input variables. &lt;/P&gt;&lt;P&gt;o The input data requires more space than is available. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to suggest my opinion,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is DBIF_RSQL_SQL_ERROR - CX_SY_OPEN_SQL_DB&lt;/P&gt;&lt;P&gt;Dump error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDN - Reference - CX_SY_OPEN_SQL_DB Exception Occured&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDN - Reference - Short dump - CX_SY_OPEN_SQL_DB - when regenerating export datasource &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works out well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 06:13:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-sql-error-sql-error-1555-occurred-when-accessing-table-quot-covp/m-p/4329526#M1031607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T06:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_SQL_ERROR - SQL error 1555 occurred when accessing table "COVP "</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-sql-error-sql-error-1555-occurred-when-accessing-table-quot-covp/m-p/4329527#M1031608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudharshan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a standard program and the internal table is also a standard database view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Anishur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 06:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-sql-error-sql-error-1555-occurred-when-accessing-table-quot-covp/m-p/4329527#M1031608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T06:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_SQL_ERROR - SQL error 1555 occurred when accessing table "COVP "</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-sql-error-sql-error-1555-occurred-when-accessing-table-quot-covp/m-p/4329528#M1031609</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 very often get the same dump when I write Select Statements with too many Select Options or so many entries in the Select options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT FIELD1 from TABLE 1 INTO ITAB1&lt;/P&gt;&lt;P&gt;   WHERE FIELD1 IN S_FIELD1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Select looks pretty simple right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if I load more than 20000 Entries into S_FIELD1 and execute the Select Statement, the same problem arises.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------" /&gt;&lt;P&gt;The underlying concept is :&lt;/P&gt;&lt;P&gt;Every Entry in each Select Option is treated as a Input Condition by the SQL.&lt;/P&gt;&lt;P&gt;So, if your select option has 20000 entries in it, the Select Statement has 20000 conditions to check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the better options is, &lt;/P&gt;&lt;P&gt;Get all the Data irrespective of the Select Options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT FIELD1 FROM TABLE1 into ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE ITAB1 where FIELD1 NOT in S_FIELD1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2008 03:45:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-sql-error-sql-error-1555-occurred-when-accessing-table-quot-covp/m-p/4329528#M1031609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-28T03:45:33Z</dc:date>
    </item>
  </channel>
</rss>

