on 04-19-2011 2:23 PM
Hi,
I am getting following error when i move from one tab to another.
MOVE_CAST_ERROR
Dynamic type conflict when assigning references
Method: OVERRIDE_EVENT_VIEW_SWITCH of program /SAPSRM/CL_FPM_OVRIDE_OIF=====CP
Regards,
Neha
Solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As the error suggest that you are trying to assign a object of different type to a variable. Find out the line of the error using st22 transaction and see what is being assigned to what.
Post the code here where error happens. May be we could tell what is going wrong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Here is the code which is giving error
55 LOOP AT lt_uibb INTO ls_uibb .
56 ls_config_key-config_id = ls_uibb-config_id .
57 * ls_config_key-config_type = ls_config_key-config_type .
58 * ls_config_key-config_var = ls_config_key-config_var .
59
60 IF ls_uibb-component NE 'FPM_TABBED_UIBB'.
61
62 CALL METHOD mo_fpm_comp_manager->get_component_interface
63 EXPORTING
64 iv_component_name = ls_uibb-component
65 is_config_key = ls_config_key
66 RECEIVING
67 ro_component_interface = lo_component_interface.
68
>>>>> lo_comp_ctr_general ?= lo_component_interface .
70 IF lo_comp_ctr_general IS NOT INITIAL . "Call L_FPC_GENERAL G
71 mt_mappers2deactivate = lo_comp_ctr_general->l_fpc_general_
72 ENDIF.
73 ELSE.
74 *** Handle the VIEW SWITCH OF A TAB-STRIP COMPONENT
75 CALL METHOD /sapsrm/cl_fpm_ovride_tab=>get_instance
76 IMPORTING
77 eo_instance = lo_instance.
When i debug this is what i get the value for lo_component_interface
Please let me know if you can suggest anything.
Regards,
Neha
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.