Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Webdypro Select Options

$
0
0

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


Viewing all articles
Browse latest Browse all 3667

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>