This weblog describes how to disable the Java stacktrace in XSS (ESS/MSS) Web Dynpro applications
(environment: ERP2004 with Web Dynpro employee self services; WAS 6.40 < SP13; correctly configured NWDI to perform customer modifications)
There is a parameter DetailedErrorResponse in the ConfigTool, but is it only available with WAS 6.40 SP13 or higher.
If you use WAS 6.40 < SP12 perform the following changes to disable the Java stacktrace: There is a central component to display the messages in Development Component sap.com/pcui_gp/xssutils – component: VcDebugInfo – View: DebugInfo: UI elements labelStackTrace and exceptionStack: set visibility=NONE, then the Java stacktrace won’t be displayed in any XSS Web Dynpros.
Only the error message will by displayed after changes.