Symptom
Category ABAP programming error
Runtime Errors MOVE_CAST_ERROR
Except. CX_SY_MOVE_CAST_ERROR
ABAP Program CL_SWF_UTL_TECHNICAL_SETUP====CP
Application Component BC-BMT-WFM
Date and Time
Short Text
Dynamic type conflict during the assignment of references.
What happened?
Error in the ABAP application program.
The current ABAP program "CL_SWF_UTL_TECHNICAL_SETUP====CP" had to be
terminated because it found a
statement that could not be executed.
Error analysis
An exception has occurred in class "CX_SY_MOVE_CAST_ERROR". This exception was
not caught
in procedure "READ_LOGICAL_DESTINATION" "(METHOD)" or propagated by a RAISING
clause.
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_DEST_RFC_ABAP
Target type: "\INTERFACE=IF_DEST_LOGICAL"
How to correct the error
"MOVE_CAST_ERROR" CX_SY_MOVE_CAST_ERROR
"CL_SWF_UTL_TECHNICAL_SETUP====CP" bzw. CL_SWF_UTL_TECHNICAL_SETUP====CCIMP
"READ_LOGICAL_DESTINATION"
Information on where terminated
The termination occurred in ABAP program or include
"CL_SWF_UTL_TECHNICAL_SETUP====CP", in "READ_LOGICAL_DESTINATION". The
main program was "RSWF_CST_AUTOCUST".
Source Code Extract
METHOD read_logical_destination.
TRY.
>>>> DATA(lo_logical_dest) = CAST if_dest_logical( cl_swf_utl_rfc_dest_factory=>create( i
Read more...
Environment
- SAP Business Workflow
- SAP NetWeaver
- SAP Web Application Server for SAP S/4 HANA
- ABAP PLATFORM - Application Server ABAP
Product
Keywords
WF_GDPR, SWF_WORKFLOW, Reference, ABAP Connections, Type (3), SAP_WFRT , KBA , BC-BMT-WFM , Business Workflow , 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.