Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Run Time Error- DBIF_RSQL_INVALID_CURSOR

Former Member
0 Kudos

Hi Folks,

I am getting the runtime error DBIF_RSQL_INVALID_CURSOR ( Exception CX_SY_OPEN_SQL_DB ) while debugging the program RPLEAVQ0.This error is coming when the period parameter is taking from the table T549A.This thing is happening when commit work is executed by system.

This error is not coming while directly executing this program RPLEAVQ0.

Please suggest any solution so that this error can be avoided during debugging.

Regrads

Amit Singh

1 REPLY 1

rainer_hbenthal
Active Contributor
0 Kudos

This happens when you are changing or displaying the values. This seems to invoke a select with a commit from inside the debugger, so the cursor position is lost.

Set a breakpoint at the following statement after end-select and run until this point. If u need to step thru the select... end-select you are lost, no way to change this behaviour.