Menu

SAP Function Module ADDR_REFERENCE_INSERT

The Function Module ADDR_REFERENCE_INSERT () 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_REFERENCE_INSERT
Short Text
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
ADDRESS_NUMBER LIKE ADRC-ADDRNUMBER Address Number (Key of Database Table)
ADDRESS_REFERENCE LIKE ADDR_REF
CHECK_IF_REF_EXISTS TYPE CHAR1 'G'

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
ADDRESS_NOT_EXIST Address does not exist
INTERNAL_ERROR Serious internal error (MESSAGE A...)
NUMBERRANGE_ERROR Error in Internal Number Assignment
PARAMETER_ERROR Incorrect parameter values
REFERENCE_EXISTS