Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

CX_SY_MOVE_CAST_ERROR - Source type CLASS=CL_SRQM_INC_INCIDENTSRL_CN00 is

Hi,

I added a Z field with AET. After adding AET field I generated Getter and Setter methods. After adding Getter and setter methods WEB UI started to give below error;

"CX_SY_MOVE_CAST_ERROR - Source type CLASS=CL_SRQM_INC_INCIDENTSRL_CN00 is not compatible, for the purposes of assignment, with target type CLASS=ZL_SRQM_INC_INCIDENTSRL_CN00 "

I know after generating Getter and Setter for Z fields, CL_SRQM_INC_INCIDENTSRL_CN00 now differs from ZL_SRQM_INC_INCIDENTSRL_CN00. I have copied super class of ZL_SRQM_INC_INCIDENTSRL_CN00, I changed class names from CL.. to ZL but it did not work.

How can i fix it up? Could someone help me? I need to use Getter and Setter methods of Z fields. What is your advice?

Best wishes,

Ümit Yılmaz

Former Member
Not what you were looking for? View more on this topic or Ask a question