on 12-13-2017 10:30 AM
Hi Web DynPro Experts,
I have created a table in view in Web DynPro. Last column of table is editable. I want to show error message if user enters '0' value and presses enter. Again there is save button implemented by FPM. I also want to restrict user to proceed unless he/she changes '0' value to non-zero. I want to link that error message with that field having '0' value. Suppose user clicks on the error message then he/she must be pointed to erroneous field.
How could I achieve this ?
please try with below code.
CALL METHOD lo_message_manager1->report_element_error_message
EXPORTING message_text = lv_message
element = lr_set " Element Reference if_wd_context_element
attributes = lt_error_attributes " Attribute Name " here append all field names which you want to raise error message
cancel_navigation = 'X'
enable_message_navigation = abap_true
view = lo_api_controller->name.
Regards,
Shivajiraju.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.