on 10-24-2008 3:21 PM
Hi Frnds,
I am getting the below dump in this piece of code.
Invalid operand type for the MOVE-CORRESPONDING statement.
Can any body help me to resolve it.
method IF_WD_CONTEXT_ELEMENT~GET_STATIC_ATTRIBUTES .
field-symbols:
<values> type data.
assign me->static_attributes->* to <values>.
Dump-----> move-corresponding <values> to static_attributes.
endmethod.
Thanks
ROhit
My guess is that the variable that you supplied for the static_attributes exporting parameter doesn't match the actual structure of the content node. Therefore you are getting an incompatible move corresponding. When you declare this variable, make sure it is declared with reference directly to the element object - that way you won't get out of sync. Pay close attention to how I declared LS_SALES_ORDER in this fragment:
DATA lo_nd_sales_order TYPE REF TO if_wd_context_node.
DATA lo_el_sales_order TYPE REF TO if_wd_context_element.
DATA ls_sales_order TYPE wd_this->element_sales_order.
lo_nd_sales_order = wd_context->get_child_node( name = wd_this->wdctx_sales_order ).
lo_el_sales_order = lo_nd_sales_order->get_element( ).
lo_el_sales_order->get_static_attributes(
IMPORTING
static_attributes = ls_sales_order ).
Edited by: Thomas Jung on Oct 24, 2008 11:18 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.