Hello All,
I am calling a web dynpro application from ITS but not sure how to go back to ITS application when i clicked on "BACK" button on Webdynpro application .
Can anyone please let me know how can I go back to ITS screen when click on back button from WebDynpro? Please provide me sample code if there is any.
I was trying to use below code but it will open a new external window but I want to go back to the same ITS application instead of opening a new window when I click on 'BACK" button from WD Application.
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.
data: ld_url type string.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
ld_url = 'http://www.sapdev.co.uk/sap/bc/bsp/sap/zew_print/print.htm?dataid=12345'.
CALL METHOD lo_window_manager->CREATE_EXTERNAL_WINDOW
EXPORTING
URL = ld_url "'http://www.sapdev.co.uk'
RECEIVING
WINDOW = lo_window.
lo_window->open( ).
Points will be rewarded.
Thank You.
Shyam