cancel
Showing results for 
Search instead for 
Did you mean: 

Launch BSP Application using Report Program

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

robert_kunstelj
Active Contributor
0 Kudos

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( ).

former_member1055365
Participant
0 Kudos

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