cancel
Showing results for 
Search instead for 
Did you mean: 

Webdispatcher - Customer Error Page

Private_Member_19084
Active Contributor
0 Kudos

Hi experts,

I would like to customize my own error pages on SAP webdispatcher.

Therefore I did maintain the parameter icm/HTTP/error_templ_path with the directory, where the .html files are.

I've created just own page, ICMERR-EDEFAULT.html.

I did also restart the webdispatcher.

However, I still get the SAP error pages and not my custom one.

We are using 7.40.

Thx for any help.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi Christian,

Please paste error page

Regards,

Dhuvaraganathan M.

Private_Member_19084
Active Contributor
0 Kudos

For example the following 2 screens:

prashb
Participant
0 Kudos

Hi Christian,

If you use the Internet Explorer Web browser, the option Show friendly HTTP messages must be deactivated. You can set this from the menu: Tools Internet Options Advanced under Browsing

Regards

Prashanth

Former Member
0 Kudos

Hi Christian,

Ref this documents

http://scn.sap.com/people/hussain.sehorewala/blog/2010/03/29/custom-error-messages-using-sap-web-dis...

Hope it helpful for you.

Regards,

Dhuvaraganathan M.

Private_Member_19084
Active Contributor
0 Kudos

Hello Prashanth,

I've already checked the option but it seems as I made an mistake before.

Now it works, when I deactivate that function.


But I think this config is in IE-Default settings, so it does not really make sense to create a custom error page or?

Kind regards

prashb
Participant
0 Kudos

By default the option is deactivated, which is exactly what we need. Yes, it's good to have this kind of message when your taking backend system down for maintenance.

Regards,

Prashanth

Private_Member_19084
Active Contributor
0 Kudos

Hello Prashanth,

I doubt that.

I have IE 9 and checked it. I did go to the option and did reset the enhanced-options.
And the friendly messages is checked.

Kind regards

prashb
Participant
0 Kudos

Hi Christian,

Below link shows one of trick to overcome checked "show friendly error message" option

http://blogs.msdn.com/b/ieinternals/archive/2010/08/19/http-error-pages-in-internet-explorer.aspx

"Of course, it is impractical (and not necessarily desirable) to reconfigure IE on all client machines, so most servers that wish to ensure that users will see a given HTTP error message will pad the response with spaces or other characters until the response body length exceeds 512 bytes"

Regards

Private_Member_19084
Active Contributor
0 Kudos

Oh man, thank you very very much.

Thats the solution, which is simple.

The content must be a bit more

"The HTTP Response body’s byte length must be shorter than a threshold value"

For testing I just entered a small value into the .html page.

But now I entered a lot of content and it works.

Thank you so much.

Answers (1)

Answers (1)

0 Kudos

Hi Christian,

The error pages on Web Dispatcher are really only for errors that occur right on the Web Dispatcher, e.g. error 500 when dispatching not possible because no app server available.

All errors that come from the back-end (such as session timeouts, page not found, etc) are not intercepted by the Web Dispatcher. You need to customize those error pages in the back-end.

Best,

Tobias

Private_Member_19084
Active Contributor
0 Kudos

Hello Tobias,

thank you. But if the backend is not available or the page is not allowed it should occur, right?
But this also does not happen.

Further I get an 500, but the standard and not the custom one.

Kind regards