SAP Knowledge Base Article - Preview

3753961 - Shortdump MOVE_CAST_ERROR occurs when run smartform

Symptom

  • Get below shortdump in transaction ST22 when print smartform or when perform "Custom Code Analysis" for S/4 HANA Migration.
    Category               ABAP programming error
    Runtime Errors         MOVE_CAST_ERROR
    Except.                CX_SY_MOVE_CAST_ERROR
    ABAP Program           SAPLSTXB

    An exception has occurred which is explained in more detail below. The
    exception is assigned to class 'CX_SY_MOVE_CAST_ERROR' and was not caught in
     procedure
    "CREATE_CODING_FOR_NODE" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated this
    exception, the current program was terminated.
    The reason for the exception is:
    During the 'CAST' operation ('?=' or 'MOVE TO') an attempt was made to
    assign a reference to a reference variable.
    The current content of the source variable is not compatible with the
    target variable however.
    Source type: \CLASS=CL_SSF_FB_SECTION
    Target type: "\CLASS=CL_SSF_FB_EVENT"


Read more...

Environment

  • SAP ERP all releases
  • SAP NetWeaver all releases
  • SAP S/4HANA On premise

Product

SAP ERP 6.0

Keywords

KBA , BC-SRV-SSF , Smart Forms , 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.