Skip to Content
0
May 10, 2010 at 02:14 PM

Duplicate messages using report_attribute_t100_message

192 Views

Hi gurus,

I'm trying to check input values of an ALV. When check is not true the WDA have to throw a message for each element that doesn't pass the check. What I want to do:

LOOP AT data_modified.

if check = FALSE.

lo_element = get_element( ).

lo_message_manager->report_attribute_t100_message( msg = ls_msg

element = lo_element

attribute_name = FIELD.

endif.

ENDLOOP.

For example, if user puts three incorrect values I want to throw just three messages, and not six...

Any idea to avoid duplicates?

Thank you

Edited by: vanbelal on May 10, 2010 4:14 PM