SAP Function ADDR_PERSON_NAME_FORMAT - Name formatting by country-specific rules

Parameter Reference Type Length Default Optional Text
LANGUAGE T002-SPRAS C 1 SY-LANGU X Title language
LENGTH SZADR_LENGTH 0 X Maximum length of FORMATTED_NAME_WITH_TITLE
NAME_COUNTRY T005N-LAND1 C 3 Name format country
NAME_FIELDS NAME_PARTS u 355 Structure with name parts
NAME_FORMAT T005N-NAMEFORMAT C 2 Name format (key from table T005N)
ONLY_NAME_WITH_TITLE T_BOOL 0 T_NO X Flag: Only format "Name with title"

Parameter Reference Type Length Text
ERROR_TABLE SZADR_ERROR_TABLE 0 Error Message Table
FORMATTED_NAME SZADR_NAME_LINE 0 Formatted name
FORMATTED_NAME_WITH_TITLE SZADR_NAME_LINE 0 Formatted name with language-dependent title

Exception Text
COUNTRY_NOT_EXIST Country does not exist
LANGUAGE_NOT_EXIST Language does not exist
NAMEFORMAT_NOT_EXIST Name format does not exist

Description
This parameter is only important if the indicator NAME_FIELDS-CONVERTEDis set.
Here, the content of the field NAME_FIELDS-NAME_TEXT already displaysthe complete names with titles (the field is then filled with aconversion).
If the parameter has the value 'X', the name is not merged from thestructure NAME_FIELDS, but rather only the content ofNAME_FIELDS-NAME_TEXT is transferred.

Value range
'X' means: Only parameter FORMATTED_NAME_WITH_TITLE is outputted.
SPACE means: Both return parameters, FORMATTED_NAME andFORMATTED_NAME_WITH_TITLE, are outputted.

Default
The default value is SPACE.

197801Umsetzung Namenstext / Anrede in Schlüssel fehlerhaft