SAP Knowledge Base Article - Preview

3723005 - DBIF_RSQL_INVALID_CURSOR during client delete

Symptom

Client delete ends with runtime error DBIF_RSQL_INVALID_CURSOR 
___________________________________________________________________________

Runtime Errors         DBIF_RSQL_INVALID_CURSOR                                                     
Exception              CX_SY_OPEN_SQL_DB                                                            
Date and Time          16.02.2026 22:17:37                                                          
                                                                                                    
 
Short Text                                                                                        
    Invalid interruption of a database selection.                                                 
 
What happened?                                                                                    
    Error in the ABAP Application Program                                                         
                                                                                                  
    The current ABAP program "SAPLSCCM" had to be terminated because it has                       
    come across a statement that unfortunately cannot be executed.                                
    Unable to perform database selection fully.                        
_________________________________________________________________________

   53      IF PROCESS = '00001' AND 00001_CHECKED IS INITIAL.                                        
   54        00001_CHECKED = 'X'.                                                                    
>>>>>        SELECT TABNAME CONTFLAG TABCLASS SQLTAB                                                 
   56                      OBJFUNC PFLAG2 TABLEN CLIDEP                                              
   57                FROM  CCSELTAB                                                                  
   58                INTO  CORRESPONDING FIELDS OF SELTAB                                            
   59                WHERE STATUS = 'N'                                                              
   60                  AND PFLAG2 = '3'.                                                             
   61          APPEND SELTAB.                                                                        
   62          UPDATE CCSELTAB SET   PROCESS_ID = CCPROCESS                                          
   63                                STATUS     = 'A'                                                
   64                          WHERE TABNAME    = SELTAB-TABNAME.  
___________________________________________________________________________


Error in developer trace file (dev_Wxx.log)

***LOG BY7=> invalid cursor specified 2 for database selection [dbrsql       2374]
TH VERBOSE LEVEL FULL
** RABAX: level LEV_RX_STANDARD entered.
** RABAX: level LEV_RX_STANDARD completed.
** RABAX: level LEV_RX_STDERR entered.
Fri Feb 27 16:46:02 2026

ABAP Program SAPLSCCM                                .
Source LSCCMU03                                 Line 55.
Error Code DBIF_RSQL_INVALID_CURSOR.
Module  $Id: //bas/722_STACK/src/krn/runt/absapsql.c#4 $ SAP.
Function ab_HandleRsqlErrors Line 703.
P1: [RSQL/FTCH/CCSELTAB                      ]
P2: CCSELTAB


Read more...

Keywords

KBA , BC-DB-MSS , SQL Server in SAP NetWeaver Products , 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.