cancel
Showing results for 
Search instead for 
Did you mean: 

Launch new web browser during webGui transaction

BrianVanderwiel
Participant
0 Kudos

Question:

Is there as easy way to launch a new web browser window (IE) during a webGUI transaction (from the ABAP code).

Background:

We have a transaction linked to a simple ABAP report that is launched from a web based non-SAP reporting tool via the ITS (webGUI based). The user would like to click a link (hotspot) in the ABAP report that would launch a new IE window passing a URL and parameters.

What I've already tried:

I tried inserting and running Javascript in the ABAP but the my basic window.open code did nothing. Also noticed that SAPHTML_DEMO1 will work during a webGUI transaction, but would prefer a new window.

Basis 620

Thanks,

Brian

Accepted Solutions (0)

Answers (1)

Answers (1)

BrianVanderwiel
Participant
0 Kudos

Turns out this is simple:

call function 'ITS_BROWSER_WINDOW_OPEN'

exporting

url = $url

exceptions

its_not_available = 1

others = 2.

athavanraja
Active Contributor
0 Kudos

though this is the best one as you are working with ITS you can also use call_browser FM.

Regards

Raja