Symptom
ABAP runtime errors of type DBIF_DSQL2_INTERNAL_ERROR occur after applying kernel release 7.49 or higher.
If it is a customer code, the following error could occur when executing ABAP code.
An exception (CX_SY_NATIVE_SQL_ERROR) occurred
The developer trace file shows:
VARCHAR/VARRAW input length(49455) exceeds 32k limit. Column 10 in row 0.
Please refer to SAP Note 1296540 - Access violation on long parameters in DSQL or ADBC
Be aware that when an xstring variable is used in exec sql and it exceeds 32k, then only 4k is saved and no error occurs.
Read more...
Environment
- SAP Kernel 7.49;
- SQL Server database;
- SAP NetWeaver system
Product
Keywords
VARCHAR/VARRAW, input length, exceeds 32k limit, DBIF_DSQL2_INTERNAL_ERROR , KBA , BC-DB-MSS , SQL Server in SAP NetWeaver Products , 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.