It is only called for collective search helps, using the search help exit, the set of elementary search helps available can be restricted depending on the context.
We can call search helps exits in the following situation.
- Before displaying the dialog box for selecting the required search help.
- Before starting the F4 process for the elementary search help.
- Before displaying the dialog box for entering search condition
- Before selecting the data
- Before displaying the hit list.
- Before returning the values selected by the user to the input template.
creating a search help exit.
- We need to create a function module and write code in that FM and call that FM in that search help.
For that we have tables.
In the table parameter of that FM
SHLP_DESCR_tab_t
SEAHLPRES
In the changing parameter
SHLP_DESCR
DDDHF4CTRL
Step 1 : GOTO SE37 –> Create a Function Module.
Write the code.
Open the collective search and add the search exit.
Finally, we have created a Search Help Exit.