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: 

SQL Connection Error: -1 Connection is busy with results for another hstmt

raavi_gopichand
Explorer
0 Kudos
134

Hi ,

I have a requirement like to pull data from SQL into SAP.I am able to pull data as required with some program.But problem is when ,  I was calling that program from another program using SUBMIT and Return Statement , it is throwing error saying : " 

" SQL error occured:          1-

Connection is busy with results for another hstmt

"

Kindly help me on this.

Regards,

Gopichand.

1 REPLY 1

Former Member
0 Kudos
46

can you paste the code? Aren't you trying to submit the program in the middle of select-endselect syntax, or inside a dbs cursor?