Creating Elementary Search Helps 

Procedure

  1. Select the object class Search help in the initial screen of the ABAP Dictionary, enter the name of the search help 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. Enter an explanatory text in the field Short text.
  6. You can search for example for the search help using this short text at a later time with the R/3 Repository Information System (with Utilities ® Infosystem).

  7. Select the selection method of the search help.
  8. You can enter the name of a table or a view (database view, projection view or help view) here. If there is a text table for the specified table, its name is automatically entered in the corresponding field.

  9. In exceptions it could be necessary to change the standard process defined by the search help. You can implement the deviation from the standard using a search help exit.
  10. In this case enter the name of the search help exit in the corresponding field.

  11. Choose the dialog type of the search help.
  12. The dialog type defines how the hit list is displayed in the input help.

  13. Define the parameters for the search help.
  14. All the fields of the chosen selection method are offered by the input help for the field Parameter. Choose the parameters you required from this list. The data element of the parameter is automatically copied from the selection method.

    Select the Imp flag if it is an import parameter. Select 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. If you enter nothing or the value 0 here, the parameter is not displayed in the hit list.

    You can define the position where the parameter should appear in the dialog box for value selection in SPos. If you enter nothing or the value 0 here, the parameter is not displayed in the dialog box for value selection.

    If you set the SDis flag, the parameter will become a pure display field in the dialog box.

    In the Default value field you can assign the parameter a default value (see Default Values for Search Help Parameters) that takes effect if the parameter is not explicitly defined when it is attached to a field.

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

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

  19. Activate the search help.

Information on the activation process can be found in the activation log. You can call the activation log with Utilities ® Activation log. If errors occurred during activation, the activation log is automatically displayed.

See also:

Structure of Elementary Search Helps

Attaching Search Helps with Screen Fields