on 08-25-2009 12:54 PM
Hello
Is it possible to call a DDIC search help within a WD application without binding it to an input field. We are looking for a way to call a search help on a button pressed event.
Regards, Mathias
Hi Mathias,
Using CL_WDR_VALUE_HELP_HANDLER=>HANDLE_VALUE_HELP is a very easy solution to this problem but, you are advised not follow this approach of using this class & method as they may be stopped at any time by SAP. All the classes which start with CL_WDR* are meant for internal use by SAP and are not meant for use by customers. We are supposed to use only classes which start with CL_WD*. Try go through this [thread |;which deals with the same same issue.
You can try resolve this problem by creating an [Freely Programmed Value Help|https://wiki.sdn.sap.com/wiki/display/WDABAP/Freely%2bprogrammed%2binput%2bhelp] & when you press on the pushbutton you can call this search help. You can try go through this [thread |;where I have explained about how you can create an Freely Programmed value help.
Regards,
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mathias,
you can hide the field and call for it the search help using this method:
cl_wdr_value_help_handler=>handle_value_help(
context_element = lo_el_search_fields " context element of the field
context_attribute = `SEARK` " Name of the field
view = wd_this->go_view
* ui_element_id = interactive_form->id
* is_read_only = interactive_form->ip_visible
).
And after it put the value from hidden field to the visible field (e.g. in WDDOMODIFYVIEW)
Best regards,
Dimitri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.