Hi,
I need to create some links dynamically.
Below is my code... but I need to know instead of multiple steps.. is there a way to create dynamic elements together using one method itself.... or once i create the elements can i embed all these links together in the view?
lr_lta = cl_wd_link_to_action=>new_link_to_action(
id = 'LNK_CREATE'
on_action = 'ON_NAVIGATE'
text = 'Create'
view = lr_view ).
cl_wd_matrix_data=>new_matrix_data( element = lr_lta ).
lr_container->add_child( the_child = lr_lta ).
lr_lta = cl_wd_link_to_action=>new_link_to_action(
id = 'LNK_HISTORY'
on_action = 'ON_NAVIGATE'
text = 'Hitory'
view = lr_view ).
cl_wd_matrix_data=>new_matrix_data( element = lr_lta ).
lr_container->add_child( the_child = lr_lta ).
Any help will be grateful.
Regards and Thanks
Tenzin