cancel
Showing results for 
Search instead for 
Did you mean: 

Personas 3.0: How to script a call to Ctrl-F4 to exit from NWBC?

Former Member
0 Kudos

Hi,

I have a personas 3.0 app running in NWBC. I need to add a button with script to call Ctrl-F4 to exit from NWBC. Thus, NWBC stops and Ui goes back to SAP Logon GUI ( I started NWBC from inside SAPGUI).

Does anyone know hwo to script the call? Thanks.

Br

Dong Zhu

Accepted Solutions (0)

Answers (1)

Answers (1)

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

What happens if you try recording this keypress?

Former Member
0 Kudos

Hi Tamas,

I tried the script recording but I got nothing.

What I can think of, there are two ways to do:

1- Use script to call Ctrl-F4 to close down the browser.

2- Use normal HTML5 technique to close down the browser.

But I have not found a working solution yet.

Br,


Dong

0 Kudos

Hi Dong,

You should be able to record a '/nex' to the OK Code box or the Menu logoff option and assign it to a script button. Do these events close the NWBC tab?

Best regards

Kranthi

Former Member
0 Kudos

Hi Kranthi,

'/nex' does close the NWBC tabs in the browser, however, the browser is still opened with the default homepage. The best solution would be that the whole window is closed. Anyway, it is a workaround at least. Thanks.

Br,


Dong