cancel
Showing results for 
Search instead for 
Did you mean: 

SAPWebdispatcher with own errorpage?

heiko_feisel
Explorer
0 Kudos

Hi together,

in our company we have a lot of Portals with sapwebdispatcher.

The users don´t understand Errors like "500 Dispaching Error".

Is it posible to change these pages or link to own pages (html, xml, ...)

Thank you for any support!

Great regards,

Heiko

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Yes, it is possible.

You use this parameter icm/HTTP/error_templ_path

and you create a file ICMERR-EDEFAULT.html

Check [Setting Up Your Own Error Pages |http://help.sap.com/saphelp_nw70/helpdata/EN/b4/85cd17dbc04f5c8d5069e021595e6f/content.htm]

Regards,

Olivier

heiko_feisel
Explorer
0 Kudos

Many thanks for your answers!

Sorry Tobias, it is a JAVA-Stack (only Portal).

Regards,

Heiko

heiko_feisel
Explorer
0 Kudos

Mh, I was to fast!

I want to show a own errorpage on the Error "500 Dispatching Error".

But it seems, that the settings don´t work.

Maybe because the component is here HTTP_ROUTE not ICM!?

Any idea?

Regards,

Heiko

Former Member
0 Kudos

Hi,

Did you create a ICMERR-500.html file in the directory defined in the parameter

icm/HTTP/error_templ_path on the web disptcher host ?

Just to be sure, you created this icm/HTTP/error_templ_path parameter in the web dispatcher profile file (sapwebdisp.pfl usually) not in RZ10 of your abap stack system, right ?

Regards,

Olivier

heiko_feisel
Explorer
0 Kudos

Hi Oliver,

I created a file with name ICMERR-500.html in the /tmp directory.

I have set the profile parameter icm/HTTP/error_templ_path in sapwebdisp.pfl to /tmp.

But I just have a JAVA stack, so no RZ10!

Regards,

Heiko

martin_voros
Active Contributor
0 Kudos

Hi,

you need to restart ICM. Have you done it? Here is quote from SAP documentation

For reasons of performance, the ICM or Web dispatcher checks once the error templates that are available. This is why you must restart the ICM if you add new templates (changes to the templates are recognized). You can use the Web Administration Interface to restart the web dispatcher, or the ICM monitor to restart the ICM (Transaction SMICM) (see Monitoring the ICM Using the ICM Monitor).

Cheers

Former Member
0 Kudos

Hi,

Yes, you need to restart not the ICM but the SAP Web dispatcher because the OP dose not have an abap stack !

Regards,

Olivier

heiko_feisel
Explorer
0 Kudos

Hi,

of course I have restarted the dispatcher after it.

But no effect!

Any ideas?

Regards,

Heiko

Former Member
0 Kudos

Hello Heiko,

I would increase the trace level and check the trace file after a test...

Regards,

Olivier

heiko_feisel
Explorer
0 Kudos

How can I do this?

In the sapwebdisp.pfl file?

Former Member
0 Kudos

Yep !

Check parameter icm/log_level

Olivier

heiko_feisel
Explorer
0 Kudos

Ok, I set the parameter, but no effect.

I´m not able to diplay the own errorfile.

Any other ideas?

-Heiko-

Former Member
0 Kudos

Hi,

The parameter is not supposed to solve your problem but to help you to analyse what's going on.

Did you check the trace file ? Did the prameter increase the trace level ?

Regards,

Olivier

heiko_feisel
Explorer
0 Kudos

Sorry, of course I´ve checked the tracefile, but there wehre no more infos.

I tried different levles of log.

-Heiko-

Former Member
0 Kudos

Well,

In that case the last resort is to open an OSS message to SAP...

Regards,

Olivier

Former Member
0 Kudos

hi,

If you are using an ABAP Stack you can define individual error pages in transaction " sicf ".

Just press the execute button, choose the webservice in which you want to define an errorpage, double click it, switch to the error page flag. Here you can define your errorpages.

Hope this helps

regards

Tobias