SAP Knowledge Base Article - Preview

3037557 - SBAL_DELETE report is canceled with runtime error DBSQL_INVALID_CURSOR

Symptom

  • Running report SBAL_DELETE, it gets canceled with dump:

Category                       ABAP programming error
Runtime Errors              DBSQL_INVALID_CURSOR
Except.                         CX_SY_OPEN_SQL_DB
ABAP Program               SBAL_DELETE
Application Component  BC-SRV-BAL
Date and Time              dd/mm/yyyy hh:mm:ss

 Short Text
     Cursor already closed or not open yet.

 What happened?
     Error in the ABAP application program.
     The current ABAP program "SBAL_DELETE" had to be terminated because it found a
     statement that could not be executed.

Information on where terminated
    The termination occurred in ABAP program or include "SBAL_DELETE", in
     "DELETE_WITH_CURSOR". The main program was "SBAL_DELETE".

  • Report can also be canceled while being executed on a batch job:

dd.mm.yyyy   hh:mm:ss            Job started
dd.mm.yyyy   hh:mm:ss            Step 001 started (program SBAL_DELETE, variant <variant_name>, user ID <user_name>)
dd.mm.yyyy   hh:mm:ss            Database commit done every 100 logs
dd.mm.yyyy   hh:mm:ss            Internal session terminated with a runtime error DBSLQ_INVALID_CURSOR (see ST22)
dd.mm.yyyy   hh:mm:ss            Job canceled

  • Dump can also be DBIF_RSQL_INVALID_CURSOR.


Read more...

Environment

 SAP NetWeaver system

Product

SAP NetWeaver all versions

Keywords

DBSQL_INVALID_CURSOR, DBIF_RSQL_INVALID_CURSOR, SBAL_DELETE, BALHDR, BALDAT, , KBA , BC-SRV-BAL , Basis Application Log , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.