SAP Knowledge Base Article - Preview

3846107 - ABAP Transactions fail with error "SQL message: authentication failed" after the HANA DB user password is changed

Symptom

  • The HANA Database user that is used to connect with the AS ABAP client is changed with command "ALTER USER <user_name> PASSWORD "<new password>" "
  • Transaction execution on the client then subsequently fails with authentication failure dumps in ST22

    Category               ABAP programming error
    Runtime Errors         DBSQL_SQL_ERROR
    Except.                CX_SY_OPEN_SQL_DB
    ABAP Program           CL_DO_CR_LOG==================CP
    Application Component  BC-DB-DB6-CCM
    Date and Time          28.10.2026 17:19:58
    ----------------------------------------------------------------------------------------------------

    ----------------------------------------------------------------------------------------------------
    |Short Text                                                                                        |
    |    SQL error "SQL code: 10" occurred while accessing table "DOCR_LOG_HEADER".                    |
    ----------------------------------------------------------------------------------------------------

    ----------------------------------------------------------------------------------------------------
    |What happened?                                                                                    |
    |    Database error text: "SQL message: authentication failed"                                     |
    ----------------------------------------------------------------------------------------------------

     . . . . 

    |    Database type..... HDB       
    |    Database name..... <SID>       
    |    Database user ID <ID> 

"Images/data in this KBA from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental." 


Read more...

Environment

SAP HANA Platform Edition 2.0

Keywords

KBA , HAN-DB-SEC , SAP HANA Security & User Management , HAN-DB-CLI , SAP HANA Clients (JDBC, ODBC) , 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.