Application Development and Automation 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: 
Read only

DBIF_RSQL_INVALID_CURSOR , CX_SY_OPEN_SQL_DB

Former Member
0 Likes
798

this above error is coming while processing select - endselect statement in ECC 6.0

5 REPLIES 5
Read only

former_member194669
Active Contributor
0 Likes
648

Hi,

Check whether you have commit in between a SELECT and ENDSELECT loop.

That is why you are getting this error.

a®

Read only

0 Likes
648

there is no commit

Read only

0 Likes
648

Hi,

If you are debugging then

select

endselect

if sy-subrc eq 0. " <<< put the break-point here. if not

please paste the code in between select and endselect

a®

Read only

former_member194669
Active Contributor
0 Likes
648

Hi,

if you are doing a debugging the program in between SELECT - ENDSELECT, thenyou have to use F6 (and not F5) for step-by-step debugging.

aRs

Read only

Former Member
0 Likes
648

hi,

if you are in the select loop and try to debug you will get this error.

are you selecting only few fields from the table... try with select * and see.

Thanks

Mahesh