Skip to Content

500 Internal Server Error replaced by customised message

Hello All,

We get the standard SAP error message once an end user reaches timeout on a WD application. How can we show him a user friendly customised message? Where can we replace it? Any hints/links will be highly appreciated.

Br,

MD

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 09, 2008 at 07:54 PM

    Hi Doshi,

    We can achieve this developing a custom component which handles all the exceptions in webdynpro.

    I mentioned few links below which gives an idea how to create a custom webdynpro messages to user.

    how-to-display-custom-error-message-if-the-require

    http://help.sap.com/erp2005_ehp_03/helpdata/EN/72/1d6526263ff24995016a152705eab2/frameset.htm

    http://help.sap.com/erp2005_ehp_03/helpdata/EN/72/1d6526263ff24995016a152705eab2/frameset.htm

    http://help.sap.com/erp2005_ehp_03/helpdata/EN/72/1d6526263ff24995016a152705eab2/frameset.htm

    Thanks

    Krishna

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 09, 2008 at 06:43 PM

    Maulin,

    I am not a java developerd, but I think you can modify web.xml for the app, trap the error and point to a custom jsp. Some thing like this.

    <error-page>

    <error-code>400</error-code>

    <location>/custom.jsp</location>

    </error-page>

    -RK

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.