Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8499

Re: Open search help on radio button action in web Dynpro abap

$
0
0

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


Viewing all articles
Browse latest Browse all 8499

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>