cancel
Showing results for 
Search instead for 
Did you mean: 

Message manager is not available when the scroll down the alv

Former Member
0 Kudos

Hi,

I have an editable ALV and using message manager(IF_WD_MESSAGE_MANAGER) to show message. The method REPORT_ATTRIBUTE_ERROR_MESSAGE highlights the cells with errors. However, when I scroll down the screen, the message is not available then and all error cells are no longer highlighted. How can I keep the error message available until corrections are made.

Best regards,

ts

Accepted Solutions (1)

Accepted Solutions (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi ts,

The messages gets cleared from message manager upon any subsequent action.

You can achieve your requirement as below


  • While reporting attribute error message, set the exporting parameter is_permanent = abap_true
  • Now, the messages will not disappear on scrolling
  • After the corrections are made, you can clear the messages from message manager by using method CLEAR_MESSAGES of interface IF_WD_MESSAGE_MANAGER and pass the parameter including_permanent = abap_true.

Hope this helps you.

Regards,

Rama

Answers (0)