cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Web dispatcher custom error page for wrong url

former_member192181
Participant
0 Kudos

Dear All,

We have used the parameter icm/HTTP/error_templ_path=/usr/sap/**/**/data/icmerror for defining the custom error page for web dispatcher and it is working fine.

Our requirement is if any user is entering the wrong URL like http://Company.Domian.com/idsf  it should dispaly the custom error page instead of standard error page

Please help us in procedure to follow for custom error page for wrong url.

Regards,

Lalitha.

Accepted Solutions (0)

Answers (2)

Answers (2)

petr_solberg
Active Contributor
0 Kudos

Hi Lalitha,

you posted this question in two different forums.

I have locked the question thread in the other forum.

Next time, please only post questions once in one forum, otherwise the integrity

of the forums and discussions will be invalidated.

Kind regards,

Andy Silvey.

0 Kudos

Hi Lalitha,

If you have J2EE stacks in the back-end, Web Dispatcher will forward all non-ABAP requests (essentially those not starting with /sap) to the J2EE back-end. In this case, the error page is coming from the back-end, not from Web Dispatcher.

If you do not have J2EE in the back-end, the error code on Web Dispatcher side should be EDISPATCHERR, and you can define a customer error page for that.

If you want to catch all wrong URLs on the Web Dispatcher, you could define a whitelist of all allowed URLs with an authentication handler, and define a custom error page for EPERM.

Error Codes - SAP Web Dispatcher - SAP Library

icm/HTTP/auth_<xx> - SAP Web Dispatcher - SAP Library

Regards,

Tobias