on 01-20-2012 4:21 PM
Hi experts,
I get the error "Invalid operand type for the MOVE-CORRESPONDING statement "
when bind_table method is executed
DATA lo_nd_flightinfo TYPE REF TO if_wd_context_node.
DATA lo_el_flightinfo TYPE REF TO if_wd_context_element.
DATA ls_flightinfo TYPE wd_this->Element_flightinfo.
DATA lo_nd_flighttab TYPE REF TO if_wd_context_node.
data : itab TYPE wd_this->Elements_flighttab.
.
navigate from <CONTEXT> to <FLIGHTINFO> via lead selection
lo_nd_flightinfo = wd_context->get_child_node( name = wd_this->wdctx_flightinfo ).
lo_el_flightinfo = lo_nd_flightinfo->get_element( ).
@TODO handle not set lead selection
IF lo_el_flightinfo IS INITIAL.
ENDIF.
get all declared attributes
lo_el_flightinfo->get_static_attributes(
IMPORTING
static_attributes = ls_flightinfo ).
select * from sflight into corresponding fields of table itab where carrid = ls_flightinfo-carrid and connid = ls_flightinfo-connid.
lo_nd_flighttab = wd_context->get_child_node( name = wd_this->wdctx_flighttab ).
lo_nd_flighttab->bind_table(
new_items = itab ).
Hi hema s,
I have similar problem. Would mind sharing the solution that you use to solve this problem?
Thanks,
Punleu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Experts,
Can you please share me the document to resolve the issue , because I am occurring the same issue.
Its urgent , please help me out and share me the doc to smb1983@gmail.com
Advance thanks for your support.
Regards,
Mahaboob Basha
solved myself
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The itab you have declared must be 'TYPE TABLE OF'.
data : itab TYPE TBALE OF wd_this->Elements_flighttab.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.