on 11-25-2009 2:05 PM
Hello Experts,
I have a requirement where I have to launch a BSP Apllication in a Report Program. I am completely new to BSP. Can anyone provide a sample code of how to call the application.
Thanks in advance!
Regards,
Kanika Chopra
You can use this where lv_open_url is the url of bsp page...
Call Browser
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_open_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.
Hi Kanika,
with "CALL_BROWSER" you can open a webbrowser with url from the SAPGUI
call function 'CALL_BROWSER'
exporting
url = lv_url
* BROWSER_TYPE =
* CONTEXTSTRING =
exceptions
frontend_not_supported = 1
frontend_error = 2
prog_not_found = 3
no_batch = 4
unspecified_error = 5
others = 6.
best wishes,
Hakan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.