Menu

SAP Function Module ADDR_PERSON_NAME_FORMAT

Name formatting by country-specific rules

The Function Module ADDR_PERSON_NAME_FORMAT (Name formatting by country-specific rules) is a standard Function Module in SAP ERP and is part of the function group SZA8 within the package SZAD.

Technical Information

Function Module ADDR_PERSON_NAME_FORMAT
Short Text Name formatting by country-specific rules
Function Group SZA8
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
LANGUAGE LIKE T002-SPRAS SY-LANGU Title language
LENGTH TYPE SZADR_LENGTH Maximum length of FORMATTED_NAME_WITH_TITLE
NAME_COUNTRY LIKE T005N-LAND1 Name format country
NAME_FIELDS LIKE NAME_PARTS Structure with name parts
NAME_FORMAT LIKE T005N-NAMEFORMAT Name format (key from table T005N)
ONLY_NAME_WITH_TITLE TYPE T_BOOL T_NO Flag: Only format 'Name with title'

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ERROR_TABLE TYPE SZADR_ERROR_TABLE Error Message Table
FORMATTED_NAME TYPE SZADR_NAME_LINE Formatted name
FORMATTED_NAME_WITH_TITLE TYPE SZADR_NAME_LINE Formatted name with language-dependent title

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
COUNTRY_NOT_EXIST Country does not exist
LANGUAGE_NOT_EXIST Language does not exist
NAMEFORMAT_NOT_EXIST Name format does not exist