Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Search help exit

Former Member
0 Likes
3,809

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

4 REPLIES 4
Read only

Former Member
0 Likes
2,859

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^

Read only

Former Member
0 Likes
2,859

Go through these links:

Regards,

Shailaja

Read only

Former Member
0 Likes
2,859

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