Entering content frame

Editing a Search Help Locate the document in its SAP Library structure

A search help is a ABAP Dictionary object used to define possible values (F4) help. There are two kinds of search help - elementary and collective. An elementary search help uses a search path to determine the possible entries. A collective search help consists of two or more elementary search helps, and thus provides more than one possible search path.

To display or change the link between a logical database and a search help, choose Search helps from the initial screen of the Logical Database Builder or use the navigation function from another component.

Here, you can assign a search help to the logical database. You can then choose a suitable search help for the logical database from a list of values. You can also delete the link between the logical database and an existing search help.

In deciding which search help is appropriate for the logical database, you must consider its content. For example, if you create a logical database that reads creditor records, the creditor number should be one of the output fields of the search help. The contents of the output fields of the search help are available to the logical database at runtime for the actual database access. There are two ways of finding information about the output fields of a search help. You can either use the ABAP Dictionary, or enter a search help and then look at the ensuing list.

To enable the user to use the search help, you must declare a special parameter in the selection include using the addition AS SEARCH PATTERN. The system interprets the user’s input on the selection screen and reads the value list from the database. The values are made available to the database program in the internal table ldb_SP, and the subroutine PUT_ldb_SP is called instead of PUT_root. ldb is the name of the logical database, and root is the name of the root node. This subroutine can use the value list in ldb_SP to read the actual data and trigger the GET root event using the PUT rootstatement.



Leaving content frame