on 01-20-2011 8:04 AM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if above thing doesnt work then try reading lo_el_set as table operation.....this way also prob can be solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the prob is with this:
CALL METHOD lo_el_set->get_static_attributes
IMPORTING
static_attributes = ls_testerlist.
try usin get_attribute method for each attribute in the node....i think the prob wil b solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.