on 12-15-2009 3:15 PM
Hi,
I have to change the property "value_help_id" at runtime, because different user should see different value help.
So, I can change the properties "visible", "required", "read_only" and "enabled" with help of IF_WD_CONTEXT_ELEMENT->SET_ATTRIBUTE_PROPERTY, but how can I change other properties at runtime? Is it possilbe at all?
Thanks and best regards,
Roman
Hi,
Refer this to change your search help :
data lo_nd_info type if_wd_context_node_info.
lo_nd_info = lo_nd->get_node_info( ).
CALL METHOD lo_nd_info->set_attribute_value_help
EXPORTING
name = 'ATTR1' " Your attribute Name
value_help_mode = '121' " Valid value help mode
value_help = 'Z187442'. " Search help name
The various possible values that you can pass to value_help_mode are as shown below.
deactivated 101
automatic 111
ddic 121
ovs 131
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes you can..You need to get the context attribute reference in IF_WD_CONTEXT_NODE/IF_CONTEXT_NODE_INFO to get the attribute reference...using which we can set teh value help at runtime where you have relevant methods..
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
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.