Creating Elementary Search Helps

Proceed as follows to create an elementary search help:

  1. In the initial screen of the ABAP Dictionary, enter the name of the search help, select object class Search helps and choose Create.
  2. A dialog box appears in which you must select the type of search help.

  3. Select Elementary search help and choose Continue.
  4. The maintenance screen for elementary search helps appears.

  5. In the field Short text, enter a short explanatory text.
  6. Select the selection method of the search help. You can enter the name of a table, view (database view or help view) or table with text table.
  7. If the standard F4 input process defined by the search help has to be changed, you can enter a Search Help Exit.
  8. Select the Dialog Type of the search help.
  9. Define the parameters for the search help. The name of a parameter of an elementary search help must correspond to the name of the corresponding field of the selection method.
  10. Set the Imp flag if it is an import parameter and the Exp flag if it is an export parameter.

    You can define the dialog for the input help with the fields LPos, SPos and SDis. Enter the position in the hit list where the parameter should be displayed in LPos. You can define the position where the parameter should appear in the dialog box for value selection in SPos. If you set the SDis flag, the parameter will become a pure display field in the dialog box.

    Enter the name of the data element which describes the contents of the search help parameter in the Data element field. In the Default value field you can assign the parameter a default value which is used if the parameter is not explicitly assigned another value when it is linked to a field.

  11. If the search help is to be accessed with a Hot Key, you must define a one-place ID in the Short cut field.
  12. All the elementary search helps contained in a collective search help should have different short cuts.

  13. Save your entries. A dialog box appears in which you have to assign a development class to the search help.
  14. Activate the search help.

You can find information about the activation process in the activation log. You can call the activation log with Utilities ® Act.log. If errors occurred when the search help was activated, you automatically branch to the activation log.

See also:

Structure of an Elementary Search Help

Linking a Search Help with a Screen Field