Menu

SAP Function Module ADDR_PERSON_REFERENCE_SWITCH

Change use of a person (after changing company)

The Function Module ADDR_PERSON_REFERENCE_SWITCH (Change use of a person (after changing company)) is a standard Function Module in SAP ERP and is part of the function group SZA0 within the package SZAD.

Technical Information

Function Module ADDR_PERSON_REFERENCE_SWITCH
Short Text Change use of a person (after changing company)
Function Group SZA0
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
NEW_PERSON_REFERENCE LIKE PERS_REF
OLD_PERSON_REFERENCE LIKE PERS_REF
PERSON_NUMBER LIKE ADRP-PERSNUMBER Person Number

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
RETURNCODE LIKE SZAD_FIELD-RETURNCODE Return code: ' '(ok), 'I'nfo, 'W'arning, 'E'rror
RETURNCODE_NUMBERRANGE LIKE INRI-RETURNCODE

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
ERROR_TABLE LIKE ADDR_ERROR Table with errors, warnings, information

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
INTERNAL_ERROR Serious internal error (MESSAGE A...)
NEW_REFERENCE_EXISTS
NUMBERRANGE_ERROR
OLD_REFERENCE_NOT_EXIST
PARAMETER_ERROR Incorrect parameter values
PERSON_NOT_EXIST