cancel
Showing results for 
Search instead for 
Did you mean: 

Texts in Select Options

Former Member
0 Kudos

Hi Experts,

I have a 'SELECT OPTION'. I am using the following code to display the HELP in select option.

lt_range_table1 = wd_this->m_handler1->create_range_table( i_typename = 'PRIOK' ).

  • add a new field to the selection

wd_this->m_handler1->add_selection_field(

i_id = 'PRIOK'

it_result = lt_range_table1

i_read_only = read_only

  • I_AS_DROPDOWN = 'X'

IT_VALUE_SET = IT_VALUE_SET

1) It displays the help but the help window name is 'P'. I would like to set it to 'PRIORITY HELP'. how can i do this.

2) How can i cahnge the columns header in the help in select option?

Rgeards,

Vishal.

Accepted Solutions (0)

Answers (1)

Answers (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi Vishal

Using it_value_set you can not set the window title and the column headers of the value help popup.

Create a Structure ZPP_ROUT_PROD

Add a Field to the Structure MS_FLAG of type some Data Element which has its domain and the Domain Range is specified

also specify the labels for the Data element created

Use the parameters value help structure and value help structure field

lr_HELPER->add_selection_field(

i_id = 'CHAR1'

IT_RESULT = LR_TABLE

I_VALUE_HELP_STRUCTURE = 'ZPP_ROUT_PROD'

I_VALUE_HELP_STRUCTURE_FIELD = 'MS_FLAG'

).

now you can see the window title and the column headers as specified int he Data Element

Abhi

Former Member
0 Kudos

Thanks.

I am not supposed to create DATA ELEMENT. Are u talking about a structure?

I am using some search helps also in other scenarios. than how would this work for those?

Regards,

Vishal.