Menu

SAP Function Module ADDR_DUPLICATE_CHECK_FOR_BAPI

The Function Module ADDR_DUPLICATE_CHECK_FOR_BAPI () is a standard Function Module in SAP ERP and is part of the function group SZAS within the package SZAD.

Technical Information

Function Module ADDR_DUPLICATE_CHECK_FOR_BAPI
Short Text
Function Group SZAS
Package SZAD
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CURRENT_ADDRESS_KEY TYPE ADKEY_INDX Adress key of record processed
CURRENT_ADDRESS_TYPE TYPE AD_ADRTYPE Address type (1-Organization, 2-Person, 3-Contact person)
IV_DIALOG_CONTEXT TYPE AD_DUP_CONTEXT 'BAPI' Dialogkontext für Aufruf Dublettencheck
SEARCH_IN_ADDRESS_TYPE_1 TYPE T_BOOLE SPACE Flag: Search in type1 addresses
SEARCH_IN_ADDRESS_TYPE_2 TYPE T_BOOLE SPACE Flag: Search in type2 addresses
SEARCH_IN_ADDRESS_TYPE_3 TYPE T_BOOLE SPACE Flag: Search in type3 addresses
SEARCH_IN_ALL_OBJECT_TYPES TYPE T_BOOLE SPACE Flag: Search in all object types
SEARCH_MODE TYPE AD_DUPMODE 'I'
T_OBJECT_TYPES_FOR_SEARCH TYPE ADREF_INDX_TAB Object types to be searched
T_SEARCH_FIELDS TYPE ADSRCHLIST Search Criteria

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
INDEX_INCOMPLETE TYPE T_BOOLE Flag: Search index incomplete
NUMBER_OF_HITS TYPE I Number of Hits
T_SEARCH_RESULT TYPE ADKEY_OBJ_TAB Table with Duplicate Hits (Address Key/Owner Objects)

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
COMMUNICATION_ERROR Communication error, external index search not possible
DUPLICATE_CHECK_NOT_ACTIVE
INTERNAL_ERROR Internal error, external index search not possible
PARAMETER_ERROR
SEARCH_INCOMPLETE No search result, e.g. because of inaccurate search criteria