SAP Knowledge Base Article - Preview

3571551 - What to check if you get an DBSQL_STMNT_TOO_LARGE ABAP dump with a SAP HANA database?

Symptom

An ABAP dump DBSQL_STMNT_TOO_LARGE ABAP similar to this is received.

Category               ABAP programming error
Runtime Errors         DBSQL_STMNT_TOO_LARGE
Except.                CX_SY_OPEN_SQL_DB
ABAP Program           SAPDBKDF
Application Component  Not assigned
Date and Time          22.01.2025 12:58:09 (CET)
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Short Text                                                                                        |
|    Der Open SQL command is too big.                                                              |
----------------------------------------------------------------------------------------------------

|    More information: BSEG                                                                        |
|    Number of DBSL marker exceeded                                                                |
|    Current = 34812                                                                               |
|    "Maximum = 32767"                                                                             |
----------------------------------------------------------------------------------------------------

|1            CX_SY_OPEN_SQL_DB                                                                    |
|(Program)                      SAPDBKDF                                                           |
|(Include)                      RKDFHDB                                                            |
|(Row)                          666                                                                |
|(Short Text)                   The range of the statement to be passed to the database is too wide|
|(Long Text)                    The Open SQL command is too long. The WHERE condition of the OPEN  |
|                               SQL command you specified contains too manycharacters.             |
|CONNECTION_NAME                                                                                   |
|IS_RESUMABLE                                                                                      |
|KERNEL_ERRID                   DBSQL_STMNT_TOO_LARGE                                              |
|SQLCODE                        0                                                                  |
|SQLMSG                                                                                            |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|System environment                                                                                |
|    SAP Release..... 757                                                                          |
|    SAP Basis level 0001                                                                          |

|                                                                                                  |
|    Character set C                                                                               |
|                                                                                                  |
|    SAP kernel....... 793                                                                         |
|    Created on....... Aug 02 2024 16:22:04                                                        |
|    Created at....... Linux GNU SLES-15 x86_64  cc10.3.0 use-pr240802                             |
|    Database version SQLDBC 2.22.029.1728069605                                                   |
|    Patch level....... 101                                                                        |
|    Patch text.......                                                                             |
|                                                                                                  |
|    Database............. HANA 1.0, HANA 2.0                                                      |
|    SAP database version. 793                                                                     |
|    Operating system... Linux,   GitVers: v7.93-3476-gcf493217,   GitHash:                        |
|     cf4932174f47c2068f33b2a007dc2b7d1c39fb3a    

----------------------------------------------------------------------------------------------------
|Database Interface Information                                                                    |
----------------------------------------------------------------------------------------------------
|B|1|DbslStmtDescriptor::getDbslStmt(): Number of DBSL markers 34812 exceeds maximal number 32767 [|


Read more...

Environment

SAP HANA 2.0

Product

SAP HANA, platform edition 2.0

Keywords

dbsql_stmnt_too_large, dump, abap,  dbs/hdb/input_parameter , KBA , HAN-DB , SAP HANA Database , HAN-DB-ENG , SAP HANA DB Engines , 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.