cancel
Showing results for 
Search instead for 
Did you mean: 

ALV messages are not deleted

Former Member
0 Kudos

Hello all,

Once again I have a problem with my ALV and the management of error messages.

When I report a message in my ALV "check_data" method, I use the following code :


      lo_message_manager->report_attribute_error_message( message_text   = l_msgtext
                                                          element        = lr_element_alv
                                                          is_permanent   = abap_true
                                                          attribute_name = ls_tbc-att_name ).

And at the beginning of my process I always clear the existing messages using :


  lo_message_manager->clear_messages( INCLUDING_PERMANENT_MSG = abap_true ).

However, when I make two inputs, the messages from the first input are not deleted.

Is it a bug ? Am I missing a step ?

Impossible to find any thread in this forum or any OSS Note about that type of error.

Thanks in advance

Guillaume

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Guys,

I guess my post is not interesting anyone...

I would like to add one more thing:

When I have error messages on my first input, and if there are other error messages on the same cell at the second input, all error messages of the first input are deleted except the messages regarding the modified cell, that's why I end up with two error messages for the same cell.