cancel
Showing results for 
Search instead for 
Did you mean: 

Open search help on radio button action in web Dynpro abap

Former Member
0 Kudos

Hi,

I am trying to deal with Standart search help in web Dynpro.

I want to know how to use search help in pushbutton action?

Thanks, 

Yuval.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member184958
Active Participant
0 Kudos

Hi,

Go through the below link,

http://scn.sap.com/docs/DOC-45254

Regards,

John.

former_member184578
Active Contributor
0 Kudos

Hi,

You can use method HANDLE_VALUE_HELP of class CL_WDR_VALUE_HELP_HANDLER. But this is not advisable as these are internal classes and SAP may change it at any time!

Create an action for radio button and in onAction of the radio button write the below code to open search help.

data: lo_nd_node type ref to if_wd_context_node,

         lo_el_element type ref to if_wd_context_element.

  lo_nd_node = wd_context->get_child_node( name = 'NODE_NAME' ).  " Node_name is the name of context node.

 

lo_el_element = wd_node->get_element( ).

 

  CALL METHOD CL_WDR_VALUE_HELP_HANDLER=>HANDLE_VALUE_HELP

    EXPORTING

      CONTEXT_ELEMENT   = lo_el_element

      CONTEXT_ATTRIBUTE = 'CARRID'.    " CARRID is the attribute for which you want to open F4 help. change this with your attribute name.

Hope this helps u.,

Regards,

Kiran