on 07-28-2009 2:18 PM
Hi All,
I was trying to provide a hyperlink for column of ALV. i was able to bring up the hyperlink. I am trying to code into the onaction event.
on the click event i need to open up another web dynpro component in the new window(URL of the same will vary depending on the cell content).
Can you please help in understanding how i can make this happen.
Thanks,
Selvakumar M.
Hi,
Use the following piece of code,
Regards,
Radhika.DATA : lv_url TYPE string.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'COMPONENT NAME'
IMPORTING
out_absolute_url = lv_url.
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
CALL METHOD lo_window_manager->create_external_window
EXPORTING
url = lv_url
RECEIVING
window = lo_window.
lo_window->open( ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.