Skip to Content
0
Jan 20, 2011 at 08:04 AM

error with move corresponding statement of inbuilt method

158 Views

Hi everyone,

I am facing problem when I loop for the second time in the pseudocode placed below-

CALL METHOD lo_nd_node_admin->get_selected_elements

EXPORTING

including_lead_selection = abap_true

RECEIVING

set = lt_set.

LOOP AT lt_set INTO lo_el_set.

IF NOT lo_el_set IS INITIAL.

CALL METHOD lo_el_set->get_static_attributes

IMPORTING

static_attributes = ls_testerlist.

-


-


endloop.

For the first time with in the looping, the method get_static_attributes works fine and I am able to see the resulting information in the structure ls_testerlist.

But when the loop is executed for the second time, I get an error message[Dump] as

"Invalid operand type for the MOVE-CORRESPONDING statement".

Can anybody please guide me, as what is going wrong here.

Best regards,

Roopesh