cancel
Showing results for 
Search instead for 
Did you mean: 

Error message not displayed in an ALV

Former Member
0 Kudos

Hello gurus,

I have an ALV with two editable fields. I use the change log and the on_data_check event (and a dedicated method) for managing errors during the inputs.

However, if I input data in the two fields, the errors that can happen in the first field are not taken into account at the display (I ensured by debugging that I triggered the error messages, and an instruction lo_message_manager->get_messages( ) convinced me that my messages have been registered, but not displayed).

Does anyone has ever faced this problem ?

Thanks in advance,

Guillaume

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Problem solved :

Not any modification of the context nodes can be done after the call of the lo_message_manager-report_*message( ).

Avoid set_static_attributes or bind_table.

amy_king
Active Contributor
0 Kudos

Guillaume,

Thanks so much for reporting the solution. I've been wrestling with this same issue all day today and I couldn't understand why my message, which I can see exists the message manager, was not being displayed. Your post has made my day!

I wonder if you recall how you discovered the solution-- is there documentation somewhere about this restriction?

Wish I could "LIKE" this post X10.

Cheers.

Amy