on 03-04-2008 12:04 PM
Gudday,
I need to mark a asterisk(*) adjacent to the mandatory fields in my WDA iview.
Can anyone suggest me how can we do it??
Awaiting your reply.
Thanks,
Deepthi.
hi martina........
for each and every ui element you have a roperty called required... you can make use of that and also you can make use of the method check_mandatory_attributes in cl_wd_dynamic_tool to check whether fields have been filled and display them in red if not so.
---regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gudday,
Can you Please tell me how should i use that method check_mandatory_attributes in cl_wd_dynamic_tool,
means what are the parameters i should pass...a piece of code?
It is not checking whether the field is mandatory or not if it is marked as required....so i want to use this method.
Awaiting your reply.
Thanks,
Deepthi.
Hi,
You can try this.
Put this source in action button (Save).
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 ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.