Hi Every One,
Through this document we get to know the activation on search help through button instead of F4 help.
First create one webdynpro component in se80 like below,
Then create Node with the name Node under that node create your attributes what ever you want here for example i had created Matnr like below,
Then create one method and do the coding like below,
method SH_METHOD .
"ONACTIONCALL_VALUE_HELP .
data: wd_node type ref to if_wd_context_node,
wd_element type ref to if_wD_context_element.
wd_node = wd_context->get_child_node( name = 'NODE' )."Your Node Name
wd_element = wd_node->get_element( index = 1 ). "Index of element
CALL METHOD CL_WDR_VALUE_HELP_HANDLER=>HANDLE_VALUE_HELP"Method to call the SH
EXPORTING
CONTEXT_ELEMENT = wd_element
CONTEXT_ATTRIBUTE = 'MATNR'. "Attributes name
endmethod.
Then go to your view do the context binding and design the layout like below,
Inside that Possible Value button onaction method call that component controller method like below then create the application and test your application.
After click on button you will get the Search help,
Regards,
John.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |