<?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 Errors &amp;quot;DBIF_RSQL_SQL_ERROR&amp;quot; Exception &amp;quot;CX_SY_OPEN_SQL_DB&amp;quot; in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763376#M1583872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your reply,&lt;/P&gt;&lt;P&gt;   The program is only trying to update one field in ZTable and that field is a status field (not a key field).&lt;/P&gt;&lt;P&gt;   When this runtime error occurs, it will not update data in ZTable and make incorrect data to the report.&lt;/P&gt;&lt;P&gt;   So, I have check in QA System, trying to run many sessions of this program but no runtime error occur. (Only happen to PRD) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any solution for solve this problem?&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Mar 2011 04:29:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-11T04:29:46Z</dc:date>
    <item>
      <title>Runtime Errors "DBIF_RSQL_SQL_ERROR" Exception "CX_SY_OPEN_SQL_DB"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763374#M1583870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello gurus,&lt;/P&gt;&lt;P&gt;    I facing the runtime error DBIF_RSQL_SQL_ERROR with Exception CX_SY_OPEN_SQL_DB while trying to updating ZTable.&lt;/P&gt;&lt;P&gt;It's shown as following. Please help.&lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;How to correct the error                                                                         &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Database error text........: "Row or object ZPPPROH in R3P11DATA type *FILE in               &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;     use. MSGID= Job=181841/P1111/WP01. Record 39380 in use by job                              &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;     179586/P1111/WP03."                                                                       &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Internal call code.........: "[RSQL/UPDT/ZPPPROH ]"                                           &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Please check the entries in the system log (Transaction SM21).                              &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    If the error occures in a non-modified SAP program, you may be able to                       &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    find an interim solution in an SAP Note.                                                      &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    If you have access to SAP Notes, carry out a search with the following                       &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    keywords:                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"                                                 &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    "ZPPEN902_3" or "MZPPEN902_3_F01"                                                           &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    "SAVE_OUT"                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    If you cannot solve the problem yourself and want to send an error                          &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    notification to SAP, include the following information:                                       &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    1. The description of the current problem (short dump)                                        &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;       To save the description, choose "System-&amp;gt;List-&amp;gt;Save-&amp;gt;Local File                      &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    (Unconverted)".                                                                           &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    2. Corresponding system log                                                                 &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;       Display the system log by calling transaction SM21.                                        &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;       Restrict the time interval to 10 minutes before and five minutes                           &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    after the short dump. Then choose "System-&amp;gt;List-&amp;gt;Save-&amp;gt;Local File                         &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    (Unconverted)".                                                                              &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    3. If the problem occurs in a problem of your own or a modified SAP                           &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    program: The source code of the program                                                      &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;       In the editor, choose "Utilities-&amp;gt;More                                                 &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Utilities-&amp;gt;Upload/Download-&amp;gt;Download".                                                  &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    4. Details about the conditions under which the error occurred or which                     &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    actions and input led to the error.                                                           &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    The exception must either be prevented, caught within proedure                             &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    "SAVE_OUT" "(FORM)", or its possible occurrence must be declared in the                    &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    RAISING clause of the procedure.                                                             &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    To prevent the exception, note the following:    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;System environment                                                                              &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    SAP-Release 700                                                                          &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Application server... "SAPPRD"                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Operating system..... "OS400"                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Release.............. "6.1"                                                                  &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Hardware type........ "0006000F0DA4"                                                      &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Character length.... 16 Bits                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Pointer length....... 64 Bits                                                              &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Work process number.. 1                                                                     &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Shortdump setting.... "full"                                                                 &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Database server... "SAPPRD"                                                                  &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Database type..... "DB400"                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Char.set.... "C"                                                                    &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    SAP kernel....... 700                                                                     &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    created (date)... "Aug 24 2010 21:22:26"                                                  &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    create on........ "AIX 2 5 005DD9CD4C00 (IBM iSeries with OS400)"                        &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Database version. "DB4_53"                                                                 &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Patch level. 268                                                                             &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Patch text.. " "                                                                            &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Database............. "V5R3, V5R4, V6R1, V7R1"                                              &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    SAP database version. 700                                                                   &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Operating system..... "OS400 3 5, OS400 4 5, OS400 1 6, OS400 1 7"                           &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Memory consumption                                                                         &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Roll.... 16192                                                                         &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    EM...... 16759392                                                                          &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Heap.... 0                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    Page.... 57344                                                                                &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    MM Used. 8474832                                                                           &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    MM Free. 4091712    &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;  875     SELECT SINGLE arbpl INTO lv_arbpl                                                 &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;  876         FROM zppprod                                                                   &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;  877         WHERE aufnr = wa_dtl-aufnr                                                      &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;  878           AND vornr = wa_dtl-vornr.                                                      &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;  879      IF sy-subrc = 0.                                                                      &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       UPDATE zppproh SET plnst = 'CNF' WHERE aufnr = wa_dtl-aufnr             &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;  881        AND arbpl = lv_arbpl.                                                              &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;  882        COMMIT WORK.                                                                 &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;  883      ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 03:00:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763374#M1583870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-11T03:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Errors "DBIF_RSQL_SQL_ERROR" Exception "CX_SY_OPEN_SQL_DB"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763375#M1583871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you trying to update the key fields with update and while doing so inserting duplicates in this ztable??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 03:39:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763375#M1583871</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2011-03-11T03:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Errors "DBIF_RSQL_SQL_ERROR" Exception "CX_SY_OPEN_SQL_DB"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763376#M1583872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your reply,&lt;/P&gt;&lt;P&gt;   The program is only trying to update one field in ZTable and that field is a status field (not a key field).&lt;/P&gt;&lt;P&gt;   When this runtime error occurs, it will not update data in ZTable and make incorrect data to the report.&lt;/P&gt;&lt;P&gt;   So, I have check in QA System, trying to run many sessions of this program but no runtime error occur. (Only happen to PRD) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any solution for solve this problem?&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 04:29:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763376#M1583872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-11T04:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Errors "DBIF_RSQL_SQL_ERROR" Exception "CX_SY_OPEN_SQL_DB"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763377#M1583873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Verdam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best approach would be to catch the EXCEPTION &amp;amp; log it for further analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: gx_sql_excp TYPE REF TO cx_sy_open_sql_db,
      gv_err_txt  TYPE string.

TRY .
    UPDATE zppproh SET plnst = 'CNF' WHERE aufnr = wa_dtl-aufnr.
  CATCH cx_sy_open_sql_db INTO gx_sql_excp .
    gv_err_txt = gx_sql_excp-&amp;gt;get_text( ).
    WRITE: / gv_err_txt. CLEAR gv_err_txt.
ENDTRY.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 05:09:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763377#M1583873</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-03-11T05:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Errors "DBIF_RSQL_SQL_ERROR" Exception "CX_SY_OPEN_SQL_DB"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763378#M1583874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help,&lt;/P&gt;&lt;P&gt;           I think this is the best way to catch this runtime error. But if the runtime error rise up and catch block working with displaying some message, it is still not to update status field. The users have to re-excute program again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 06:38:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763378#M1583874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-11T06:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Errors "DBIF_RSQL_SQL_ERROR" Exception "CX_SY_OPEN_SQL_DB"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763379#M1583875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; But if the runtime error rise up and catch block working with displaying some message, it is still not to update status field. The users have to re-excute program again.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Verdam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ofcourse the data won't be updated in the database. There is a reason why the database is not allowing the data to be updated &amp;amp; we need to know the reason &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current ST22 log does gives us the details about the exception being raised &amp;amp; no further details are available. If you incorporate the TRY ... CATCH block the exception message will give more insight &amp;amp; can be used for further analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 06:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763379#M1583875</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-03-11T06:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Errors "DBIF_RSQL_SQL_ERROR" Exception "CX_SY_OPEN_SQL_DB"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763380#M1583876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Verdam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;*FILE in use. MSGID= Job=181841/P1111/WP01. Record 39380 in use by job 179586/P1111/WP03&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a deadlock, two process (WP01 and WP03) are trying to change record.&lt;/P&gt;&lt;P&gt;Is the AUFNR and ARBPL the primary key of table?&lt;/P&gt;&lt;P&gt;Or update where AUFNR and ARBPL provoke more changes than one record?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you need to review the process around zppproh table to ensure fast and unique updates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Fernando Da Ró&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 06:44:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763380#M1583876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-11T06:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Errors "DBIF_RSQL_SQL_ERROR" Exception "CX_SY_OPEN_SQL_DB"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763381#M1583877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Fernando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;*FILE in use. MSGID= Job=181841/P1111/WP01. Record 39380 in use by job 179586/P1111/WP03&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My bad! Should have read the ST22 analysis thoroghly. The OP has to lock the records before trying to update them which will remove the "lock conflicts".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 06:53:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763381#M1583877</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-03-11T06:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Errors "DBIF_RSQL_SQL_ERROR" Exception "CX_SY_OPEN_SQL_DB"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763382#M1583878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for all reply,&lt;/P&gt;&lt;P&gt;            I have check the table and source code, it has the lock object and enqueue/dequeue for this table. Testing multi concurrent updating at QAS is fine. &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;  CALL FUNCTION 'ENQUEUE_EZPPPROH' &lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    EXPORTING&lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;      mode_zppproh   = 'E'&lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;      mandt          = sy-mandt&lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;      aufnr          = zsppen002-aufnr&lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;      foreign_lock   = 1&lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;      system_failure = 2&lt;/P&gt;&lt;P&gt; &amp;lt;/BR&amp;gt;     OTHERS         = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;  CALL FUNCTION 'DEQUEUE_EZPPPROH'&lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;    EXPORTING&lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;     mode_zppproh = 'E'&lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;     mandt        = sy-mandt&lt;/P&gt;&lt;P&gt;&amp;lt;/BR&amp;gt;     aufnr        = zsppen002-aufnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion that need to be check?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 08:24:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763382#M1583878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-11T08:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Errors "DBIF_RSQL_SQL_ERROR" Exception "CX_SY_OPEN_SQL_DB"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763383#M1583879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi VerdamK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Talk some background info about this table and these updates...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error occured at database level not abap, follow some questions:&lt;/P&gt;&lt;P&gt;- Is it common this concurrency of two process trying to update same record?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- the enqueue objects/functions are in use? I couldn't see it on your dump...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- monitor on SM50 / SM66 the test run of concurrent executions, look for long execution database access, sequential read...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- where the problem happens? Production? If yes, isn't a test... What is the difference of real world from QAS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- the normal standard programming don't use UPDATE like you did but select SINGLE the record, enqueue it, call an update function, commit, dequeue... the update will happens on another WP type UPD and you can monitor it through SM13. Your coding call a update function or the UPDATE run syncronous in the DIA WP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Fernando Da Ró&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 11:35:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-quot-dbif-rsql-sql-error-quot-exception-quot-cx-sy-open-sql/m-p/7763383#M1583879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-11T11:35:46Z</dc:date>
    </item>
  </channel>
</rss>

