Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Call a URL on click of a button

$
0
0

Hi Experts,

 

I am new to Webdynpro. Your support required.

The requirement is to go to a link on call of a button. I have found my links on the same and the code is working fine.

 

   data lo_api_component type ref to if_wd_component.

   data lo_window_manager type ref to if_wd_window_manager.

   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            = 'http://www.google.com'

     receiving

       window         = lo_window.

 

     lo_window->open( ).


I want to learn how to call the above code from wizard/pattern?




Regards

Mani


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>