cancel
Showing results for 
Search instead for 
Did you mean: 

Prevent OVS Help Popup to open

Former Member
0 Kudos

Hi all,,

I am using input fields with OVS help.

I want to forbid OVS help popup to open if a data was not selected into a previous field.

Is there a way to make it, instead of passing through the ovs event handler (because it forces set_output_table call) ?

Thanks for your help

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

One thing you can do is..

Only when that field is filled then only provide the OVS name

lr_node_info type ref to if_wd_context_node_info.
lt_info type WDR_CONTEXT_ATTRIBUTE_INFO
lr_node_info->get_attribute
exporting
name = 'CARRID'
 importing
ATTRIBUTE_INFO = lt_info

Use the wizard to get these values..
if lv_value is not initial.  "previous field not filled
CALL METHOD lr_node_info->SET_ATTRIBUTE_VALUE_HELP
  EXPORTING
    NAME            = 'CONNID'
    VALUE_HELP_MODE = C_VALUE_HELP_MODE-OVS
    VALUE_HELP      = <<NAME of the OVS>>    

else.
lr_node_info->SET_ATTRIBUTE_VALUE_HELP
exporting
name = 'CONNID'
VALUE_HELP_MODE = C_VALUE_HELP_MODE-deactivated  
*VALUE_HELP = none
endif.

Refer this link -

Regards,

Lekha.

Edited by: Lekha on Dec 18, 2009 7:27 PM

Answers (1)

Answers (1)

Former Member
0 Kudos

Perfect

Many thanks

Regards

Romain

Former Member
0 Kudos

Hi,

Change this CARRID to CONNID in earlier post.. ...

lr_node_info->get_attribute
exporting
name = 'CONNID'
 importing
ATTRIBUTE_INFO = lt_info