SAP Knowledge Base Article - Preview

3485840 - SMIGR_CREATE_DDL generating ST22 dump with SAP ASE database as target - BW on SAP ASE

Symptom

  • When executing the report SMIGR_CREATE_DDL for the target database SAP ASE, a short dump “Runtime error DBSQL_INVALID_CURSOR” is generated:

    Category               ABAP programming error                                                       
    Runtime Errors         DBSQL_INVALID_CURSOR                                                         
    Except.                CX_SY_OPEN_SQL_DB                                                            
    ABAP Program           CL_SMIGR_DDL==================CP                                             
    Application Component  BC-DB                                                                        
    Date and Time          11.06.202x 18:55:10                                                          
                                                                                                        
     
    Short Text                                                                                        
        Cursor already closed or not open yet.                                                        
     
    What happened?                                                                                    
        Error in the ABAP application program.                                                        
                                                                                                      
        The current ABAP program "CL_SMIGR_DDL==================CP" had to be                         
         terminated because it found a                                                                
        statement that could not be executed.                                                         
      
     108    CLEAR l_s_dd09l.                                                                        
    >>>>>    FETCH NEXT CURSOR l_cur INTO l_s_dd09l.                                                 

  • This error only occurs with SAP ASE as the target database.


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 16.x for Business Suite
  • SAP Business Warehouse (BW) - all versions

Product

SAP Adaptive Server Enterprise 16.0 ; SAP Business Warehouse all versions

Keywords

CL_SMIGR_DDL, SMIGR_CREATE_DDL, CURSOR, ASE , KBA , BW-SYS-DB-SYB , BW on Adaptive Server Enterprise , 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.