Skip to Content
Sep 15, 2014 at 02:43 PM

SAPUI5 page giving trouble in IE9 without developer tools



I have been working on a PP cockpit in SAPUI5 that gets its data from a standalone MII server (with some additional transactions that call ECC RFC functions).

All went good and I ended up with e neat looking cockpit with all required functionality (thusfar 🤪).
Today I was testing the cockpit from a terminal where it will be used and ran into a strange problem.

Case 1:

When starting the index page of the cockpit (this is an irpt page).
When starting the irpt page it gets loaded and I can see what I expected to see, however when an action is performed like pushing a button or so it does not work.
For instance: when selecting a production line, the orders for that line should be loaded from MII by using an ajax call.
The ajax call seems to be instantiated as the "beforeSend" action is executed, visualizing a loading gif.
After that nothing seems to happen anymore.

This issue occurs with every ajax call and messes up all the functionalities.

The browser this problem occured with was IE9.
The required <meta http-equiv="X-UA-Compatible" content="IE=edge"> is present in the head section.

Case 2:

Now for the strange part: when I do exactly the same in the same browser with the developer tools of the browser opened (console, networking etc) it works perfectly.
Now closing the developer tools of the browser again does not affect it to work perfectly.
When the browser is closed and opened again without the developer tools it doesn't work as in the first case.

Does anyone know what the possible problem is and how it can be solved.
I don't want the end user to have to open the developer tools of the browser to make it work 🤪

It also runs perfectly in any of my PCs browsers FF32, GC37, IE11.
And all tests where performed in a live environment from the MII server, the time of local tests has long passed.