Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Get the values into a table from a dynamic node

$
0
0

Hi Experts,

 

I am not able to get the values into the table from a dynamic node. I searched a lot but couldn't find any solution.

 

I am doing this way:

 

*accessing the data from attribute for table content
lt_restab = wd_this->GT_DYN_TBL.
**--assign reference of internal table to field symbols.
   ASSIGN  lt_restab->* TO  <lt_dyn_tbl>.
   refresh <lt_dyn_tbl>.

 

lv_dyn_node_name = 'NODE_DYN_FORM_TAB'.
lo_nd_dyn_node = wd_context->get_child_node( name = lv_dyn_node_name ).
lo_nd_dyn_node->get_static_attributes_table( IMPORTING table = <lt_dyn_tbl> ).


It is throwing dump:

Error Text

OBJECT_NOT_STRUCTURED

Invalid operand type for the MOVE-CORRESPONDING statement.

 

Because im using filed catalog to build dynamic structure(GT_DYN_TBL). It is adding line as first field. but my node doesnot have that.

 

please help me find right solution.

Thanks


Viewing all articles
Browse latest Browse all 3667

Trending Articles