The Function Module ADDR_PERS_COMP_NAME_SEARCH (Search Contact Person Addresses with Name String (Business Addr. Services)) is a standard Function Module in SAP ERP and is part of the function group SZAF within the package SZAD.
Function Module | ADDR_PERS_COMP_NAME_SEARCH |
Short Text | Search Contact Person Addresses with Name String (Business Addr. Services) |
Function Group | SZAF |
Package | SZAD |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
PERSON_GROUPS | TYPE | SZADR_PERSON_GROUP_TAB | Person groups for search (include/exclude) | |
SEARCH_IN_ALL_PERSON_GROUPS | TYPE | T_BOOLE | SPACE | Search all not-excluded groups |
SEARCH_STRING | TYPE | SZADR_NAME_SEARCH_STRING | Search string for 'Last name, First name, Company' | |
SINGLE_SELECTION | TYPE | T_BOOLE | SPACE | Flag: Only one entry can be selected (hit list) |
WITH_DIALOG | TYPE | T_BOOLE | 'X' | Flag: Hit list output as list |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
CANCELLED_BY_USER | TYPE | T_BOOLE | Flag: User cancelled search in dialog | |
KEY | TYPE | SZADR_SO_KEY_LINE2 | Selected contact person key | |
NAME_STRING | LIKE | ADRP-NAME_TEXT | Complete name of selected contact person | |
NUMBER_OF_HITS | TYPE | I | Hit count |
This function module does not define any CHANGING parameters.
These are the TABLE parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
SEARCH_RESULT | LIKE | ADDR3_VAL | Hit list |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
INTERNAL_ERROR | Serious internal error (MESSAGE A...) |
NO_MATCHES_FOUND | No contact person found |
PARAMETER_ERROR | Incorrect parameter values |
SEARCH_STRING_NOT_ALLOWED | Not-allowed string in search string |