cancel
Showing results for 
Search instead for 
Did you mean: 

MOVE-CORRESPONDING Error in Method get_static_attributes Urgent

rahul_navandar1
Explorer
0 Kudos

Hi All,

I am getting the following error,

<b>Invalid operand type for the MOVE-CORRESPONDING statement.</b>

FYI, I have done following things,

Context - > node_pip -> changing -> pip_compl_data -> and 3 attributes

DATA: lr_node TYPE REF TO if_wd_context_node,

lr_element TYPE REF TO if_wd_context_element,

lr_stru_import TYPE if_searchview=>element_pip_compl_data ,

lt_compl_data TYPE zwy_sv_pip_compl_data.

lr_node = wd_context->get_child_node( 'NODE_PIP' ).

lr_element = lr_node->get_lead_selection( ).

lr_element->get_static_attributes(

IMPORTING static_attributes = lt_compl_data1 ).

But i am not getting any value in lt_compl_data. Infact it gives a error.

PLEASE HELP... ITS URGENT.

Accepted Solutions (0)

Answers (3)

Answers (3)

Yashpal
Active Contributor
0 Kudos

Hi ,

this problem is due to the differance in structure of node and the variable used to get the static attributes.. i.e lt_compl_data1. this dump is coming from the standard method..... so declare the lt_compl_data1 same as the structure of the node...

Regards

Yash

Former Member
0 Kudos

I also met the problem , have you got the answer ?

Regards ,

former_member182372
Active Contributor
0 Kudos

Rahul, lt_compl_data1 is not declared... And where is actually move-corresponding statment?

rahul_navandar1
Explorer
0 Kudos

sorry, it should be lt_compl_data1. When we call method get_static_attributesit gives an exception.

karsten_heth
Active Participant
0 Kudos

Hi Rahul,

you should use the code wizard to access the node 'pip_compl_data'. Something is wrong with your path to the element because you are not navigating via 'changing' and 'pip_compl_data'.

Regards,

Karsten