on 06-24-2008 12:26 PM
i have marked the input field "required" and in output it shows with red asterisks... But even without entering any value s/m proceeds further. Is there anything additional to be done?
Thanks
Sreejith
The suggestion to use check_mandatory_attr_on_view is correct. I might only add that many people like to place the logic in the WDDOBEFOREACTION method so that the logic is triggered before any action event handler.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sreejith ,
While Press the Save button or Some thing , We need to call this method check_mandatory_attr_on_view .
data:
lo_view_controller type ref to if_wd_view_controller,
msg_tab type cl_wd_dynamic_tool=>t_check_result_message_tab.
lo_view_controller = wd_this->wd_get_api( ).
cl_wd_dynamic_tool=>check_mandatory_attr_on_view(
exporting
view_controller = lo_view_controller
importing
messages = msg_tab ).
Thanks and Regards,
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
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.