on 10-28-2014 10:44 AM
These error information will be displayed from
Stadard Class : CL_WDR_CLIENT_ABSTRACT_HTTP
Mehtod : PREPROCESS_REQUEST.
With the information some technical information is also showing in the error like short dump information.
The new more user friendly version should cover the following requirements
Symbol of a clock (for timeout message)
Small and standard info text what the user should do to continue working
Message Timeout Please refresh your browser to continue working”
How to achieve the above requirement?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sekhar,
You can also directly write code inside the standard method using implicit enhancement but separating code is better always and also consider that this is standard method which executes for all other components as well.
Create an html code page where you embed the CLOCK image and copy paste the code as suggested in the document.
Image can be embedded either using web URL or by using MIME repository path ( i.e. upload an image to mime repository and use the path)
Hope this helps you.
Regards,
Rama.
Hi Rama,
Thanks for your assistanse,
Like time out i am getting the one more dump for custome code , With meesage information i am getting some technical information like short dump.
Cold you please help me to how to handle the error message in webdynpro. with out technical information.
code
-----
IF cl_mdg_util=>check_langu( ) = space.
MESSAGE a017(fnd) WITH sy-langu."#EC *
ENDIF.
-------
With error message geting class name and method name details.
Thanks and Regards,
Sekhara Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Navigate to your application in transaction SICF.
In the above screen shot, it shows the "Application Errors", but you can choose to give a custom message in logoff page (next tab).
Message can be "Please refresh the browser session".
Also in case you need to avoid the time out, then there is a way around:
- Create a UI element "TimedTrigger" and set it to 30 mins(or less than whatever is your web session time out maintained).
- Create a action tied to this UI element.This action ca be anything.
This will make sure that your application never times out.
Ashish
Hi Sekhar,
Hope you want to avoid the abort message from class and have an error message in WD without any technical details in it.
IF cl_mdg_util=>check_langu( ) = space.
"""MESSAGE a017(fnd) WITH sy-langu."#EC *
MESSAGE id 'FND' type 'E' NUMBER '017' into EV_ERROR_MESSAGE with sy-langu.
return. "Return the control back to caller
ENDIF.
Hope this helps you.
Regards,
Rama
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.