on 07-07-2008 3:31 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.