on 03-27-2011 2:23 PM
Hi guys,
Can anyone tell me , how we can validate the select options data.
Regards
Srinivas
Hi srinivas,
If you didnt enter any value in select options it will fetch all the records in the entire Range.., but if u want to make it as mandatory field pls add the below parameters..
add a new field to the selection
wd_this->m_handler->add_selection_field(
i_id = 'ZDE_PERNR'
it_result = lt_range_table
i_read_only = read_only
i_no_intervals = 'X' -
> this for no intervals.., only low
i_obligatory = abap_true ). -
> this to make it as mandatory..
Then in onActionSubmit it ll automatically raise an error message if u didnt enter any value.,
hope this will help u.,
Thanks & Regards
Kiran
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 |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.