<?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: ABAP/4 processor: DBIF_RSQL_SQL_ERROR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668518#M1098211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the system log section, which is also quite interesting.&lt;/P&gt;&lt;P&gt;But I was referring to the chapter "error analysis" in the short dump text (tx ST22). Maybe you can provide this too.&lt;/P&gt;&lt;P&gt;Based on the information so far, either have tablespace PSAPTEMP extended by a system adminstrator, or change the program so that it does not read/process that much data in one large block, go for smaller block processing instead (e.g. chop I_FINAL into pieces).&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. also try changing "from vbrk join vbrp" to "from vbrp join vbrk", since your WHERE-conditions refer to vbrp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2008 13:59:31 GMT</pubDate>
    <dc:creator>ThomasZloch</dc:creator>
    <dc:date>2008-10-28T13:59:31Z</dc:date>
    <item>
      <title>ABAP/4 processor: DBIF_RSQL_SQL_ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668512#M1098205</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;I have scheduled a job in background.The job is taking a very long time than usual to process.After processing for around 5000 sec's the job is getting cancelled.Upon checking the job log it is found that the job is cancelled with the following error "ABAP/4 processor: DBIF_RSQL_SQL_ERROR " . &lt;/P&gt;&lt;P&gt;The bottleneck of the code is found at a select query retrieving all the records from a std.table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to solve this problem without changing the program now? Does this happen when the server is busy ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT B&lt;SUB&gt;VBELN B&lt;/SUB&gt;POSNR A&lt;SUB&gt;FKART A&lt;/SUB&gt;KUNAG A&lt;SUB&gt;KUNRG A&lt;/SUB&gt;ERDAT B~MATNR&lt;/P&gt;&lt;P&gt;           B&lt;SUB&gt;PMATN B&lt;/SUB&gt;PRSDT B&lt;SUB&gt;ARKTX B&lt;/SUB&gt;FKIMG B&lt;SUB&gt;MEINS B&lt;/SUB&gt;NETWR B~MWSBP&lt;/P&gt;&lt;P&gt;           B&lt;SUB&gt;ABRBG B&lt;/SUB&gt;FBUDA B&lt;SUB&gt;PRODH B&lt;/SUB&gt;AUBEL B~AUPOS&lt;/P&gt;&lt;P&gt;    INTO TABLE I_VBRP&lt;/P&gt;&lt;P&gt;    FROM VBRK AS A&lt;/P&gt;&lt;P&gt;    INNER JOIN VBRP AS B&lt;/P&gt;&lt;P&gt;    ON A&lt;SUB&gt;VBELN = B&lt;/SUB&gt;VBELN&lt;/P&gt;&lt;P&gt;    FOR ALL ENTRIES IN I_FINAL&lt;/P&gt;&lt;P&gt;    WHERE ( B~AUBEL = I_FINAL-VBELN AND&lt;/P&gt;&lt;P&gt;            B~AUPOS = I_FINAL-POSNR ) AND&lt;/P&gt;&lt;P&gt;          A~ERDAT &amp;gt;= '20070101'.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;      SORT I_VBRP BY VBELN POSNR ERDAT..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly Advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2008 13:14:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668512#M1098205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-28T13:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP/4 processor: DBIF_RSQL_SQL_ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668513#M1098206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DBIF_RSQL_SQL_ERROR can have many causes. What does the dump say in section "error analysis"? Any database-specific error code mentioned? E.g. ORA-xxxxx&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2008 13:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668513#M1098206</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-10-28T13:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP/4 processor: DBIF_RSQL_SQL_ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668514#M1098207</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;SQL error 1652 occurred when accessing table "VBRK ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP runtime errors    DBIF_RSQL_SQL_ERROR                                      &lt;/P&gt;&lt;P&gt;       Occurred on     10/27/2008 at 20:20:35                                                                                &lt;/P&gt;&lt;P&gt;002900       I_FINAL-KUNNR = I_VEDA-KUNNR.                                      &lt;/P&gt;&lt;P&gt;002910       I_FINAL-NAME1 = I_KNA1-NAME1.                                      &lt;/P&gt;&lt;P&gt;002920       I_FINAL-POSNR = I_VBAP-POSNR.                                      &lt;/P&gt;&lt;P&gt;002930       I_FINAL-MATNR = I_VBAP-MATNR.                                      &lt;/P&gt;&lt;P&gt;002940       I_FINAL-ARKTX = I_VBAP-ARKTX.                                      &lt;/P&gt;&lt;P&gt;002950       I_FINAL-ZIEME = I_VBAP-ZIEME.                                      &lt;/P&gt;&lt;P&gt;002960       I_FINAL-ZMENG = I_VBAP-ZMENG.                                      &lt;/P&gt;&lt;P&gt;002970       I_FINAL-NETWR = I_VBAP-NETWR.                                      &lt;/P&gt;&lt;P&gt;002980       I_FINAL-ERDAT = I_VEDA-ERDAT.                                      &lt;/P&gt;&lt;P&gt;002990       PERFORM POPULATE_FINAL.                                            &lt;/P&gt;&lt;P&gt;003000                                                                          &lt;/P&gt;&lt;P&gt;003010       APPEND I_FINAL.                                                    &lt;/P&gt;&lt;P&gt;003020       CLEAR: I_FINAL, I_VBAP.                                            &lt;/P&gt;&lt;P&gt;003030     ENDLOOP.                                                             &lt;/P&gt;&lt;P&gt;003040                                                                          &lt;/P&gt;&lt;P&gt;003050     IF P_BILL = 'X'.                                                     &lt;/P&gt;&lt;P&gt;003060      IF NOT I_FINAL[] IS INITIAL.                                        &lt;/P&gt;&lt;P&gt;003070       SELECT B&lt;SUB&gt;VBELN B&lt;/SUB&gt;POSNR A&lt;SUB&gt;FKART A&lt;/SUB&gt;KUNAG A&lt;SUB&gt;KUNRG A&lt;/SUB&gt;ERDAT B~MATNR     &lt;/P&gt;&lt;P&gt;003080              B&lt;SUB&gt;PMATN B&lt;/SUB&gt;PRSDT B&lt;SUB&gt;ARKTX B&lt;/SUB&gt;FKIMG B&lt;SUB&gt;MEINS B&lt;/SUB&gt;NETWR B~MWSBP     &lt;/P&gt;&lt;P&gt;003090              B&lt;SUB&gt;ABRBG B&lt;/SUB&gt;FBUDA B&lt;SUB&gt;PRODH B&lt;/SUB&gt;AUBEL B~AUPOS                     &lt;/P&gt;&lt;P&gt;003100       INTO TABLE I_VBRP                                                  &lt;/P&gt;&lt;P&gt;003110       FROM VBRK AS A                                                     &lt;/P&gt;&lt;P&gt;003120       INNER JOIN VBRP AS B                                               &lt;/P&gt;&lt;P&gt;003130       ON A&lt;SUB&gt;VBELN = B&lt;/SUB&gt;VBELN                                               &lt;/P&gt;&lt;P&gt;003140       FOR ALL ENTRIES IN I_FINAL                                         &lt;/P&gt;&lt;P&gt;003150       WHERE ( B~AUBEL = I_FINAL-VBELN AND                                &lt;/P&gt;&lt;P&gt;003160               B~AUPOS = I_FINAL-POSNR ) AND                              &lt;/P&gt;&lt;P&gt;     &amp;gt;             A~ERDAT &amp;gt;= '20070101'.                                       &lt;/P&gt;&lt;P&gt;003180       IF SY-SUBRC EQ 0.                                                  &lt;/P&gt;&lt;P&gt;003190         SORT I_VBRP BY VBELN POSNR ERDAT.                                &lt;/P&gt;&lt;P&gt;003200         REFRESH I_KNA1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2008 13:29:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668514#M1098207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-28T13:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP/4 processor: DBIF_RSQL_SQL_ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668515#M1098208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears to be a memory issue. Try reducing the a mount of data being processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2008 13:35:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668515#M1098208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-28T13:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP/4 processor: DBIF_RSQL_SQL_ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668516#M1098209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please also provide the text in section "error analysis".&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2008 13:35:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668516#M1098209</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-10-28T13:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP/4 processor: DBIF_RSQL_SQL_ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668517#M1098210</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;Please find the error log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                    System Log: Local Analysis of nysesapq                   2                                                                                &lt;/P&gt;&lt;P&gt;Time     Ty. Nr Cl. User         Tcod MNo Text                                                                                Date : 28.10.08&lt;/P&gt;&lt;P&gt;                                                                                09:27:57 BTC 14 030 MDSAUTO           BYL Database error 1652 requires intervention by the database administrator                            &lt;/P&gt;&lt;P&gt;09:27:57 BTC 14 030 MDSAUTO           BY4 Database error 1652 at FET access to table VBRK                                                    &lt;/P&gt;&lt;P&gt;09:27:57 BTC 14 030 MDSAUTO           BY0 &amp;gt; ORA-01652: unable to extend temp segment by 640 in tablespac                                     &lt;/P&gt;&lt;P&gt;09:27:57 BTC 14 030 MDSAUTO           BY0 &amp;gt; PSAPTEMP#                                                                                &lt;/P&gt;&lt;P&gt;09:27:57 BTC 14 030 MDSAUTO           R68 Perform rollback                                                                                &lt;/P&gt;&lt;P&gt;09:27:58 BTC 14 030 MDSAUTO           AB0 Run-time error "DBIF_RSQL_SQL_ERROR" occurred                                                      &lt;/P&gt;&lt;P&gt;09:27:58 BTC 14 030 MDSAUTO           AB1 &amp;gt; Short dump "081028 092758 nysesapq MDSAUTO " generated                                           &lt;/P&gt;&lt;P&gt;09:27:58 BTC 14 030 MDSAUTO           D01 Transaction termination 00 671 ( DBIF_RSQL_SQL_ERROR 20081028092758nysesapq MDSAUTO 0301 )         &lt;/P&gt;&lt;P&gt;09:27:58 BTC 14 030 MDSAUTO           R68 Perform rollback                                                                                &lt;/P&gt;&lt;P&gt;eading:                                                                                &lt;/P&gt;&lt;P&gt;umber of records read.........       2777                                                                                &lt;/P&gt;&lt;P&gt;umber of records selected.....        146                                                                                &lt;/P&gt;&lt;P&gt;ld records skipped............       2631                                                                                &lt;/P&gt;&lt;P&gt;urther selection:                                                                                &lt;/P&gt;&lt;P&gt;umber of records read.........        146                                                                                &lt;/P&gt;&lt;P&gt;umber of records selected.....          9                                                                                &lt;/P&gt;&lt;P&gt;arameter records suppressed...        137                                                                                &lt;/P&gt;&lt;P&gt;umber of records printed......          9                                                                                &lt;/P&gt;&lt;P&gt;nd of system log                                                                                &lt;/P&gt;&lt;P&gt;System Log: Local Analysis of nysesapq                   3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2008 13:43:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668517#M1098210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-28T13:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP/4 processor: DBIF_RSQL_SQL_ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668518#M1098211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the system log section, which is also quite interesting.&lt;/P&gt;&lt;P&gt;But I was referring to the chapter "error analysis" in the short dump text (tx ST22). Maybe you can provide this too.&lt;/P&gt;&lt;P&gt;Based on the information so far, either have tablespace PSAPTEMP extended by a system adminstrator, or change the program so that it does not read/process that much data in one large block, go for smaller block processing instead (e.g. chop I_FINAL into pieces).&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. also try changing "from vbrk join vbrp" to "from vbrp join vbrk", since your WHERE-conditions refer to vbrp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2008 13:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668518#M1098211</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-10-28T13:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP/4 processor: DBIF_RSQL_SQL_ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668519#M1098212</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;I am getting same error when archieving IDOCs,error is coming in the FM "ARCHIVE_GET_NEXT_OBJECT" while updating ADMI_STATS table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the error analysis below.&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; "UPDATE_ADMI_STATS" "(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;&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; "UPDATE_ADMI_STATS"&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........: "[8115] Arithmetic overflow error converting&lt;/P&gt;&lt;P&gt; expression to data type int.#[3621] The statement has been terminated."&lt;/P&gt;&lt;P&gt;Internal call code.........: "[RSQL/UPDT/ADMI_STATS ]"&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;"SAPLARCH" or "LARCHF06"&lt;/P&gt;&lt;P&gt;"UPDATE_ADMI_STATS"&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please thorugh some light how to correct error..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 12:27:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-4-processor-dbif-rsql-sql-error/m-p/4668519#M1098212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T12:27:27Z</dc:date>
    </item>
  </channel>
</rss>

