2007 Jun 12 8:07 AM
Hi Experts,
Can i provide a search help to a Selection screen field. If it is possible please explain me.
Thanks & Regards,
B.Venkata Rathnam.
2007 Jun 12 8:11 AM
Hi
see the search help doc ,create a search help for that field and attach to that field
1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
3)An elementary search help defines the standard flow of an input help.
4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
CREATION:
Go to SE11 Tcode
select search help
give the 'z' search help name and create
select the selection method ur table name eg : 'mara'
dialog module 'display value immediately'.
add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
where left position when displaying and spos = search position
and then save and activate ..
See the links:
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
pls go through this for search help creation
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
Search Help Exits:
<b>Reward points for useful Answers</b>
Regards
Anji
2007 Jun 12 8:12 AM
Hi,
<b>if it is selection-screen:</b>
create the input field using database field eg:parameters:i_matnr like mara-matnr(or)
parameters:name MATCHCODE OBJECT <search_help>.
<b>if it is in screen painter:</b>
double click on the input field u'll get attributes screen.
in the lower part of the attributes(in dict. tab) of the i/p field u can find an option search help.enter ur search help name.
rgds,
bharat.
Message was edited by:
Bharat Kalagara
2007 Jun 12 8:13 AM
hi yes u can provide ur own search help.
try using fm "f4_field_on_value_request".