Skip to Content

Improve your browser settings by following these recommendations. Microsoft Internet Explorer Specific!

Friendly Messages

Every now and then, an error message is received, which is very difficult to    understand. Effectively, all that we have to work with is the string “page cannot    be displayed”.

The more interesting aspect is the “HTTP 500” at the bottom. This is the clue that tells us the request to the server encountered a severe error, and that the server returned a response with HTTP return code 500. But usually in the response there is also an error text. So why is it not displayed?

The reason has to do with the “friendly” mode of the browser. By default, the browser prefers to give this typical page above, suppressing the real error text from the server.

Switching off the browser’s friendly mode to see the real problem text as returned by the Web server is always recommended. This can be configured via the menu entry: Tools –> Internet Options –> Advanced Tab. Clear both “friendly” checkboxes.

Thereafter, the exact text in the response will be displayed. For our example, the output was:

This is not really friendlier. The benefit is that one can now start to track the real problem.

Language Settings

Very seldom, no error message (other than the error itself) is displayed. A typical example is:

This is usually because the error message is not available in the specific language in use. (Although these cases are reduced dramatically in the lifetime of a WebAS version. It is usually only seen in the first few months of a new release.) In such cases, it is highly recommended to run the program in German once more, and return the text to SAP for translation.

To force a specific language, use the URL parameter “sap-language=DE”, or change the browser language settings. This can be done via the menu entry: Tools –> Internet Options –> General Tab –> Languages button.

Java Script Errors

Java Script errors happen quite often, especially during development. Even in productive use, there are a number of reasons for these script errors to occur. Typical things that we have observed in the past are an obscure gzip compression error which corrupts *.js files, or inactive ICF nodes (from transaction SICF), and therefore the Java Script files are not loaded.

In the browser, error conditions are displayed in the status bar.

As a general troubleshooting approach, you should always request that all Java Script errors be displayed. Also request that when an error occurs, the Java Script debugger is started. In this case, the debugger will show the relevant code immediately, and it is much easier to identify the problem.

These settings can be made via the menu entry: Tools –> Internet Options –> Advanced Tab. Clear “disable script debugging” checkbox and enable the “display script error notification” checkbox.

We also recommend installing a Java Script debugger. A lean version can be downloaded from Microsoft. If the debugger is installed, the correct relevant source line where the error occurred is displayed. On the Microsoft website www.microsoft.com, in the Download Section, search over all products with the keywords “script debugger” (NB: not “Java Script”!).

Browser (and Server) Cache

For performance, resources such as *.css and *.js files are cached in both the browser and the server. However, sometimes one suspects that the current files in use are not the correct versions, especially if a small modification has just been made on the server. In such cases, it is highly recommended to flush both the browser and server caches. Both can be done without any negative consequences!

To flush the browser cache, use the menu entry: Tools –> Internet Options –> General Tab –> Delete Files button.

On the server, the cache can be flushed with transaction SMICM. Use menu entry: Go To –> Server Cache –> Invalidate.

References

OSS/CSN Note 529793 (Missing text in Internet Explorer browser).

Chapter Recommended Browser Settings in SAP documentation.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. Sergio Ferrari
    I discovered that IE6.x comes with a default options that is not appropriated to HTMLB (expecially tableViews).

    I suggest to go to the Tools menu and to
    select Internet Options.
    On the General tab click the Settings button in the Temporary Internet Files section.
    The Settings dialog box will opened.
    At the top of this box you’ll see Check for newer versions of stored pages with some options.
    I think that the second one is the right one for HTMLB.

    HTMLB’stylesheets, scripts and images are then retrived once and so many HTTP 304 will be avoided.

    Sergio
    P.S.
    [if I’m right you should give me many points]

    (0) 
  2. Sergio Ferrari
    I tuned a great productive B2B Portal that I developed making use of HTMLB.
    Business partners connect via Internet under HTTPs  (server side certificate).
    I discovered so many HTTP 304 status in the HTTP log (smicm) concerning HTMLB mimes.
    Setting Internet Explorer in a non default way the performance of my portal increased really so much.
    Try:
       Tools –> Internet Options –> General Tab –> Settings -> Check  the option: Every time you start Internet Explorer

    If I am right you should give me a lot of points….
    Follow examples of HTTP 304 that can be easly avoided:

    GET /sap(bD1lbiZjPTk5OQ==)/bc/bsp/sap/SBSPEXT_HTMLB/header_notch.gif HTTP/1.1″ 304 –
    GET /sap(bD1lbiZjPTk5OQ==)/bc/bsp/sap/SBSPEXT_HTMLB/customer_logo.gif HTTP/1.1″ 304 –
    GET /sap(bD1lbiZjPTk5OQ==)/bc/bsp/sap/SBSPEXT_HTMLB/customer_brand_image.jpg HTTP/1.1″ 304 –
    GET /sap(bD1lbiZjPTk5OQ==)/bc/bsp/sap/SBSPEXT_HTMLB HTTP/1.1″ 302 0
    GET /sap(bD1lbiZjPTk5OQ==)/bc/bsp/sap/SBSPEXT_HTMLB/default.htm?sap-sessioncmd=open HTTP/1.1″ 302 0
    GET /sap(bD1lbiZjPTk5OQ==)/bc/bsp/sap/SBSPEXT_HTMLB/default.htm HTTP/1.1″ 200 2340
    GET /sap(bD1lbiZjPTk5OQ==)/bc/bsp/sap/SBSPEXT_HTMLB/about.htm HTTP/1.1″ 200 1920
    GET /sap(bD1lbiZjPTk5OQ==)/bc/bsp/sap/SBSPEXT_HTMLB/header.htm?sap-htmlb-design= HTTP/1.1″ 200 8831
    GET /sap(bD1lbiZjPTk5OQ==)/bc/bsp/sap/SBSPEXT_HTMLB/default_menu.htm?sap-htmlb-design=&themeRoot=sap_tradeshow HTTP/1.1″ 200 45476
    GET /sap(bD1lbiZjPTk5OQ==)/bc/bsp/sap/SBSPEXT_HTMLB/BreadCrumb.bsp?sap-htmlb-design= HTTP/1.1″ 200 13981
    GET /sap(bD1lbiZjPTk5OQ==)/bc/bsp/sap/SBSPEXT_HTMLB/header_notch.gif HTTP/1.1″ 304 –
    GET /sap(bD1lbiZjPTk5OQ==)/bc/bsp/sap/SBSPEXT_HTMLB/customer_brand_image.jpg HTTP/1.1″ 304 –
    GET /sap(bD1lbiZjPTk5OQ==)/bc/bsp/sap/SBSPEXT_HTMLB/customer_logo.gif HTTP/1.1″ 304 –
    GET /sap(bD1lbiZjPTk5OQ==)/bc/bsp/sap/SBSPEXT_HTMLB/TableView.bsp?sap-htmlb-design=DESIGN2003 HTTP/1.1″ 200 17399
    GET /sap(bD1lbiZjPTk5OQ==)/bc/bsp/sap/SBSPEXT_HTMLB/TableView.bsp?sap-htmlb-design=DESIGN2003 HTTP/1.1″ 200 17399

    Bye,
    Sergio

    (0) 

Leave a Reply