Fonction SAP BKK_F4IF_STACK_PLACE - Example of a Search Help Exit for a Search Help

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CALLCONTROL DDSHF4CTRL u 108 Control of F4 Process
SHLP SHLP_DESCR_T 0 Individual (Current) Search Help

Paramètre Reférence Long. Facultatif Description
RECORD_TAB SEAHLPRES 1016 Hit List
SHLP_TAB SHLP_DESCR_TAB_T 0 Table of Elementary Search Helps

Functionality
You only use this module as an example for the interface and fordesigning search help exits insearch helps.
All the interface parameters defined here are mandatory for a functionmodule you want to use as search help exit, as the caller of the moduledoes not know which parameters are actually used internally.
A search help exit is called during the F4 process flow at multipletimepoints. In theCALLCONTROL-STEP, the respective step of the process flow is supplied.If the module only needs to make a few modifications before the step,CALLCONTROL-STEP should remain unchanged.
However, if the module is to carry out the step completely, the nextstep must be returned in CALLCONTROL-STEP.
See also the detailed documentation about the concept of the searchhelp exist.
The module must respond to all steps it does not know or which it doesnot want to handle with an immediate EXIT.

Description
Current search help, categorySHLP_DESCR_T.
At timepoint SELONE, the search help assigneddirectly to the field is transferred. This can also involve acollective search help. The corresponding elementary search helps are inSHLP_TAB. At all later timepoints the elementary search help that waseither selected in the dialog or was directly assigned to the fieldfrom the start is transferred.

Description
If the data selection is carried out by the search help exit (stepSELECT), the hit list must be returned in this table in internal displaymode.
If the data display is carried out by the search help exit (step DISP),the hit list is transferred in this table in internal display mode.

Description
This table is particularly relevant for thetimepointSELONE (selection of one elementary search helps from several options).
Per line it contains the complete description of one elementary searchhelp (line category isSHLP_DESCR_T). At the SELONEtimepoint the corresponding collective search help is transferred inthe SHLP parameter. If the selection of one single elementary searchhelp is carried out by the search help exit, the selected search helpmust be returned in the SHLP parameter.