cancel
Showing results for 
Search instead for 
Did you mean: 

adding search help dynamically to a context in abap webdynpro

Former Member
0 Kudos

Hello Friends,

how do i attach a context from a dataelement dynamically to a webdynpro context dynamically.

regards

kaushik

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Freely prog 141

Former Member
0 Kudos

Hi,

Using the interface if_wd_context_node_info, use the

SET_ATTRIBUTE_VALUE_HELP to set the SH for that context attribute.

These are the values  - C_VALUE_HELP_mode,
                 deactivated         type i value 101,
                 automatic           type i value 111,
                 ddic                type i value 121,
                 ovs                 type i value 131,
                 application_defined type i value 141,

Regards,

Lekha.