Show TOC

Suppressing Pattern Search for AttributesLocate this document in the navigation structure

Use

You can suppress the pattern search for attributes. Follow the procedure below:

Procedure

Remove the two operators starts_with and contains from the expanded menu.

If the application sets parameter SUPPRESS_PATTERN_SEARCH = ABAP_TRUE for an attribute, the following features are activated:

  • If a user uses one of the attributes IS/IS_NOT or EQUAL/DOES_NOT_EQUAL together with the wild card symbol asterisk (*), the user receives a warning that pattern search is not possible for this attribute.

  • Interface methods IF_WD_SELECT_OPTIONS_20~CONVERT_DATA_INTO_RANGES and IF_WD_SELECT_OPTIONS_20~GET_INPUT_COMPLETE_AS_RANGE return the range for these attributes with the option EQ/NE and the wild card symbol ( *).

Note

If you want an attribute to behave like a parameter, that is, you want to allow a maximum of one value to be assigned with operator IS/EQUAL, use the following settings:

  • MAX_1_VALUE = abap_true

  • SUPPRESS_PATTERN_SEARCH = abap_true

  • INCLUDE_OPERATORS contain operator IS or EQUAL only.