Business Add-In ADDRESS_SEARCH

The business add-in (BAdI) ADDRESS_SEARCH has the following three methods:

  • ADDRESS_SEARCH
  • IS_COMPLETE
  • READ_INDEX_FIELD_LIST

ADDRESS_SEARCH

This method calls the error-tolerant search from the SAP standard programs. The following information is passed to this method:

  • Whether dialog is permitted or not
  • Processing mode (create, change, find)
  • Key for processed address (when changing)
  • Selection specifications for indexed search fields
  • Threshold values for the search without dialog

With dialog, the method carries out a separate selection dialog for the hit list. The following is returned:

  • The hit list
  • The selected address, provided that a selection dialog has taken place

IS_COMPLETE

This method returns the information as to whether an index pool is synchronous with the SAP database so that the SAP standard programs can react appropriately, for example, by outputting a warning to the user in dialog.

READ_INDEX_FIELD_LIST

This method is called in the SAP standard programs to determine which fields have been entered in the search index.