on 04-21-2016 10:55 AM
Hi,
I am trying to launch google chrome browser as default while testing my WD app thorough SE80 tran.
Previous posts suggested defining the chrome as default OS browser,
but SAP does not reffering to it and launches IE instead.
So far during debugging I noticed system checks refering to the browser, as javabeans and html.
One of the tests refer to ActiveX, and after changing the return parameter from X to initial,
Chrome (as my default browser) launched.
'C_GUI_SUPPORT' and other system functions are involved during the process,but I didnt find a way
to change user parameters or other settings so activeX eill be disabled,
or bypassing the IE and launching chrome.
Someone can assist please?
Hi,
I found a way of configuration.
SAP are using shared buffer with GUI settings internal table.
Go to class cl_gui_frontend_services, look for method check_gui_support.
There you will find the feature_tab, that control the gui behavior.
2 important features controling the html display are under the saphtml component
of that table - endsessionfeature and detachurlinbrowser.
Changing those values from 'X' to initial bypass the IE hidden plugin of SE80,
and launching your OS default browser. After making this, you should export the adjusted table
to shared buffer with your own sessionID.
This change is per SAP session, meaning each time programmer connecting,
the change reset and should be repeated. By making it as BI or BG job,
the browser configuration won't be so annoying.
Hope it will help others. Thanks for the great will to help a fellow programmer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ami,
It works for me too after modifying the table, I could definitely hack the code as Frank Buchholz suggested but interested more on this, Ami could you please be more elloborate on the following "you should export the adjusted table to shared buffer with your own sessionID".
and How to save these manual steps as a BG job ?
Screenshots are greatly appreciated.
Thanks
Yes, it works fine:
Modify method CHECK_GUI_SUPPORT of class CL_GUI_FRONTEND:
[...]
*--convert inputs to lower case for conformity with xml stream-------
strcomp = COMPONENT.
strfeaturename = FEATURE_NAME.
TRANSLATE strcomp TO LOWER CASE.
TRANSLATE strfeaturename TO LOWER CASE.
*{ INSERT 1
* Hack to open standard browser (e.g. Chrome)
* when starting WebDynpro ABAP via Easy Access Menu
*
https://answers.sap.com/questions/12344953/web-dynpro-app-google-chrome-as-default-browser.html
if strcomp = 'saphtml' and (
"strfeaturename = 'endsessionfeature' or "not neccessary
strfeaturename = 'detachurlinbrowser' ).
clear result.
return.
endif.
*} INSERT
[...]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ami,
This is not an Web Dynpro configuration, this is a behavior of how SAPGUI deals with any web application.
However I could not find any way of configuring it, I will update this trend if I find any solution.
I am afraid this cannot be changed.
Regards,
Felipe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ami,
Form my knowledge, Web Dynpro applications always run on your defaults browser of your machine.
Meaning that if you make chrome your default browser it should open the applications in chrome.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.