Hi team,
I have an issue in webdynpro select-options. I set the field obligatory in
Method WDDOINIT.
* add a new field to the selection
WD_THIS->M_HANDLER->ADD_SELECTION_FIELD( I_ID = 'ZCOUNTRY'
IT_RESULT = LT_RANGE_TABLE I_READ_ONLY = READ_ONLY
i_value_help_type = IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_SEARCHHELP
i_value_help_id = 'H_T005_LAND'
i_obligatory = 'X'
).
But when I am executing on action for search button ( Event Handler ONACTIONSEARCH).Then it checking the field as mandatory. But after checking I have some code and it also executing that means if the Zcountry displaying error message and also procedding further.If any error message it should stop How to achecive this.Please any one can help.
Event Handler ONACTIONSEARCH
rt_count = wd_this->m_handler->get_range_table_of_sel_field( i_id = 'ZCOUNTRY').
ASSIGN rt_count->* TO <fs_count>.
Thanks and regards,
Umakanth