on 08-06-2007 6:55 AM
Hi experts,
How to create generic search help in wd abap.
Regards...
Arun.
Hi,
if you want to make your result list dependent on some factors in your application,
but you have a certain function module you've created, than you should use OVS,
in the case structure you receive in the ovs event handler,
set
when if_wd_ovs=>co_phase_2 .
wd_assist->get_value_list( exporting param1 = ...
param2 = ...
....
importing result_table = table ).
ovs_callback_object->set_output_table( output = table ).
when if_wd_ovs=>co_phase_3.
use the generated code to set the attribute in the context
grtz,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are many types of search helps possible in wd abap. What exactly is your requirement? What do you mean by 'generic'?
Regards
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arun,
You have the standard search help where you define it in se11 and simply call it in the web dynpro component. Then you have OVS, freely programmed search helps, value sets. It entirely depends on your requirement. What do you want to do?
Please refer to the example component DEMO_VALUE_HELP for an idea of various search helps.
Regards
Nithya
Hi Arun,
For creating search helps, you need to go to transaction se11 and create one there. In WD ABAP, you need to link this search help to your attribute then.
Regards,
Neha
<i><b>PS:Reward if helpful</b></i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arun,
Following links have step by step procedures for creating search helps and other related topics.
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm">ABAP Dictionary Search Help for WD</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/9b/c51c42735b5133e10000000a155106/content.htm">Input Help in WD ABAP</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm">Search Helps</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm">Creating Elementary Search Help</a>
Regards,
Neha
<i><b>PS:Reward if helpful</b></i>
We can call search helps dynamically by using methods in class CL_WDR_VALUE_HELP_HANDLER.
Please refer the the code snippet below.
cl_view ?= wd_view. Referenc to the view.
Call the data base saerch help.
CALL METHOD cl_wdr_value_help_handler=>handle_dd_shlp
EXPORTING
context_element = Referenc to the context.
context_attribute = Context attribute assigned to input field
shlp_name = Data base search help name
is_read_only = Mode
uielementid = Input field name
view = cl_view.
To the static method handle_dd_shlp, we pass the view name, context node, context elemet, name of the input field and the name of the search help.
we can provide a search icon on the view and upon triggering that action, we can call the above code to set the database search help at runtime.
On selecting a value on the search help hitlits the value is coppied into the 'Input field' passed on method.
Can you let us know, what do you mean by generic search help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.