Menu

SAP Function Module ADDR_GET

Read an address without dialog

The Function Module ADDR_GET (Read an address without dialog) 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_GET
Short Text Read an address without dialog
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_GROUP LIKE ADRG-ADDR_GROUP Address group (see long text for special handling)
ADDRESS_SELECTION LIKE ADDR1_SEL Specification of an address (see long text)
IV_CURRENT_COMM_DATA TYPE AD_COMCURR SPACE Indicator: Current Status of Communication Data
READ_SADR_ONLY LIKE SZAD_FIELD-FLAG SPACE Read in table SADR only
READ_TEXTS LIKE SZAD_FIELD-FLAG SPACE Flag: Read texts (ADDRESS_TEXT)

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ADDRESS_ADDITIONAL_INFO LIKE AD1_FLAGS Additional communication data information
ADDRESS_TEXT LIKE ADDR1_TEXT Text for key fields (language - SY-LANGU)
ADDRESS_VALUE LIKE ADDR1_VAL Return data for an address
RETURNCODE LIKE SZAD_FIELD-RETURNCODE Return code: ' '(ok), 'I'nfo, 'W'arning, 'E'rror
SADR LIKE SADR Return the old address structure

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
ADDRESS_GROUPS LIKE ADAGROUPS Address groups to which the address is assigned
ERROR_TABLE LIKE ADDR_ERROR Table with errors, warnings, information
VERSIONS LIKE ADDR_VERS Table with international versions

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...)
PARAMETER_ERROR Incorrect parameter values
VERSION_NOT_EXIST International version of the address does not exist