08-30-2007 6:51 PM
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.
08-30-2007 6:56 PM
08-30-2007 6:56 PM
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.
08-30-2007 7:05 PM
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**