on 07-30-2010 4:33 PM
I have an input field that is bound to a context node, and the context node defines a DDIC search help.
Now, I would like to use 4 different search helps (not a collective search help though) for the same field, depending on certain settings. Can I dynamically change the value help of that context node? how?
hello,
I think so...
you have to set the property "Input help parameter" to User Defined Programming and write your own code...
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi please refer this code .
hope it will work
data lo_nd_info type if_wd_context_node_info.
lo_nd_info = lo_nd->get_node_info( ).
if condition1 = true .
CALL METHOD lo_nd_info->set_attribute_value_help
EXPORTING
name = 'Carrid' " name of attribute
value_help_mode = '2' " value from data elemnt WDY_CONTEXT_VALUE_HELP_MODE
value_help = 'S_CARRIER_ID'. " search help name
else .
CALL METHOD lo_nd_info->set_attribute_value_help
EXPORTING
name = 'Carrid' " name of attribute
value_help_mode = '2' " WDY_CONTEXT_VALUE_HELP_MODE
value_help = 'H_T000'. " search help name
change your serch help here
endif .
regards
chinnaiya P
User | Count |
---|---|
81 | |
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.