cancel
Showing results for 
Search instead for 
Did you mean: 

Custom error page for Web Dynpro Java on CE (Composition Environment) 7.1.1

Former Member
0 Kudos

Hi,

We have a requirement to show custom error page when a web dynpro Java application issues an exception. By default a standard SAP error page (internal error 500) is displayed.

I went through most of the threads posted upon this topic and found out: it is not possible in NW04 or NW04s to have custom error pages for webdynpro Java ([;).

How is now the case for CE 7.1.1? Did SAP provide a mechanism on how to customize a own web dynpro error page on CE 7.1.1? In the NWA (NetWeaver Administrator) -> Configuration Management -> Application Modules -> select the web module webdynpro/resources/sap.com/tcwddispwda, there are two places where we may have access to error pages:

1. Within the tab "Web Dynpro Properties" there is a propertiey sheet "errorPages"

2. Direct in the tab "Error Page" of the web module details

However I could not find any useful information regarding what these options mean and how to configure them. Has anybody implemented this or any suggestions?

Thanks and regards

Di

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Looking for an answer to whether custom error pages in web dynpro are possible in Portal 7.1 or 7.3? and how?

former_member185086
Active Contributor
0 Kudos

Hi

We do not have this provision for customize message in seperated page as we have in JSP , one workaround we can follow which seems like real.

1. A seperate view with some static information + some dynamic information this dynamic content will coome by looging API or your own customize exception API (if any) and we pass these value through PLUGS.

Second solution could be

2. Create a web appliation which contain your ErrrorPage deploy it in same server (It basically a portal app),

Now through suspended plugs we can call this web app to display error and come back to our WD app.

First solution is more fesible and doesn't voilate any property of WD compare to second because navigation to and fro will be more pathetic fro user in Web app to WD .

Best Regards

Satish Kumar