2010 Apr 26 9:34 AM
how to call web address in module pool programm screen, when user press the Customer Loading Profile button in module pool screen 1100, it needs to call this web address : http://intra.spoornet.co.za/newintranet/Departments/gfb_pages/default.htm/
2010 Apr 26 9:45 AM
Use the FM CALL_BROWSER and pass your URL in the URL parameter of the FM
Hope it helps.
Thaks and regards,
Anup
2010 Apr 26 10:02 AM
Hi,
in the PAI of that screen.
Data lv_href(2048) type C value ' Ur Link'.
then use this FM
CALL FUNCTION 'DSVAS_DOC_WS_EXECUTE_50'
EXPORTING
COMMANDLINE = lv_href
PROGRAM = 'iexplore'
EXCEPTIONS
FRONTEND_ERROR = 1
NO_BATCH = 2
PROG_NOT_FOUND = 3
ILLEGAL_OPTION = 4
GUI_REFUSE_EXECUTE = 5
OTHERS = 6
With Regards,
Sumodh.P
2010 Apr 26 10:04 AM
Hello,
you can try something like
--create a HTML container on your module pool screen
--create a variable and store the web address in this variable say doc_url.
--create custom container variable say my_container type ref to cl_gui_custom_container
--create object my_container
exporting
container_name = 'HTML'.
--create html controller variable say html_control type ref to cl_gui_html_viewer
--create object html_control
exporting
parent = m_container.
--then call the method show_url passing the varaibel holding the web address
-- call method html_control->show_url
exporting
url = doc_url.
Hope this helps
Regards
Sachin