SAP Knowledge Base Article - Preview

3346934 - Client copy or deletion is failing with DBSQL_INVALID_CURSOR short dump.

Symptom

While performing client copy (SCC1, SCCL) or client deletion (SCC5), it fails with below short dump

Category               ABAP programming error
Runtime Errors         DBSQL_INVALID_CURSOR
Except.                CX_SY_OPEN_SQL_DB
ABAP Program           SAPLSCCR
Application Component  BC-CTS-CCO
Date and Time          16.06.2023 21:10:44

 Short Text
     Cursor already closed or not open yet.

 What happened?
     Error in the ABAP application program.

     The current ABAP program "SAPLSCCR" had to be terminated because it found a
     statement that could not be executed.

Error analysis
    An exception has occurred which is explained in more detail below. The
    exception is assigned to class 'CX_SY_OPEN_SQL_DB' and was not caught in
     procedure
    "DEL_TABLE" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated this
    exception, the current program was terminated.
    The reason for the exception is:
    The cursor used in a FETCH or CLOSE CURSOR command is not open. It has
    either not been opened yet or has already been closed. The cursor can
    be closed explicitly with the CLOSE CURSOR command or implicitly with
    the COMMIT WORK command, or with a screen change.


Read more...

Environment

  • SCCL
  • SCC1
  • SCC5

Product

SAP NetWeaver all versions

Keywords

DBSQL_INVALID_CURSOR, SAPLSCCR, DEL_TABLE,  CLOSE CURSOR CUR, NATIVECOPY , KBA , BC-CTS-CCO , Client Copy (For ByD issues select BC-TLM-CP) , Problem

About this page

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

Search for additional results

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