on 12-18-2012 4:28 AM
Dear experts,
Scenario : Recently we have upgraded our system from EHP 4 to EHP 6. In EHP 4 have many custom WDA development, in each of these development there were several error messages are being displayed in each development. Each time when the error message is displayed the in browser the screen automatically moves to the error message that is at the Top of page. However there is no message are declared in many of the I-Views. So we identified that these message are being displayed in top of root container.
Problem : Earlier EHP when an error message is displayed the I-View is automatically scrolled towards the error message. However it seem like its not working now. The message is still being displayed where as to see these message we need to scroll up.
Please Suggest most feasible way to carry out resolution of issue. Below is the code snippent used at many places.
call method lo_message_manager->report_error_message
exporting
message_text = 'Error message here'.
Thanks
Hi All,
We raised an OSS on reply to which we came to know in EHP 6 there is an WDA application wd_global_parameters. Test it in browser, you will find an Parameter WDSETFOCUSONMESSAGEAREA that need to be changed as per requirement. However that parameter was not there in page. After walk through the standard application we found a table wdy_app_prop_def, from this table parameters are being set. So we created our own as SAP has allowed here creating the same. And we got it working .
Later on we recieved a SAP reply but we were running a version which is higher then mentioned in SAP Note 1582258, so we can not apply that note hence we proceeded with creating the same parameter in the table as mentioned in SAP.
HAPPY ABAPing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
please follow below steps
There is another possibility that you might not get that parameter as well. In that case
Hi Upendra,
Thankyou for reply but the problem here is, there are two many application, each application with a number of I-View each I-view has many methods. And out of all these methods there are some who will be having this way of reporting message. So I can not go and change each place.
I had seen certain changes in message class cl_wdr_message_manager from EHP 4 --> EHP 5 --> EHP 6. So I wanted to know is this happening because of this or there is some other issue. I dont know whether this can be controlled by some config.
Please help on the edge to raise OSS note...last possible solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Vishal,
You can use REPORT_ATTRIBUTE_T100_MESSAGE method to report WD Exception for a Context Attribute.
CALL METHOD lo_message_manager->report_attribute_t100_message
EXPORTING
msg = Msg
element = Node
attribute_name = Attribute
RECEIVING
message_id = message_id.
Warm Regards,
Upendra Agrawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.