on 04-18-2008 10:46 PM
Hi Folks,
I am using WDR_SELECT_OPTIONS reusable component in my Component. I want to attach customized search help particular fild while creating select-option using
wd_this->m_handler->add_selection_field(
i_id = 'IWERK'
it_result = lt_range_table
i_read_only = read_only ).
Can anyone explian how can I attach search help here.
Regards,
Vishal.
Hello Vishal,
Use this:
wd_this->m_handler->add_selection_field(
i_id = 'IWERK'
it_result = lt_range_table
i_read_only = read_only
I_VALUE_HELP_ID = <NAME OF SEARCH HELP> ).
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishal,
If its a search help, use the following code:
lt_range_table = wd_this->m_handler->create_range_table( i_typename = 'S_PLANETYE' ).
wd_this->m_handler->add_selection_field(
i_id = 'S_PLANETYE'
it_result = lt_range_table
i_read_only = read_only
I_VALUE_HELP_TYPE = 'SEARCHHELP'
i_value_help_id = 'Z_SAPLANE' ).
In this example, 'Z_SAPLANE' is the dictionary search help.
This will solve your problem
For further details, goto interface IF_WD_VALUE_HELP_HANDLER to get a list of values you can supply to parameter I_VALUE_HELP_TYPE.
This is similar to what you do with a context, similar to the options you get in the dropdown for Input Help property.
Regards,
Chitrali
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
10 | |
8 | |
7 | |
6 | |
5 | |
5 | |
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.