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

ABAP dump in ECC 6.0 - Need OSS notes

Former Member
0 Likes
783

ABAP dump is coming when retriving data between select-endselect.

Runtime Errors DBIF_RSQL_INVALID_CURSOR

Except. CX_SY_OPEN_SQL_DB

The problem cannot be resolved without correcting the application

program.

The statements MESSAGE, COMMIT WORK, ROLLBACK WORK, CALL SCREEN,

BREAK-POINT, WAIT, CALL FUNCTION ... DESTINATION, CALL FUNCTION ...

STARTING NEW TASK, RECEIVE RESULTS, CALL SELECTION-SCREEN, CALL

DIALOG, CALL TRANSACTION cannot be used within a database

loop.

You can collect the data needed for these statements together in an

internal table and process them

in a loop.

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

"DBIF_RSQL_INVALID_CURSOR" "CX_SY_OPEN_SQL_DB"

Can you please give the OSS notes no. if anything is available.

ABAP dump is coming when retriving data between select-endselect.

Runtime Errors DBIF_RSQL_INVALID_CURSOR

Except. CX_SY_OPEN_SQL_DB

The problem cannot be resolved without correcting the application

program.

The statements MESSAGE, COMMIT WORK, ROLLBACK WORK, CALL SCREEN,

BREAK-POINT, WAIT, CALL FUNCTION ... DESTINATION, CALL FUNCTION ...

STARTING NEW TASK, RECEIVE RESULTS, CALL SELECTION-SCREEN, CALL

DIALOG, CALL TRANSACTION cannot be used within a database

loop.

You can collect the data needed for these statements together in an

internal table and process them

in a loop.

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

"DBIF_RSQL_INVALID_CURSOR" "CX_SY_OPEN_SQL_DB"

Can you please give the OSS notes no. if anything is available.

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
730

When is this happening, when you are debugging it? If so, do not debug within the SELECT...ENDSELECT.

Regards,

Rich HEilman

Read only

Former Member
0 Likes
730

We need to see the code that is causing the error.

The error is telling us tha you are doing something you shouldn't inside a Select-Endselect.

Read only

Former Member
0 Likes
730

Hi Sreedevi..

In the dump report, the piece of code where the dump occured will be shown

something with >>>>>> sign in the line...

Please copy and paste this peice of code..

Thanks and Best Regards,

Vikas Bittera.

**Reward if useful**