on 10-11-2011 4:00 PM
Dear colleagues,
I have input field in my ALV (defined reuinsing component SALV_WD_TABLE). When the field is changed, I can check it by catching the ON_DATA_CHECK_EVENT.
I would like to put the cursor on the 1st wrong cell, and show error cells in RED.
I do not have check button nor save, I only react (currently) on 'ENTER' on the cell.
If I enter something in several cell and only press enter afterwards, the bad cell are not checked back, if they are not changed. This is also not correct.
Eg enter wrong value in cell1 and cell2, press 'ENTER'.
Errors are detected on both cells (two messages).
Correct cell1 => on_data_check does not recheck cell2 (as it has not been changed) and therefore the error is not visible anymore for the user.
If you can give me some hint how to remember wrong cells and show them, it woud be really helpfull.
Kind regards.
barbara
Hi,
You can use report_attribute_error_message of interface if_wd_message_manager.
In that you can pass
message text,
parameters - where placeholders are replaced with value
element - element node
attribute - attribute
Regards,
Meera
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.