cancel
Showing results for 
Search instead for 
Did you mean: 

F4 help in select option

Former Member
0 Kudos

Hi All,

We have created a select option for a field of our database table. This field has a value range in its domain. For Example

Fix Val Short Description

01 INR

02 US

03 EUR

When i press the f4 help of select option, am able to see both the number and the description in the F4 help. But when i select a value, it is only displaying the fixed value (01) in the select option field.

But i want the Short Description to be displayed instead of the fixed value.

Please tell me how to proceed.

Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

Chaitanya_Priya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

When there are any values in the domain range it considers only the fixed values (keys)

to get the description what you can do is:

1.create a your own f4 help with the field description.

2.in the select options you can give the name of F4 help when you are populating the selection field.

wd_this->m_handle->add_selection_field(
                        i_description = 'Candidate Profit Center'
                        i_id = '/MRSS/T_RMOR_PROF_CENTER'
                         *i_value_help_type = if_wd_value_help_handler=>co_prefix_searchhelp*
                        *i_value_help_id = '/MRSS/SH_RM_PC_GROUP'*     
                           it_result = lt_range_table
                        i_read_only = read_only ).

Priya

Chaitanya_Priya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

wd_this->m_handle->add_selection_field(

i_description = 'Candidate Profit Center'

i_id = '/MRSS/T_RMOR_PROF_CENTER'

i_value_help_type = if_wd_value_help_handler=>co_prefix_searchhelp

i_value_help_id = '/MRSS/SH_RM_PC_GROUP'"name of the search help it_result = lt_range_table

i_read_only = read_only ).

Priya

Former Member
0 Kudos

Hi,

have you checked the options at SH/select option for that field...also check at context attribute levell.

I guess, based on the selection you need to popuplate the same to the select option...

wehn we test the wdr_test_select_options you can find the same...

the DE with fixed values will take only the keys...try to have your own SH that returns the TEXT instead of key...

and give this to the selec option..then this should work..

Regards,

Lekha.

Edited by: Lekha on Dec 2, 2009 12:22 PM