on 03-31-2014 11:09 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.