SAP Knowledge Base Article - Preview

3791934 - DBACOCKPIT 500 internal server error along with ASE Error SQL318 - SAP ASE for BS

Symptom

While accessing the database via t-code DBACOCKPIT facing 500 errors:

  

st22 dump:

Category                                            ABAP programming error
Runtime Errors                                   UNCAUGHT_EXCEPTION
Except.                                              CX_DBA_ACTION_INCONSISTENT_DYN
ABAP Program                                    CL_DBA_GRAPHIC_COMPONENT======CP
Application Component                        BC-DB-MON
Date and Time                                    30.07.2026                        10:18:53

 

    Short Text
        An exception has occurred that was not caught.

 

    What happened?
        Exception 'CX_DBA_ACTION_INCONSISTENT_DYN' was raised, but it was not caught
         anywhere along the
        call hierarchy.

        Since exceptions represent error situations, and this error was not
        adequately responded to, ABAP program 'CL_DBA_GRAPHIC_COMPONENT======CP' had
         to be terminated

dev_trace:

 Thu Jul 30 10:18:52:981 2026
C   sco.text FROM master..syscolumns sc, master..sysobjects so, master..sysusers su
C  , master..systypes st, master..syscomments sco WHERE so.id = sc.id AND st.userty
C  pe = sc.usertype AND so.uid = su.uid AND su.name = ''dbo'' AND so.name LIKE ''%'
C  ' AND sc.cdefault *= sco.id and sco.texttype = 0 ORDER BY so.id ASC, sc.colid AS
C  C ' exec (@stmt) end 
C  dbdssyb: DBSL99 SQL318
C  [ASE Error SQL318]sysstatistics catalog was read and an inconsistency was found, please run update statistics and contact SAP Technical Support
B  ***LOG BY2=> sql error 318 performing OPC [dbds         459]
B  ***LOG BY0=> [ASE Error SQL318]sysstatistics catalog was read and an inconsistency was found, please run update statistics and contact SAP Technical Support [dbds         459]
C  ERROR: -1 in function StartSelect (execute) [line 38182]
C  (318) [ZZZZZ] [SAP][ASE ODBC Driver][Adaptive Server Enterprise]sysstatistics catalog was read
C   and an inconsistency was found, please run update statistics and contact SAP Te
C  chnical Support
C  
C  sql statement is ==> if exists (select 1 from master..sysdatabases where name = 'master') begin decla
C  re @stmt varchar(1024) select @stmt='SELECT so.name, sc.name, upper(st.name), IS
C  NULL(CAST(sc.prec AS INTEGER),sc.length) AS length, ISNULL(sc.scale,0) AS scale,
C   sco.text FROM master..syscolumns sc, master..sysobjects so, master..sysusers su
C  , master..systypes st, master..syscomments sco WHERE so.id = sc.id AND st.userty
C  pe = sc.usertype AND so.uid = su.uid AND su.name = ''dbo'' AND so.name LIKE ''%'
C  ' AND sc.cdefault *= sco.id and sco.texttype = 0 ORDER BY so.id ASC, sc.colid AS
C  C ' exec (@stmt) end 
C  dbdssyb: DBSL99 SQL318
C  [ASE Error SQL318]sysstatistics catalog was read and an inconsistency was found, please run update statistics and contact SAP Technical Support
B  ***LOG BY2=> sql error 318 performing OPC [dbds         459]
B  ***LOG BY0=> [ASE Error SQL318]sysstatistics catalog was read and an inconsistency was found, please run update statistics and contact SAP Technical Support [dbds         459]
C  
C Thu Jul 30 10:18:53:023 2026
C  ERROR: -1 in function StartSelect (execute) [line 38182]
C  (318) [ZZZZZ] [SAP][ASE ODBC Driver][Adaptive Server Enterprise]sysstatistics catalog was read
C   and an inconsistency was found, please run update statistics and contact SAP Te
C  chnical Support


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 16.0 for Business Suite
  • SAP NetWeaver (NW) - All versions

Product

SAP ERP 6.0

Keywords

SQL318,500 internal server error  , KBA , BC-DB-SYB , Business Suite 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.