Skip to Content
0
Jul 24, 2009 at 01:25 PM

User friendly message displayed only when session timeouts occur ?

259 Views

Hello,

As the sap basis guy, I have been asked to find a way to replace the standard error message displayed when webdynpro session timeout occur by a more user friendly error message.

The thing is, that only the timeout errors should be tracked and replaced by the customer specific message, in others words we do not want that short dumps errors would be intererpreted as timeout.

At first , I thought that we could use the error page tab in transaction SICF using an explicit response page written in HTML.

But apparently, you can not distinguish different application errors using this features.

All the application errors (abap short dumps, WD timeouts, ...) would be interpreted as error "HTTP 500" and thus it is not possible to display a specific html error message ONLY for time outs errors.

Are you ok with this last statement ? Is there another way to handle timeout error message ?

Thank you very much for your attention and your help.

Best Regards.

SAP release : ECC6 SP12

Here is the standard error message :

Error when processing your request

Note

The following error text was processed in the system 000: User session (HTTP/SMTP/..) closed after timeout

The error occurred on the application server and in the work process 0 .

The termination type was: ERROR_MESSAGE_STATE

The ABAP call stack was:

Method: HANDLE_REQUEST of program CL_WDR_UCF====================CP

Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP

Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP

Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME

Module: %_HTTP_START of program SAPMHTTP

What can I do?

If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system 000 in transaction ST22.

If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server

Error code: ICF-IE-http -c: 400 -u: user-l: E -s: sid-i: 0000000000 -w: 0 -d: 20090724 -t: 150537 -v: ERROR_MESSAGE_STATE -e: User session (HTTP/SMTP/..) closed after timeout

HTTP 500 - Internal Server Error

Your SAP Internet Communication Framework Team

Edited by: Raoul Shiro on Jul 24, 2009 3:38 PM