SAP Knowledge Base Article - Preview

3403971 - SQL error "SQL code: 0" occurred while accessing table "SMODILOG"

Symptom

Dump "DBSQL_SQL_ERROR" happens while running t-code SPAU/SPDD

-------------------------------------------------------------------------------------------

Category               Installation Errors
Runtime Errors         DBSQL_SQL_ERROR
Except.                CX_SY_OPEN_SQL_DB

Short Text
     SQL error "SQL code: 0" occurred while accessing table "SMODILOG".

What happened?
     Database error text: "SQL message: "

What can you do?
    Note which actions and entries caused the error to occur.
    Consult your SAP administrator.
    Using transaction ST22 for ABAP dump analysis, you can view, manage,
    and retain termination messages for longer periods.

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
    "SELECT_DELETED_OBJECTS" "(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:
    Database error text: SQL message:
    Return value of the database layer: "SQL dbsl rc: 99"

-------------------------------------------------------------------------------------------


Read more...

Environment

SAP ABAP system

Product

SAP NetWeaver all versions ; SAP S/4HANA all versions

Keywords

DBSQL_SQL_ERROR, CX_SY_OPEN_SQL_DB, SQL error "SQL code: 0" occurred while accessing table "SMODILOG", SQL dbsl rc: 99, [Microsoft][ODBC Driver Manager] Program type out of range  , KBA , BC-UPG-TLS-TLA , Upgrade tools for ABAP , BC-DB-DBI , DB Independent Database Interface , 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.