I am adding additional columns in a table in WDA. I am facing problem in binding that internal table containing values with the existing table
I am using BIND_TABLE() method and it is giving appropriate results first time ..
But it is giving me an error message as " invalid operand type for the move-corresponding statement in get_static_attributes() " where get_static_attributes() is a standard method, when i scroll down in the table to see entries below (since all rows are not visible in one view, I have to scroll down to see other entries)
I have attached my code below, request you to kindly review the code and suggest any changes to resolve the issue.
DATA: lo_nd_tree_nodes TYPE REF TO if_wd_context_node.
DATA it_table_data TYPE wd_this->elements_tree_nodes.
lo_nd_tree_nodes = wd_context->get_child_node( wd_this->wdctx_tree_nodes ).
lo_nd_tree_nodes->BIND_TABLE( it_table_data ). " it_table_data contains the entire table columns alongwith the added columns having data.
This error comes because the get_static_attributes() method gives structure type output but in BIND_TABLE() method i am giving input type as table bcoz BIND_TABLE() method only takes table as input. So, there is a structure mistach causing the error.
So how will i bind the table bcoz i don't have to bind a single row of a table but all the rows (for the columns added) of the entire table..
Your valuable inputs will be rewarded appropriately.
PS: We are currently working on cProject 4.5 application (WebDynpro Application)
We are using table view in cProject and want to add some additional columns in existing view.
Thanks and Regards,