Functionality This module is an example for the interface and design ofsearch help exits> insearch helps>. All interface parameters defined here are mandatory for function modulesused as search help exits. This is because the caller of the modulecannot know which parameters are actually used internally. A search help exit is called several times>during the F4 process flow. The appropriate step in the process flow ispassed in CALLCONTROL-STEP. If the module only needs to make a fewmodifications before the step, CALLCONTROL-STEP should remain unchanged. However, if the step becomes the complete responsibility of the module,the follow-on step must be returned in CALLCONTROL-STEP. Also read the detailed documentation about the search help exit concept. The module must react to all steps that it does not know or does notwant to handle with an immediate EXIT.Description Current search help of type SHLP_DESCR_T>. At SELONE time>, the search help assigneddirectly to the field is passed. This can be a collective search help.The associated elementary search helps are in SHLP_TAB. At all latertimes, the elementary search help is passed that is either in the dialogor that was assigned directly to the field from the start.Description If the search help exit is responsible for data selection (step SELECT),the hit list must be returned in this table (in internalrepresentation). If the search help exit is responsible for data display (step DISP), thehit list is returned in this table (in internal representation). Description This table is mainly relevant at SELONE time>(when one elementary search help is selected from several options). For each row it contains the full description of an elementary searchhelp (row type SHLP_DESCR_T>). Thenumber of elementary search helps can be restricted by manipulatingSHLP_TAB. SELONE can generally be retained as the follow-on step. Theuser is then offered the restricted set of elementary search helps. The associated collective search help is provided in the parameter SHLPat SELONE time. Only if there is more than one entry in SHLP_TAB at SELONE time (but theselection popup still needs to be suppressed), does the follow-on stepneed to be changed to PRESEL1. The search help that needs to be usedmust then be passed from SHLP_TAB to SHLP. |