SAP Function ADDR_PERS_COMP_NAME_SEARCH - Search Contact Person Addresses with Name String (Business Addr. Services)

Parameter Reference Type Length Default Optional Text
PERSON_GROUPS SZADR_PERSON_GROUP_TAB 0 X Person groups for search (include/exclude)
SEARCH_IN_ALL_PERSON_GROUPS T_BOOLE 0 SPACE X Search all not-excluded groups
SEARCH_STRING SZADR_NAME_SEARCH_STRING 0 Search string for 'Last name, First name, Company'
SINGLE_SELECTION T_BOOLE 0 SPACE X Flag: Only one entry can be selected (hit list)
WITH_DIALOG T_BOOLE 0 'X' X Flag: Hit list output as list

Parameter Reference Type Length Text
CANCELLED_BY_USER T_BOOLE 0 Flag: User cancelled search in dialog
KEY SZADR_SO_KEY_LINE2 0 Selected contact person key
NAME_STRING ADRP-NAME_TEXT C 80 Complete name of selected contact person
NUMBER_OF_HITS I I 4 Hit count

Parameter Reference Length Optional Text
SEARCH_RESULT ADDR3_VAL 2481 Hit list

Exception 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

Description
The parameter is only filled when the hit list contains exactly one hit(NUMBER_OF_HITS = 1)

Description
The parameter is only filled when the hit list contains exactly one hit(NUMBER_OF_HITS = 1)

Description
This field specifies whether the search is in all existing persongroups or only the specified ones.

Value range
'X': all person groups are searched. Person groups can be excluded withthe value 'E' in the SIGN field of the PERSON_GROUPS table.
' ': only search in the person groups with the value 'I' in the SIGNfield in the PERSON_GROUPS table.

Default
The default value is SPACE.