SAP Knowledge Base Article - Preview

3041408 - The database registered an internal error. SQL code 2.

Symptom

  • Dumps are observed in ST22 & SM21 of transaction(s) failure in an ABAP client served by a HANA Database very similar to this :

 

1st pic.png

2nd.png

3rd pic.png

blank space.png

  • Under the ABAP dump sections "Chain of Exception Objects" & "Application Information" , the database CX_SY_OPEN_SQL_DB error details can be found under the "Short Text"


----------------------------------------------------------------------------------------------------
|Chain of Exception Objects |
----------------------------------------------------------------------------------------------------

|3 CX_SY_OPEN_SQL_DB |

|(Program) /BOBF/CL_DAC_LEGACY_TABLE=====CP |
|(Include) /BOBF/CL_DAC_LEGACY_TABLE=====CM00D |
|(Row) 16 |
|(Short Text) The database registered an internal error. SQL code 2. The error |
| text is: general error: Internal error. Please open a ticket and |
| include the service trace files which cover the time of the query |
| execution.. |
|IS_RESUMABLE |
|KERNEL_ERRID |
|SQLCODE 2 |
|SQLMSG general error: Internal error. Please open a ticket and include the|
| service trace files which cover the time of the query execution. |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Application Information |
----------------------------------------------------------------------------------------------------
|Index|Information |
----------------------------------------------------------------------------------------------------
| 1|/BOBF/CX_FRW_FATAL, Program:SAPMSSY1, Include:, Position:0 |
| 2|Info: Internal application error of BO I_PROCGEXECOPERATIONACTIVITY of component PP-PEO-SFE;|
| 3|/BOBF/CX_DAC, Program:/BOBF/CL_DAC_LEGACY_TABLE=====CP, Include:/BOBF/CL_DAC_LEGACY_TABLE===|
| 4|Info: Error in data access |
| 5|CX_SY_OPEN_SQL_DB, Program:/BOBF/CL_DAC_LEGACY_TABLE=====CP, Include:/BOBF/CL_DAC_LEGACY_TAB|
| 6|Info: The database registered an internal error. SQL code 2. The error text is: general erro|
| 7| |
| 8| |
| 9| |
| 10| |
----------------------------------------------------------------------------------------------------

blank space.png

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


Read more...

Environment

  •  SAP HANA PLATFORM EDITION 1.0
  •  SAP HANA PLATFORM EDITION 2.0

Product

SAP HANA 1.0, platform edition ; SAP HANA, platform edition 2.0 ; SAP S/4HANA 2020

Keywords

registered, internal error, SQL code 2, general error , KBA , 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.