Skip to Content
0
Former Member
Oct 28, 2010 at 11:40 AM

Internal Table Data Process

14 Views

Hi,

I am trying to move corresponding data of one context node data into another table context node

and getting the below error. could you pls let me know whts wrong with the below code.

Error:-LS_CREATE is not a structure or internal table with header line.

DATA lo_nd_create TYPE REF TO if_wd_context_node.

DATA lo_el_create TYPE REF TO if_wd_context_element.

DATA lt_create TYPE STANDARD TABLE OF wd_this->elements_create.

DATA ls_create TYPE wd_this->elements_create.

DATA lt_submit TYPE STANDARD TABLE OF wd_this->elements_submit.

DATA ls_submit TYPE wd_this->elements_submit.

*Get the inputs of the ALV Table.

lo_nd_create = wd_context->get_child_node( name = wd_this->wdctx_create ).

lo_nd_create->get_static_attributes_table(

importing

table = lt_create ).

LOOP AT lt_create INTO ls_create.

MOVE-CORRESPONDING ls_create TO ls_submit.

APPEND ls_submit TO lt_submit.

ENDLOOP.

Thanks,

vind