Skip to Content
1
Dec 06, 2011 at 10:20 AM

Problem in dynamic ALV

34 Views

Hi experts,

i am facing problem in Dynamic ALV.

I am having data in a dynamic node .

when am trying to pass the same node to the ALV am not getting the data,

code as below :

 

dyn_node = wd_context->get_child_node( name = 'TEST_BLOCK' )

 DATA: l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
  l_ref_cmp_usage =   wd_this->wd_cpuse_alv( ).
 IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
   l_ref_cmp_usage->create_component( ).
 ENDIF.
** Pass context node to ALV
 DATA: l_ref_interfacecontroller TYPE REF TO iwci_salv_wd_table .
 l_ref_interfacecontroller = wd_this->wd_cpifc_alv( ).
  l_ref_interfacecontroller->set_data( dyn_node )


"dyn_node" is having data in it..
.

Help me in this....

Thanks

Aisurya