cancel
Showing results for 
Search instead for 
Did you mean: 

Error moving from one tab to another

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Solved.

Former Member
0 Kudos

Hi Neha,

I am also getting the same problem. Could you please tell me which component you have missed to include?

thanks in advance.

Edited by: madhavan.jan10 on Mar 8, 2012 9:58 AM

Former Member
0 Kudos

Hi,

I was having the same issue and I solve it implementing the following interfaces:

/SAPSRM/WDI_L_FPC_GENERAL

IF_FPM_UI_BUILDING_BLOCK

Regards,

Lisandro

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

Solved by myself.

Some component which were to be included was missing.

Thanks a lot for your help.

Neha