Thursday, 4 July 2013

Sorry, your browser/program is not supported by Web Dynpro for IE 9

Applies to: Tested for 7.01 but applies to other versions as well.

Summary :
It has been noticed that SAP WebDynpro Java usually does not support latest versions of Microsoft Internet Explorer. This document will help you run your SAP Web Dynpro Java Applications quickly on IE 9 even after getting "Sorry, your browser/program is not supported by Web Dynpro!" message.
 
Author(s):    Amol Gupta
Company:    Pitney Bowes Software
Created on:  1 June 2012

Author Bio: Amol Gupta is working with Pitney Bowes Software as an SAP Technical Consultant. He has been working on Web Dynpro Java programming, Enterprise Portal Content Management, SAP NWDI, MDM Java API, MDM Console, MDM Data Manager and Interactive forms for WebDynpro Java.  Amol is a Sun Certified Java Programmer (SCJP) and Certified Scrum Master (CSM).
 
 
Prerequisites
The users should have knowledge of developing, building, deploying and running Web Dynpro Java Applications.

Outcome

Developers getting a "Sorry, your browser/program is not supported by Web Dynpro!" message while working with IE 9 will be able to run their Web Dynpro Java Applications on IE 9.


Problem

Developers getting a "Sorry, your browser/program is not supported by Web Dynpro!" message and not able to see their developments running in the browser.
 
sorry.jpg
NOTE : http://<hostname>:<port>/webdynpro/resources/sap.com/tc~wd~dispwda/global/noclient.htm is definitely not the URL of your Web Dynpro Java and is actually the static URL of the error page.
 

Resolution

STEP 1: Developers first need to find the correct URL of their Web Dynpro Java Application.

How to get the correct URL, potential options -
  • Ask the correct URL from your colleague
  • Run the application from NWDS on some other desktop having an older version of the IE
  • Run the application on some browser e.g. Mozilla Firefox or Google Chrome
  • In case you want to find the URL from some other Desktop not having NWDS installed on it, run the application on some other desktop by going to Server Homepage -> Web Dynpro Tools -> Deployed Content -> <Search your Project> -> Applications -> <application name> -> Run.
 
NOTE: You Web Dynpro Java Application URL should look something like this
             http://<hostname>:<port>/webdynpro/dispatcher/local/TestProject/TestApp?SAPtestId=5
 
STEP 2 : Go to IE F12 developer tools
a1.jpeg
 

STEP 3: Set the Browser mode to IE 9 Compatibility View

a2.jpg
 
STEP 4: Set the Document Mode to Quirks Mode
a3.jpg
 
STEP 5: Set the user agent string to Default
a4.jpg
 

Resolution

Now put the URL found in step 1 in the browser and hit the enter button. Developers should be able to see their applications running fine in the IE 9 browser.
 
a5.jpg
 

Abbreviations

NWDS - Netweaver Developer Studio
IE - Internet Explorer
WDJ - Web Dynpro Java
MS - Microsoft

1 comment:

  1. Nice to see this beneficial information regarding sap queries, Sap jobs with this info one can easily face minor to major technical issues.

    ReplyDelete