on 11-03-2009 7:46 AM
Hello all,
I have created select option using WDR_SELECT_OPTIONS .
I have written code as:
lt_range = lo_select_options->create_range_table( 'S_CONN_ID' ).
lo_select_options->add_selection_field( i_id = 'SO_STATUS'
i_description = lv_label
i_value_help_type = if_wd_value_help_handler=>CO_PREFIX_AUTO
i_is_auto_description = abap_false
it_result = lt_range
i_tooltip = lv_label
).
My question is in the select option i need data on F4 from the domain's value table .Is it possible and how ?
Hi,
lt_range_table = wd_this->m_handle->create_range_table(
i_typename = 'S_CONN_ID').
wd_this->m_handle->add_selection_field(
i_description = 'Flight no'
i_id = 'S_CONN_ID' "here also you need to give the data element name.the domain attached to data element will automatically bring the values in F4 help.
it_result = lt_range_table
i_read_only = read_only ).
Regards,
Priya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You want to have the F4 help for connid...
SPFLI is the value table attached to it......
Are you not getting any values on F4.....
What is the value help mode you gave in the select options ...
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
My question is in the select option i need data on F4 from the domain's value table .Is it possible and how ?
The code you have written is absolutly fine.
Just make sure that there are values in the domain for which you are creating the Search help. If there are values , it will be automatically coming in F4 help.
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.