Menu

SAP Function Module ADDR_PERS_COMP_NAME_SEARCH

Search Contact Person Addresses with Name String (Business Addr. Services)

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

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.

Technical Information

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

Importing Parameters

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

Exporting Parameters

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

Changing Parameters

This function module does not define any CHANGING parameters.

Table 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

Exceptions

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