CX_SY_MOVE_CAST_ERROR - Source type CLASS=CL_SRQM_INC_INCIDENTSRL_CN00 is
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?