on 02-02-2010 9:07 PM
Hello Gurus,
I have been through some material to create select options in web dynpro ABAP. Now I want to make one of the fields mandatory so that if user executes it without filling data in that filed, it gives error message or enforces user to input in the manadtory field.
I know how to do this in ABAP but how do I achieve the same in ABAP webdynpro ?
Please help.
Regards,
Jainam.
Hi ,
Set i_obligatory parameter as X. This will set the select options as mandatory and standard error message will popup in case it is not filled.
wd_this->m_handler->add_selection_field(
i_id = 'S_CARR_ID'
it_result = lt_range_table
* i_obligatory = 'X' , " To make it mandatory
).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the method IF_WD_SELECT_OPTIONS->ADD_SELECTION_FIELD, there is an exporting parameter I_OBLIGATORY. Just set this.
Thanks.
Nagendra
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 |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.