Skip to Content
avatar image
Former Member

Customization of 500 internal server error


I have a requirement for customizing the 500 Internal server error page ( the page when we gets Null pointer Expetion or etc).

Can you tell me how can we achieve this.. Note that we need to do this for webdynpro Java errors.


Raju Bonagiri

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 21, 2010 at 10:28 AM

    Hi Raju,

    Can you please let me know, what's version of your NWDS using, most likely "Customization of 500 internal" error be available only later version of 7.3.

    To customize error message check this SAP note : 795699



    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ervin

      Yes, I have update as this is known blog that will help to do the error page custmization in the portal.

      This blog also includes other SAP notes that will definetly helps in some way.

      Thanks for the information.


      Arun Jaiswal

  • Sep 21, 2010 at 09:38 AM


    Instead of changing the 500 internal error page. you can catch the exception using the try catch block and collect the exception

    information (details ) as logs in the server.

    and stop the page to be displayed instead just display one error message which will say womething like "please contact administration"


    Sarbjeet Singh

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 21, 2010 at 09:57 AM

    Dear Raju,

    I regret to inform you that this is not possible on 640/700. In general, this solution is available only for Business By Design, and most likely it'll be available only later for 7.30, but no plans are available currently. Perhaps it'll be downported to 7.20 but I cannot state this as an official statement either.

    Officially this feature is not yet supported.

    Default HTTP messages can be changed, but not the ones coming from the WD Runtime.

    See the note for HTTP messages: Note: #795699 - Customizing default error messages for HTTP (from BC-JAS-WEB)

    On WD Runtime you can switch off displaying the complete stack trace, but one cannot change it, see:

    Note: #962319 - Detailed error messages with stack trace in Web Dynpro

    Best Regards,

    Ervin (SAP)

    Add comment
    10|10000 characters needed characters exceeded