cancel
Showing results for 
Search instead for 
Did you mean: 

How-to map multiple explicit search help values to context attributes?

Former Member
0 Kudos

Hi,

I have a custom explicit Search Help with multiple attributes set as export and uses search help exit for data retrieval. I have set this Search Help for one of the context attribute that is binded to one of the input fields on view.

Now, is it possible to dynamically map other export attributes from this Search Help to other Context attributes?

I know this works for Input helps that are directly derived from check tables but not sure how to do it for explicit Search Helps.

Can anyone please confirm and let me if this is possible? If yes, then can you please share an example or describe how to do it?

Thanks and Regards,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Srinivas,

Check this ..Search help can be dynamically assigned to a field.

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

Also refer this..

Cheers,

Kris.