<?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: CX_SY_OPEN_SQL_DB after locking user in SELECT-Clause in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-open-sql-db-after-locking-user-in-select-clause/m-p/349718#M6798</link>
    <description>&lt;P&gt;I suppose the runtime error behind the exception is DBIF_RSQL_INVALID_CURSOR. The RFC call or the COMMIT WORK closed the cursor open by the SELECT statement (&lt;A href="http://help.sap.com/abapdocu_751/en/abendb_commit.htm#@@ITOC@@ABENDB_COMMIT_1"&gt;Implicit Database Commits&lt;/A&gt;). Select into an internal table and then LOOP at this table.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Raymond&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2017 14:09:33 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2017-02-08T14:09:33Z</dc:date>
    <item>
      <title>CX_SY_OPEN_SQL_DB after locking user in SELECT-Clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-open-sql-db-after-locking-user-in-select-clause/m-p/349717#M6797</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I'm using a select to proof some data. Within the select clause I check for some conditions. If they are not fulfilled the user gets locked.&lt;/P&gt;&lt;P&gt;The user lock is successful but when the debugger gets back to the top of the select it I'm getting a CX_SY_OPEN_SQL_DB exception. When I comment out the function module that locks the user the exception doesn't appear.&lt;/P&gt;&lt;P&gt;EDIT: I'm using the BAPI_USER_LOCK as a RFC Call.&lt;/P&gt;&lt;P&gt;Debugging didn't get me any further. After the first select the debugger jumps back at the top again and then he is already getting the message.&lt;/P&gt;&lt;P&gt;I'm thankful for any hints where this problem comes from.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 12:49:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-open-sql-db-after-locking-user-in-select-clause/m-p/349717#M6797</guid>
      <dc:creator>former_member310342</dc:creator>
      <dc:date>2017-02-08T12:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: CX_SY_OPEN_SQL_DB after locking user in SELECT-Clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-open-sql-db-after-locking-user-in-select-clause/m-p/349718#M6798</link>
      <description>&lt;P&gt;I suppose the runtime error behind the exception is DBIF_RSQL_INVALID_CURSOR. The RFC call or the COMMIT WORK closed the cursor open by the SELECT statement (&lt;A href="http://help.sap.com/abapdocu_751/en/abendb_commit.htm#@@ITOC@@ABENDB_COMMIT_1"&gt;Implicit Database Commits&lt;/A&gt;). Select into an internal table and then LOOP at this table.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Raymond&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 14:09:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-open-sql-db-after-locking-user-in-select-clause/m-p/349718#M6798</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2017-02-08T14:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: CX_SY_OPEN_SQL_DB after locking user in SELECT-Clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-open-sql-db-after-locking-user-in-select-clause/m-p/349719#M6799</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Thanks Raymond that was pretty easy and works perfectly!&lt;/P&gt;&lt;P&gt;Exception doesn't appear anymore.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 15:02:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-open-sql-db-after-locking-user-in-select-clause/m-p/349719#M6799</guid>
      <dc:creator>former_member310342</dc:creator>
      <dc:date>2017-02-08T15:02:34Z</dc:date>
    </item>
  </channel>
</rss>

