Symptom
Following dump happened during ATC/SCI check:
Category ABAP programming error
Runtime Errors SYSTEM_CLASSCONSTRUCTOR_FAILED
ABAP Program CL_CI_CHECKVARIANT============CP
Application Component BC-ABA-LA
Date and Time 22.08.2023 09:04:07
Short Text
Illegal interruption of a class constructor.
Error analysis
During the class constructor flow for class "\CLASS=CL_CI_TEST_ROOT", a
condition arose
causing the class constructor to be left prematurely. This is not
permitted because it results in an inconsistent state in the class.
Server-Side Connection Information
Call program...........CL_CI_TESTS===================CP
Function module..... SCI_TESTS_VALIDATE
Source Code Extract
| 40| DATA(lock_subrc) = sy-subrc. |
| 41| IF lock_subrc <> 0. |
| 42| new_variant->leave_change( ). |
| 43| CASE lock_subrc. |
| 44| WHEN 1. |
| 45| MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno |
| 46| WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 |
| 47| RAISING locked. |
|>>>>>| WHEN 2. |
| 49| MESSAGE ID sy-msgid TYPE 'E' NUMBER sy-msgno |
| 50| WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 |
Read more...
Environment
SAP Netweaver ABAP System.
SAP S/4HANA System.
Product
Keywords
SYSTEM_CLASSCONSTRUCTOR_FAILED, CL_CI_CHECKVARIANT, SCI, ATC , KBA , BC-ABA-LA , Syntax, Compiler, Runtime , 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.
SAP Knowledge Base Article - Preview