cancel
Showing results for 
Search instead for 
Did you mean: 

REPORT_ATTRIBUTE_ERROR_MESSAGE does not highlight my UI Element!

Former Member
0 Kudos

Hi All,

my application reports an attribute error message as follows:

In case the user has not selected a value in a drop down list in the table-toolbar, the application reports an error message and highlights the dropdownlist in red (as usual)...

However, in my case the drop down list is not highlighted red whatsoever...

Does anybody know why it doesn't and how I can fix this??

Here is my coding... It is regular coding wich has worked in other places:

wd_comp_controller->gr_message_manager->report_attribute_error_message( message_text   = lv_msg_22
                                                                              element        = le_sc_dd
                                                                              attribute_name = 'LONG_TEXT' ).

THANKS

Johannes

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Can you check the field 'LONG_TEXT' is exactly the same as defined in Context and secondly le_sc_dd , is this the correct reference in which the field is present , I think the problem is in this part, Check it in debugging.

Former Member
0 Kudos

...it is the same.. If a non-existing field is given, the method dumps..

The element is correct as well!

Former Member
0 Kudos

This is a known problem or feature which is not available in 7.01. I am not sure if this is taken care in 7.02 .

Former Member
0 Kudos

Hi Johannes,

In Drop Down REPORT_ATTRIBUTE_ERROR_MESSAGE will not highlight field like normal input field.

In this case you just display error message.

Cheers,

Kris.