cancel
Showing results for 
Search instead for 
Did you mean: 

WebGui disable Browser Symbol

silke_kubelka2
Explorer
0 Kudos

Hello !

How I can fade the Browser Symbol borders ?

With the old ITS i write a JavaScript in login..html

<script language="JavaScript">

function openZK2() {

F1= window.open('https://www.xx.de/scripts/wgate/webgui/!', 'ZK2', 'location=no, menubar=no, resizable=yes, toolbar=no')

}

</script>

Thanks,

Silke

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member228142
Active Contributor
0 Kudos

Hi Silke,

you can do it the same way. You just have to adapt the URL to integrated ITS.

Best regards,

Klaus

silke_kubelka2
Explorer
0 Kudos

Hello !

How and where do I make that?

Thanks, Silke

former_member228142
Active Contributor
0 Kudos

Hi Silke,

you may do it this way:

1.) Create a service using SICF i.e. my_webgui under default_host/sap/bc/gui/sap/its

2.) add a dummy handler on Handler List tab i.e. CL_HTTP_EXT_ITS

3.) go to tab "Error pages" and create a body page with the code that opens the window without browser decoration. In my test case I used:

<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0"><script> var date, GUID = ""; date = new Date(); GUID = ""+date.getHours() + date.getMinutes() + date.getSeconds(); webguiWindow=window.open('/sap/bc/gui/sap/its/webgui',GUID ,"locati on=no,menubar=no,toolbar=no,status=no,resizable=yes,scrollbars=yes"); webguiWindow.focus(); close();</script></body>

4.) save the service and test it.

To make this work user have to allow to open popups for the SAP webas server host.

Hope that helps.

Best regards,

Klaus

junmei
Participant
0 Kudos

Dear

I created the service z_webgui via transaction SICF.

When I do the TEST SERVICE it works fine, but when I call it from the browser

http://sapdevqa.imec.be:8000/sap/bc/gui/sap/its/z_webgui?sap-client=200&sap-language=EN&~transaction...

then i got the error that the template does not exist.

What should we do?

Best regards

Luc

Former Member
0 Kudos

Hi Klaus,

I've tested this procedure, it's working fine...but when starting the URL, I got a pop up to close a window "the webpage you are viewing is trying to close the window. Yes or No" I've tried to adapt the code with self.close()...but without success, have you a idea ?

Regards,

Jade