2008 Jul 29 5:38 AM
How to create a Search help Exit?
I created a search help based on language and other 2 keys on a database table.My report have a parameter field Language and my serach help should contain entries only for the language which i entered.For this i need to create Search help exit?
How can i create a search help exit?
Please give me some sapmle code or any solution
Thanks
Madan
How to create a Search help Exit?
I created a search help based on language and other 2 keys on a database table.My report have a parameter field Language and my serach help should contain entries only for the language which i entered.For this i need to create Search help exit?
How can i create a search help exit?
Please give me some sapmle code or any solution
Thanks
Madan
2008 Jul 29 5:43 AM
Hi
Good
1)Copy the FM F4IF_SHLP_EXIT_EXAMPLE to write your own FM. (check the documentation and coding of FM F4IF_SHLP_EXIT_EXAMPLE).
2)write your code depending upon the functionality you want.
3)attach the FM in search help through SE11 in "search help exit" field.
A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.
This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).
A search help exit is called at certain timepoints in the input help process.
Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.
Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.
This module has been created as an example for the interface and design of Search help exits in Search help.
All the interface parameters defined here are mandatory for a function module to be used as a search help exit, because the calling program does not know which parameters are actually used internally.
A search help exit is called repeatedly in connection with several events during the F4 process. The relevant step of the process is passed on in the CALLCONTROL step. If the module is intended to perform only a few modifications before the step, CALLCONTROL-STEP should remain unchanged.
However, if the step is performed completely by the module, the following step must be returned in CALLCONTROL-STEP.
For more detailed information please refer to the documentation describing the concept of the search help exit.
The module must react with an immediate EXIT to all steps that it does not know or does not want to handle.
Thanks
mrutyun^
2008 Jul 29 5:46 AM
2008 Jul 29 5:48 AM
Hi ,
Go through the Following Links.
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm
https://forums.sdn.sap.com/click.jspa?searchID=4390517&messageID=1712818
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm
https://forums.sdn.sap.com/click.jspa?searchID=4390517&messageID=1712818
check out this link, it gives step by step example of implementing search help exit.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/implementing%2bsearch%2bhelp%2bexits
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/implementing%2bsearch%2bhelp%2bexits
Regards.
Eshwar
2008 Jul 29 5:51 AM
Hi Madan.
I would like to suggest a few references,
[SDN - Standard Reference - PDF - Enchancing a standard search help exit|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-edc983384237]
[SDN - Reference for Dynamic Search help Exit|]
[SDN - Reference for Search Help exit - Example|;
[SDN - Reference for creating search help exits|;
Hope that's usefull.
Good Luck & Regards.
Harsh Dave
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |