SAP Knowledge Base Article - Public

2745273 - Unexpected RAISE statement in class "CL_GUI_SAPSCRIPT_EDITOR

Symptom

Unexpected RAISE statement in CONSTRUCTOR of class CL_GUI_SAPSCRIPT_EDITOR if system is S4HANA:

Category ABAP programming error
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
Except. CX_SY_REF_IS_INITIAL
ABAP Program xxxxxxxxxxxxx
Application Component Not assigned

Dump

S4H3.png

Environment

S4Core 100 and higher based on SAP NetWeaver 7.50

Cause

CL_GUI_SAPSCRIPT_EDITOR is not supported on S/4 HANA. The MS Word is the only available SAPscript graphical text editor in systems containing the software component version S4Core 100 and higher based on SAP NetWeaver 7.50 and higher. Refer to SAP Note 2342408.

Resolution

Don't use the old PC-Editor on S/4 HANA. Please read SAP Note 742662 and 791199 for details.

Keywords

"ERROR_CNTL_CREATE" triggered, cl_cos_utilities=>is_s4h( ), report RSCPSETEDITOR, 742662. , KBA , BC-SRV-SCR , SAPscript , Problem

Product

SAP S/4HANA Cloud all versions

Attachments

S4H3.png